Edit filter configuration

Filter editorFilter history

Differences between versions

ItemVersion from 20:50, 2 April 2023 by GalobtterVersion from 21:51, 24 April 2024 by Suffusion of Yellow
Basic information
Notes:
Split from test filter [[Special:AbuseFilter/2]], comments there:
Split from test filter [[Special:AbuseFilter/2]], comments there:
----
----
Testing generic catching of repeated phrases. Unsure of efficiency, but we'll find out! With thanks to some folks from IRC for helping craft and test variations (digitok & Me-me) --ProcrastinatingReader 14:19 24 Aug 2021
Testing generic catching of repeated phrases. Unsure of efficiency, but we'll find out! With thanks to some folks from IRC for helping craft and test variations (digitok & Me-me) --ProcrastinatingReader 14:19 24 Aug 2021


Remove ccnorm for now to prevent some table FPs. Will still be more table issues; still thinking how to get around them. --ProcrastinatingReader 15:55 24 Aug 2021
Remove ccnorm for now to prevent some table FPs. Will still be more table issues; still thinking how to get around them. --ProcrastinatingReader 15:55 24 Aug 2021


Tweak for better table support. --ProcrastinatingReader 16:31 24 Aug 2021
Tweak for better table support. --ProcrastinatingReader 16:31 24 Aug 2021
---- (proc @ 23:44 28 Aug 2021)
---- (proc @ 23:44 28 Aug 2021)


Disable throttle and making public per [[Wikipedia:Edit_filter_noticeboard#Suitability_of_1163_->_disallow]]. --ProcrastinatingReader 23:54 10 Nov 2021
Disable throttle and making public per [[Wikipedia:Edit_filter_noticeboard#Suitability_of_1163_->_disallow]]. --ProcrastinatingReader 23:54 10 Nov 2021


Try exclude some table-related FPs --ProcrastinatingReader 14:57 16 Nov 2021
Try exclude some table-related FPs --ProcrastinatingReader 14:57 16 Nov 2021


rv change - introduced too many false positives --ProcrastinatingReader 14:59 16 Nov 2021
rv change - introduced too many false positives --ProcrastinatingReader 14:59 16 Nov 2021


retry change with adjustment --ProcrastinatingReader 15:14 16 Nov 2021
retry change with adjustment --ProcrastinatingReader 15:14 16 Nov 2021


TODO: probably try to exclude anything that seems like it's just formatting (<br>s, bullets, lots of |), and also adjustments to data if possible (changing numerical data) --ProcrastinatingReader 15:19 16 Nov 2021
TODO: probably try to exclude anything that seems like it's just formatting (<br>s, bullets, lots of |), and also adjustments to data if possible (changing numerical data) --ProcrastinatingReader 15:19 16 Nov 2021


Might need some more tuning to be disallowable, but definitely good enough filter (>80-90% edits problematic) to tag the edits as possible vandalism. --Galobtter 05:32 1 Apr 2023
Might need some more tuning to be disallowable, but definitely good enough filter (>80-90% edits problematic) to tag the edits as possible vandalism. --Galobtter 05:32 1 Apr 2023


Exclude table additions/some modifications and some template additions. --Galobtter 18:27 2 Apr 2023
Exclude table additions/some modifications and some template additions. --Galobtter 18:27 2 Apr 2023


Also exclude code. --Galobtter 20:48 2 Apr 2023
Also exclude code. --Galobtter 20:48 2 Apr 2023
Attempt to reduce FPs so this can be set to disallow. Require at least one letter (in any script). Avoid lists. Also require that some repeated text appear in new_wikitext; if it doesn't, the edit was to multiple lines that got crammed together in added_lines. --Suffusion of Yellow 21:49 24 Apr 2024
Filter conditions
Conditions:
(documentation)
!("confirmed" in user_groups) &
!("confirmed" in user_groups) &
page_namespace == 0 &
page_namespace == 0 &
(
(
     exp := "(?i)(?<!\S)([^\s|]++(?: [^\s|]++)*?)(?:\s++\1){2}(?!\S)";
     exp := "(?i)(?<!\S)([^\s|]++(?: [^\s|]++)*?)(?:\s++\1){2}(?!\S)";
     matched := get_matches(exp, added_lines);
     matched := get_matches(exp, added_lines);
     matched[0] &
     matched[0] &
     !(removed_lines irlike exp) &
     !(removed_lines irlike exp) &
     !(matched irlike "^[!|{]") & /* exclude some tables and templates */
     new_wikitext irlike ("(?:" + rescape(matched[1]) + "\s*){3}") & /* Avoid edits to multiple non-contiguous lines */
    matched[1] irlike "\p{L}" & /* Exclude numeric data */
  !(matched[1] irlike "^[!|{*#]") & /* Exclude some lists, tables and templates */
     !(added_lines irlike "syntaxhighlight|\{\|")
     !(added_lines irlike "syntaxhighlight|\{\|")
)
)
Older change
Retrieved from "https://en.wikipedia.org/wiki/Special:AbuseFilter/history/1163/diff/prev/32247"