Edit filter configuration

Differences between versions

ItemVersion from 00:09, 3 April 2019 by Suffusion of YellowVersion from 02:30, 25 January 2024 by Suffusion of Yellow
Basic information

Description:

(publicly viewable)
Accidental insertion of biomedical references
Possible VisualEditor citation error
Notes:
See [[Special:Permalink/890693713#Fake references]]. References with small PubMed IDs are being added to many articles unrelated to biology or medicine. It's probably user error, but tracking _all_ users for now in case it's a VisualEditor bug. Even tracking bots, because when someone tries to clean these up but doesn't do it correctly, AnomieBOT will swoop in and replace the reference. Don't forget to exclude bots if setting this to warn. --Soy 2 April 2019
See [[Special:Permalink/890693713#Fake references]]. References with small PubMed IDs are being added to many articles unrelated to biology or medicine. It's probably user error, but tracking _all_ users for now in case it's a VisualEditor bug. Even tracking bots, because when someone tries to clean these up but doesn't do it correctly, AnomieBOT will swoop in and replace the reference. Don't forget to exclude bots if setting this to warn. --Soy 2 April 2019
Also match http://dx.doi.org/10.14325/mississippi/9781496811325.003.0047; this is what pops up when you try to cite "citation needed"; see [[Special:PermaLink/1198685129#Catch attempts to insert 10.14325/mississippi/9781496811325.003.0047]]. --Suffusion of Yellow 02:27 25 Jan 2024
Filter conditions
Conditions:
(documentation)
equals_to_any(page_namespace, 0, 2, 118) &
equals_to_any(page_namespace, 0, 2, 118) &
(
(
     lowpmid := "pmid\s*=\s*\d\d?\b";
     err := "pmid\s*=\s*\d\d?\b|10\.14325/mississippi";
      
      
     added_lines rlike lowpmid &
     added_lines rlike err &
     !removed_lines rlike lowpmid
     !removed_lines rlike err
)
)