Abuse filter management

From Test Wiki
Abuse Filter navigation (Home | Recent filter changes | Examine past edits | Abuse log)

Differences between versions

ItemVersion from 03:14, 28 June 2024 by Codename NoresteVersion from 04:59, 8 July 2024 by Codename Noreste
Basic information
Notes:
New filter inspired from filter 125 that catches bad words in English, only for this filter it catches bad words in Spanish. Testing as warn+tag only, may set this to disallow in the forseeable future. -- Codename Norte
New filter inspired from filter 125 that catches bad words in English, only for this filter it catches bad words in Spanish. Testing as warn+tag only, may set this to disallow in the forseeable future. -- Codename Noreste


Added the words "coño" and "un puter[oa]" in the string and [uü] in the middle of "(g|gu|w)ey", and removed [oa] in "jot[oa]". -- Codename Norte
Added the words "coño" and "un puter[oa]" in the string and [uü] in the middle of "(g|gu|w)ey", and removed [oa] in "jot[oa]". -- Codename Noreste


Updated regex, some bad words were removed and the filter was renamed to a shorter and more concise title. -- Codename Norte (4/4/24)
Updated regex, some bad words were removed and the filter was renamed to a shorter and more concise title. -- Codename Noreste(4/4/24)


Switched some groups to non-capture groups. -- Codename Norte (4/16/24)
Switched some groups to non-capture groups. -- Codename Noreste (4/16/24)


+ "cagar el palo" and some other variants added. — Codename Noreste, May 6 2024
+ "cagar el palo" and some other variants added. — Codename Noreste, May 6 2024


- "cagar el palo" until I can find better regex for that. Also, excluded userspace here. — Codename Noreste, June 27 2024
- "cagar el palo" until I can find better regex for that. Also, excluded userspace here. — Codename Noreste, June 27 2024
+ better regex of "cagar el palo" slang added, switched to added_lines irlike, and excluded bots. [Norte to Noreste changed as well in the notes.] -- Codename Noreste, July 7 2024
Filter conditions
Conditions:
!contains_any(user_groups, "autopatrol", "sysop") &
!contains_any(user_groups, "autopatrol", "sysop", "bot") &
page_namespace != 2 &
page_namespace != 2 &
(
(
     spanish_string := "cabr(?:ó|o)n|ching(?:a|ada|r|ue)|co(?:n|ñ)o|cul(?:o|er(o|a))|j(?:ó|o)de(?:te|r)|jot(?:o|a)|cog(?:e|er)|mierda|pendej(?:o|a)|pinche|pito|put(?:o|a|[oa]s)|verga";
     spanish_string := "cabr(?:ó|o)n|cag(?:[aá]ndo(?:[ms]e)?|[aá]r|o|ues) el palo|ching(?:a|ada|r|ue)|co(?:n|ñ)o|cul(?:o|er(o|a))|j(?:ó|o)de(?:te|r)|jot(?:o|a)|cog(?:e|er)|mierda|pendej(?:o|a)|pinche|pito|put(?:o|a|[oa]s)|verga";
      
      
     ccnorm(added_lines) irlike spanish_string &
     added_lines irlike spanish_string &
     !ccnorm(removed_lines) irlike spanish_string
     !removed_lines irlike spanish_string
)
)