Edit filter configuration

Differences between versions

ItemVersion from 19:29, 25 March 2022 by Suffusion of YellowVersion from 22:24, 25 April 2024 by EggRoll97
Basic information
Notes:
Requested by [[User:Toddst1]]. Warn users adding unreferenced entries to day-of-the-year pages, per [[WP:DOYCITE]]? --Suffusion of Yellow 22:07 6 Mar 2021
Requested by [[User:Toddst1]]. Warn users adding unreferenced entries to day-of-the-year pages, per [[WP:DOYCITE]]? --Suffusion of Yellow 22:07 6 Mar 2021


Exclude pages like [[January 1970]] (different citing rules) as well as odd redirects like [[February 30]] --Suffusion of Yellow 20:32 7 Mar 2021
Exclude pages like [[January 1970]] (different citing rules) as well as odd redirects like [[February 30]] --Suffusion of Yellow 20:32 7 Mar 2021


Changes to reduce FPs: Exclude bots, edits that add a template, and edits that touch existing lines and don't add a four-digit number. --Suffusion of Yellow 23:49 28 Jan 2022
Changes to reduce FPs: Exclude bots, edits that add a template, and edits that touch existing lines and don't add a four-digit number. --Suffusion of Yellow 23:49 28 Jan 2022


Exclude reverts. --Suffusion of Yellow 23:54 28 Jan 2022
Exclude reverts. --Suffusion of Yellow 23:54 28 Jan 2022


Update per FPs; don't match if adding a four-digit number to an existing line. --Suffusion of Yellow 21:34 7 Mar 2022
Update per FPs; don't match if adding a four-digit number to an existing line. --Suffusion of Yellow 21:34 7 Mar 2022


Set to warn, no objections at [[Special:PermaLink/1079184771#Set filter 1129 to warn?]]. --Suffusion of Yellow 19:29 25 Mar 2022
Set to warn, no objections at [[Special:PermaLink/1079184771#Set filter 1129 to warn?]]. --Suffusion of Yellow 19:29 25 Mar 2022
Exclude sysops, only filter trip by a sysop in the past few months has been a false positive. -EggRoll97 25 Apr 2024
Filter conditions
Conditions:
(documentation)
page_prefixedtitle rlike "^(January|February|March|April|May|June|July|August|September|October|November|December) \d\d?$" &
page_prefixedtitle rlike "^(January|February|March|April|May|June|July|August|September|October|November|December) \d\d?$" &
(
(
     ref := "(?i)<ref|http|\{\{";
     ref := "(?i)<ref|http|\{\{";
      
      
     length(added_Lines) > length(removed_lines) &
     length(added_Lines) > length(removed_lines) &
     rcount(ref, added_lines) <= rcount(ref, removed_lines) &
     rcount(ref, added_lines) <= rcount(ref, removed_lines) &
     (
     (
         rmwhitespace(removed_lines) == "" |
         rmwhitespace(removed_lines) == "" |
         rcount("(?m)^.*\d{4}", added_lines) > rcount("(?m)^.*\d{4}", removed_lines)
         rcount("(?m)^.*\d{4}", added_lines) > rcount("(?m)^.*\d{4}", removed_lines)
     )
     )
) &
) &
old_wikitext contains "Category:Days of the year" &
old_wikitext contains "Category:Days of the year" &
!(summary irlike "^(?:revert|restore|rv|undid)") &
!(summary irlike "^(?:revert|restore|rv|undid)") &
!("bot" in user_groups)
!contains_any(user_groups, "sysop", "bot")