Edit filter configuration

Differences between versions

ItemVersion from 20:08, 20 November 2021 by Suffusion of YellowVersion from 06:09, 1 April 2023 by Galobtter
Basic information
Notes:
See [[Special:PermaLink/955406297#1056]]. A private filter was catching a surprising number of self-citations. Might be worth tagging or warning. --Suffusion of Yellow 20:26 8 May 2020
See [[Special:PermaLink/955406297#1056]]. A private filter was catching a surprising number of self-citations. Might be worth tagging or warning. --Suffusion of Yellow 20:26 8 May 2020


Warn and tag. - KoH 2020-05-27
Warn and tag. - KoH 2020-05-27


Exclude rollback/undo/scripts, like the other sourcing-related filters. --Suffusion of Yellow 20:08 20 Nov 2021
Exclude rollback/undo/scripts, like the other sourcing-related filters. --Suffusion of Yellow 20:08 20 Nov 2021
Fix FPs where the url isn't Wikipedia; only the referrer. Doesn't cause any real false negatives going back 1600 hits. --Galobtter 06:08 1 Apr 2023
Filter conditions
Conditions:
(documentation)
!contains_any(user_groups, "extendedconfirmed", "sysop", "bot") &
!contains_any(user_groups, "extendedconfirmed", "sysop", "bot") &
equals_to_any(page_namespace, 0, 118) &
equals_to_any(page_namespace, 0, 118) &
(
(
     selfcite := "<\s*ref[^\/]*>[^<]*wikipedia\.org";
     selfcite := "<\s*ref[^\/]*>[^<?]*wikipedia\.org";
      
      
     added_lines irlike selfcite &
     added_lines irlike selfcite &
     !(removed_lines irlike selfcite) &
     !(removed_lines irlike selfcite) &
     !(summary irlike "^(?:revert|restore|rv|undid)|AFCH|reFill")
     !(summary irlike "^(?:revert|restore|rv|undid)|AFCH|reFill")
)
)