Edit filter configuration

Differences between versions

ItemVersion from 23:07, 20 July 2023 by Red-tailed hawkVersion from 03:06, 12 December 2023 by Suffusion of Yellow
Basic information
Notes:
A long string of letters and/or numbers may be indicative of vandalism. - KoH
A long string of letters and/or numbers may be indicative of vandalism. - KoH


FP: Adding links. - KoH
FP: Adding links. - KoH


Made the string length allowed before tagging longer, as it's catching URLs..  -Versageek
Made the string length allowed before tagging longer, as it's catching URLs..  -Versageek


Hope this check for http is better... - KoH
Hope this check for http is better... - KoH


Also check https. - KoH
Also check https. - KoH


Virtually everything triggering this hits another filter, and this uses a lot of conditions, disabled, consider merging in to 135. -Prodego
Virtually everything triggering this hits another filter, and this uses a lot of conditions, disabled, consider merging in to 135. -Prodego
-ok -P
-ok -P
Turn to disallow. -Sole Soul
Turn to disallow. -Sole Soul


I can think of legitimate uses for 50+ character strings. From experience, in a warn-tag filter, a warning already blocks out over 75% of the vandalism. - KoH
I can think of legitimate uses for 50+ character strings. From experience, in a warn-tag filter, a warning already blocks out over 75% of the vandalism. - KoH


False positives are associated with the word "word". -Sole Soul
False positives are associated with the word "word". -Sole Soul


Optimize for conditions. RF 20150724
Optimize for conditions. RF 20150724


Adding the word "image" per false positive. Od Mishehu 20171227
Adding the word "image" per false positive. Od Mishehu 20171227


Use "\p{L}\p{N}" to catch unicode character repetition; make exceptions slightly more focused. -G 2019-02-25
Use "\p{L}\p{N}" to catch unicode character repetition; make exceptions slightly more focused. -G 2019-02-25
Disallow per [[Special:PermaLink/885595932#Setting_Filter_231_to_disallow?]] -G 2019-03-01
Disallow per [[Special:PermaLink/885595932#Setting_Filter_231_to_disallow?]] -G 2019-03-01


Exempt CJK chars due to lack of spacing in those languages. - KoH 2022-07-16
Exempt CJK chars due to lack of spacing in those languages. - KoH 2022-07-16


Simplify regex. --Suffusion of Yellow 23:14 25 Nov 2022
Simplify regex. --Suffusion of Yellow 23:14 25 Nov 2022


So that we don't trigger on items in "math" tags, which may reasonable be long numerical strings without spaces ([[Special:AbuseLog/35551832]]) -- RTH (23:07, 2023 July 20)
So that we don't trigger on items in "math" tags, which may reasonable be long numerical strings without spaces ([[Special:AbuseLog/35551832]]) -- RTH (23:07, 2023 July 20)
Also check added_links; most of the time this covered by the "https?://" check but not if the link is from a template, e.g. [[Special:AbuseLog/36540662]]. --Suffusion of Yellow 03:06 12 Dec 2023
Filter conditions
Conditions:
(documentation)
!("confirmed" in user_groups) &
!("confirmed" in user_groups) &
page_namespace == 0 &
page_namespace == 0 &
(
(
   stringy := "[\p{L}\p{N}]{50}";
   stringy := "[\p{L}\p{N}]{50}";
   added_lines rlike stringy &
   added_lines rlike stringy &
   !(removed_lines rlike stringy) &
   !(removed_lines rlike stringy) &
   !(added_lines irlike ( "(?:file\s*:|image\s*:|https?://)[^\s]*?"+stringy+"|word|sequence|number|digit|data:image|[\\x{4E00}-\\x{9FFF}]|math" ) )
   !(added_lines irlike ( "(?:file\s*:|image\s*:|https?://)[^\s]*?"+stringy+"|word|sequence|number|digit|data:image|[\\x{4E00}-\\x{9FFF}]|math" ) ) &
  !(added_links rlike stringy)
)
)