Abuse filter management

Abuse Filter navigation (Home | Recent filter changes | Examine past edits | Abuse log)
Jump to navigation Jump to search

Differences between versions

ItemVersion from 19:35, 16 March 2024 by JustarandomamericanVersion from 04:45, 22 April 2024 by Codename Noreste
Basic information
Notes:
Test filter imported from the English Wikipedia, see Filter 384 there, log only for now. -Justa
Test filter imported from the English Wikipedia, see Filter 384 there, log only for now. -Justa


Enable warn and tag, and remove page namespace condition. -Justa
Enable warn and tag, and remove page namespace condition. -Justa


Exempt sysops -Justa
Exempt sysops -Justa
Tailor to Test Wiki -Justa
Tailor to Test Wiki -Justa
Most of the conditions, excluding the string, are removed since this is not Wikipedia, and I've reduced the edit_delta to 20 (for newer users) as well as merged the condition that excludes autopatrolled users and admins into one. -- Codename Norte, April 21 2024
Filter conditions
Conditions:
edit_delta < 250 &
edit_delta < 20 &
!("autopatrol"|"sysop" in user_groups) & (
!contains_any(user_groups, "autopatrol", "sysop") &
     dick_name := "\bDick('s\s\p{L}\p{Ll}|(,?\s(and|&))?[\s-]\p{Lu}[\p{Ll}.])|\b(\p{Lu}(\p{Ll}+|\.)?(,?\s(and|&))?|[DM]r\.)[\s-]Dicks?\b|\b(first|last|author|given|surname)(\d*(-?link)?|-?link\d*)?\s*=\s*(Dick|Cock)s?\b|DICK'S|{{\s*[Ss]ortname\s*\|\s*Dicks?\s*\|";
(
     bad_word := "\b(?:ass|arse|butt)\s?holes?\b(?!\Wsurfer)|\b(?:dumb|(?:f|ph)at+(?:est)?)\s*a(?:ss|\$\$)\b|\barse\b|bitch(?!\"? magazine|itra)|\bcock(?:s?|sucker)\b|\bdick(?:sucker|head)?s?\b|cuck(?:|s|er|ing)\b|\bcunts?\b|\bdildo|douche|f(?:u|v)ck|nigg(?:er|ah*)|p(?:a|e|ae)do(?:f|ph)il|fag(?:\b|g[aio]t)|(?<!top)penis(?!ton|i|cola)|\bcrap(?:py)?\b|\bslut\b|whore|\b(?:bull|dog|horse)?shite?(?:hole|s|ti?er|t?y|t?ing)?\b|\bblah\b|\bpuss(?!ycat|yfoot|y Riot)a?y|\bidiot\b|(?<!\bit )(?<!\bthat )\bwas here\b|\blol\b|(?:[asdfghjkl;]\s*){30}|\!{10,}";


     !(summary irlike "und(id|o)|\brv[vt]?\b|revert") & (
     added_lines irlike bad_word &
        bad_word := "\b(?:ass|arse|butt)\s?holes?\b(?!\Wsurfer)|\b(?:dumb|(?:f|ph)at+(?:est)?)\s*a(?:ss|\$\$)\b|\barse\b|bitch(?!\"? magazine|itra)|\bcock(?:s?|sucker)\b|\bdick(?:sucker|head)?s?\b|cuck(?:|s|er|ing)\b|\bcunts?\b|\bdildo|douche|f(?:u|v)ck|nigg(?:er|ah*)|p(?:a|e|ae)do(?:f|ph)il|fag(?:\b|g[aio]t)|(?<!top)penis(?!ton|i|cola)|\bcrap(?:py)?\b|\bslut\b|whore|\b(?:bull|dog|horse)?shite?(?:hole|s|ti?er|t?y|t?ing)?\b|\bblah\b|\bpuss(?!ycat|yfoot|y Riot)a?y|\bidiot\b|(?<!\bit )(?<!\bthat )\bwas here\b|\blol\b|(?:[asdfghjkl;]\s*){30}|\!{10,}";
    !removed_lines irlike bad_word
 
        added_lines irlike bad_word &
        !(added_lines rlike dick_name) &
        !(removed_lines irlike (bad_word + "|\w\*{1,4}\w")) &
        !((page_title + "\n" + added_links) irlike bad_word) &
        !(str_replace(new_wikitext, "==", "\x01") irlike ("\x01.*(?:songs|singles|track list(?:ing)?|albums|discography).*\x01[^\x01]*(?:" + bad_word + ")"))
    )
)
)