Edit filter configuration

Differences between versions

ItemVersion from 21:46, 15 December 2021 by Suffusion of YellowVersion from 22:52, 29 January 2022 by Suffusion of Yellow
Basic information
Notes:
Revision 1: A disabled copy of AbuseFilter 29, revision 2018-10-18T23:41:33 by MusikAnimal. ~ToBeFree 2020-05-14 20:50 UTC
Revision 1: A disabled copy of AbuseFilter 29, revision 2018-10-18T23:41:33 by MusikAnimal. ~ToBeFree 2020-05-14 20:50 UTC


Introduce "page_id > 63959834" and "user_name = page_first_contributor" restrictions. Increase user_editcount limit to 500. Add "afc|draft|g13" as suggested by Eumat114 and creffett. EFN discussion in progress: [[Special:PermanentLink/956698478#Prohibit_speedy_deletion_tag_removal_by_page_creator]] ~ToBeFree 2020-05-14 20:53 UTC
Introduce "page_id > 63959834" and "user_name = page_first_contributor" restrictions. Increase user_editcount limit to 500. Add "afc|draft|g13" as suggested by Eumat114 and creffett. EFN discussion in progress: [[Special:PermanentLink/956698478#Prohibit_speedy_deletion_tag_removal_by_page_creator]] ~ToBeFree 2020-05-14 20:53 UTC


Use extendedconfirmed detection code from [[Wikipedia:Edit_filter/Traps_and_pitfalls]] ~ToBeFree 2020-05-14 20:58 UTC
Use extendedconfirmed detection code from [[Wikipedia:Edit_filter/Traps_and_pitfalls]] ~ToBeFree 2020-05-14 20:58 UTC


Reduce comment to one informative line. Enable filter for logging. ~ToBeFree 2020-05-14 21:22 UTC
Reduce comment to one informative line. Enable filter for logging. ~ToBeFree 2020-05-14 21:22 UTC


page_id check just before "user_name = page_first_contributor":
page_id check just before "user_name = page_first_contributor":
     Of the last 1,001 actions, this filter has matched 0 (0%). On average, its run time is 0.24 ms, and it consumes 0.3 conditions of the condition limit.
     Of the last 1,001 actions, this filter has matched 0 (0%). On average, its run time is 0.24 ms, and it consumes 0.3 conditions of the condition limit.
page_id check at the top:
page_id check at the top:
     Of the last 1,098 actions, this filter has matched 0 (0%). On average, its run time is 0.23 ms, and it consumes 1 condition of the condition limit.
     Of the last 1,098 actions, this filter has matched 0 (0%). On average, its run time is 0.23 ms, and it consumes 1 condition of the condition limit.
page_id check in line 2:
page_id check in line 2:
     Of the last 1,015 actions, this filter has matched 0 (0%). On average, its run time is 0.24 ms, and it consumes 0.3 conditions of the condition limit.
     Of the last 1,015 actions, this filter has matched 0 (0%). On average, its run time is 0.24 ms, and it consumes 0.3 conditions of the condition limit.
Preferring page_id number comparison to complex regular expression. ~ToBeFree 2020-05-14 21:52 UTC
Preferring page_id number comparison to complex regular expression. ~ToBeFree 2020-05-14 21:52 UTC


No reason to skip extconfirmed and sysops, simplify regex a bit. --Q 24 May 2020
No reason to skip extconfirmed and sysops, simplify regex a bit. --Q 24 May 2020


Removing page_id check per discussion at WP:EFN (Special:Permalink/959138058) ~ToBeFree 27 May 2020 11:09 UTC
Removing page_id check per discussion at WP:EFN (Special:Permalink/959138058) ~ToBeFree 27 May 2020 11:09 UTC


Restoring EC/sysop exemption per discussion at WP:EFN (Special:Permalink/959156029)  ~ToBeFree 27 May 2020 11:58 UTC
Restoring EC/sysop exemption per discussion at WP:EFN (Special:Permalink/959156029)  ~ToBeFree 27 May 2020 11:58 UTC


Fix {{db-author}} exemption: was incorrectly checking for the non-existent {{db-auth}}. ~ToBeFree 28 May 2020 14:52 UTC
Fix {{db-author}} exemption: was incorrectly checking for the non-existent {{db-auth}}. ~ToBeFree 28 May 2020 14:52 UTC


Implement suggestion by Þjarkur (Special:Diff/1002748893) exempting A1,A3,G2,G6 and redirects to them; alphabetically sort exemption list; exempt ACSD and redirects to A7 from non-articles. ~ToBeFree 27 January 2021
Implement suggestion by Þjarkur (Special:Diff/1002748893) exempting A1,A3,G2,G6 and redirects to them; alphabetically sort exemption list; exempt ACSD and redirects to A7 from non-articles. ~ToBeFree 27 January 2021


Disallow per Special:Permalink/1003829048#1060_to_disallow and Wikipedia:Edit_filter_noticeboard/Archive_7#1060_to_disallow ~ToBeFree 31 January 2021
Disallow per Special:Permalink/1003829048#1060_to_disallow and Wikipedia:Edit_filter_noticeboard/Archive_7#1060_to_disallow ~ToBeFree 31 January 2021


Add exception for db-userreq. --Suffusion of Yellow 21:45 15 Dec 2021
Add exception for db-userreq. --Suffusion of Yellow 21:45 15 Dec 2021
Exclude pages with only one editor in the history. The only way that can happen is if the creator added the tag. Also exclude db-error. --Suffusion of Yellow 22:49 29 Jan 2022
Filter conditions
Conditions:
(documentation)
!contains_any(user_groups, "extendedconfirmed", "sysop", "bot") &
!contains_any(user_groups, "extendedconfirmed", "sysop", "bot") &
removed_lines irlike "{{db-[a-z0-9]{2,15}(\||}})|{{db\||{{db}}|{{speedy deletion-" &
removed_lines irlike "{{db-[a-z0-9]{2,15}(\||}})|{{db\||{{db}}|{{speedy deletion-" &
!(added_lines irlike "{{db-[a-z0-9]{2,15}(\||}})|{{db\||{{db}}|{{speedy deletion-") &
!(added_lines irlike "{{db-[a-z0-9]{2,15}(\||}})|{{db\||{{db}}|{{speedy deletion-") &
!(removed_lines irlike "{{db-(a(1|3|fc|uthor)|blank(ed)?|draft|g(2|6|7|13)|maintenance|noconte(nt|xt)|owner|r(2|edir(user|draft))|userreq|self|test|u(1|ser))(\||}})|<nowiki>{{(db|speedy deletion)|{{speedy deletion-auth") &
!(removed_lines irlike "{{db-(a(1|3|fc|uthor)|blank(ed)?|draft|error|g(2|6|7|13)|maintenance|noconte(nt|xt)|owner|r(2|edir(user|draft))|userreq|self|test|u(1|ser))(\||}})|<nowiki>{{(db|speedy deletion)|{{speedy deletion-auth") &
!( /* allow removal of ACSD from non-articles */
!( /* allow removal of ACSD from non-articles */
   (removed_lines irlike "{{db-(a[0-9]{1,2}|animal|band|club|inc|person|web)") &
   (removed_lines irlike "{{db-(a[0-9]{1,2}|animal|band|club|inc|person|web)") &
   (page_namespace != 0)
   (page_namespace != 0)
) &
) &
user_name = page_first_contributor
user_name = page_first_contributor &
length(page_recent_contributors) > 1