Edit filter configuration

Filter editorFilter history

Differences between versions

ItemVersion from 21:25, 9 November 2023 by Suffusion of YellowVersion from 03:50, 15 May 2024 by EggRoll97
Basic information
Notes:
request, see http://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Edit_filter&oldid=406214327#Filter_this.3F ... log only since this is a shot in the dark and may need lots of work.  -- Soap
request, see http://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Edit_filter&oldid=406214327#Filter_this.3F ... log only since this is a shot in the dark and may need lots of work.  -- Soap
:Disabling for now, but this has potential.  -- Soap
:Disabling for now, but this has potential.  -- Soap


Optimize and re-enable. Log only. -Sole Soul
Optimize and re-enable. Log only. -Sole Soul


Removed loser - waaay too many FPs. --Reaper 2012-05-08
Removed loser - waaay too many FPs. --Reaper 2012-05-08


FP fix. --Reaper 2012-05-22
FP fix. --Reaper 2012-05-22


+1. --Reaper 2012-10-07
+1. --Reaper 2012-10-07


FP, Chinese words can begin with "shit". - KoH
FP, Chinese words can begin with "shit". - KoH


+"yolo swag". --Reaper 2013-11-16
+"yolo swag". --Reaper 2013-11-16


Making private; pl change if unnecessary -- Wifione 2014-23-11
Making private; pl change if unnecessary -- Wifione 2014-23-11


lots of tweaks, case-insensitivity, lessen condition count; was tested thoroughly with Filter 1 ~MA 2015.03.02
lots of tweaks, case-insensitivity, lessen condition count; was tested thoroughly with Filter 1 ~MA 2015.03.02


Added \b after CUM to avoid catching "cumulus", etc. --Jackmcbarn 5/10/2015
Added \b after CUM to avoid catching "cumulus", etc. --Jackmcbarn 5/10/2015


added \b before "gay" to avoid catching "Bungay" RMF 2015-7-4
added \b before "gay" to avoid catching "Bungay" RMF 2015-7-4
Tiny tweak to potentially speed up matching "suck"
Tiny tweak to potentially speed up matching "suck"


What is the last line for:
What is the last line for:
"!removed_lines rlike "\w\*\*?\w""?
"!removed_lines rlike "\w\*\*?\w""?


Optimized.  RF 20150817
Optimized.  RF 20150817


relaxing the comparison with edit_delta in order to capture more hits, will actively monitor log and check for false positives ~MA 2015.08.21
relaxing the comparison with edit_delta in order to capture more hits, will actively monitor log and check for false positives ~MA 2015.08.21


Remove CUM, too many FPs even with double \b tags due to the Latin meaning. I can't think of a way to keep it in - even CUMMING is an FP magnet. - KoH 20170113
Remove CUM, too many FPs even with double \b tags due to the Latin meaning. I can't think of a way to keep it in - even CUMMING is an FP magnet. - KoH 20170113


\bCUNTS?\b due to FPs. - KoH 20170115
\bCUNTS?\b due to FPs. - KoH 20170115


PENIS\b -> P( )?ENIS\b due to an evasion --TNT 04/07/2017
PENIS\b -> P( )?ENIS\b due to an evasion --TNT 04/07/2017


Try to ignore links. -Cyp 2017-11-28
Try to ignore links. -Cyp 2017-11-28


DICK alone has too many FPs. - KoH 20181103
DICK alone has too many FPs. - KoH 20181103


Make public as a generic vandalism filter. -Galo 2019.01.30
Make public as a generic vandalism filter. -Galo 2019.01.30


Yolo swag is covered by 614; use standard check of not confirmed rather than edit count less than 30; move old_wikitext check as slowest to last; update deprecated; narrow "\bslut" to \b to reduce FPs. -Galo 2019.02.22
Yolo swag is covered by 614; use standard check of not confirmed rather than edit count less than 30; move old_wikitext check as slowest to last; update deprecated; narrow "\bslut" to \b to reduce FPs. -Galo 2019.02.22


Allow "ass'n" (association) per FP --Suffusion of Yellow 22:00 24 Oct 2019
Allow "ass'n" (association) per FP --Suffusion of Yellow 22:00 24 Oct 2019


Exclude "gay rights"; change suggested by Tamzin. --Suffusion of Yellow 23:22 11 Feb 2022
Exclude "gay rights"; change suggested by Tamzin. --Suffusion of Yellow 23:22 11 Feb 2022


Exclude "gay pride"; suggested by [[User:PhantomTech]] --Suffusion of Yellow 19:27 18 Jul 2022
Exclude "gay pride"; suggested by [[User:PhantomTech]] --Suffusion of Yellow 19:27 18 Jul 2022


Count piped links such as [[Kick-Ass (film)|Kick-Ass]] as only one word. Tested against last 2000 hits, and roughly 50% FPs. --Suffusion of Yellow 20:48 10 May 2023
Count piped links such as [[Kick-Ass (film)|Kick-Ass]] as only one word. Tested against last 2000 hits, and roughly 50% FPs. --Suffusion of Yellow 20:48 10 May 2023


Exclude "gay times", suggested by Sideswipe9th. --Ingenuity 13:39 24 June 2023
Exclude "gay times", suggested by Sideswipe9th. --Ingenuity 13:39 24 June 2023


Exclude categories per FPs. Suggested by EggRoll97;  only one group of FNs in the last 1000 hits, and those were caught by 384 anyway. --Suffusion of Yellow 21:25 9 Nov 2023
Exclude categories per FPs. Suggested by EggRoll97;  only one group of FNs in the last 1000 hits, and those were caught by 384 anyway. --Suffusion of Yellow 21:25 9 Nov 2023
Exclude "gay couple", suggested by Codename Noreste. -EggRoll97 14 May 2024
Filter conditions
Conditions:
(documentation)
!"confirmed" in user_groups &
!"confirmed" in user_groups &
page_namespace == 0 & (
page_namespace == 0 & (
   bad_word := "(?i)\bANUS\b|\bASS(H|\b)(?!'N)|\bBAS(D|T)ARD|\bBITCH|\bBOOBS?\b|BLOW\s+JOBS?|\bBUTTHOLE\b|\bCOCK\b|\bCRAP\b|\bCUNTS?\b|\bDICK(S|HEAD)\b|DILDOS?\b|\bDUMB\b|DOUCHE|\bFAG(G|\b)|FAT\s+ASS|FUC?K(?:ED|ER|ER|IN|ING)?S?\b|\bGAY(?![- ](MARRIAGE|RIGHTS|PRIDE|TIMES))(?:ER|EST|ASS)?\b|\bMAST[EU]RBAT|\bNIGG|\bPA?EDO(?:PH|F)ILE|P\s?ENIS\b|\bPUSSY\b|\bRAP(?:E|ING)\b|\bRETARD\b|\bSLUT(?:S|TY)?\b|\bSHIT\b|\bSUCK(?:|S|ING|ED)\b|\bTITS\b|VAGINA|\bWHORE|YOLO\s+SWAG";
   bad_word := "(?i)\bANUS\b|\bASS(H|\b)(?!'N)|\bBAS(D|T)ARD|\bBITCH|\bBOOBS?\b|BLOW\s+JOBS?|\bBUTTHOLE\b|\bCOCK\b|\bCRAP\b|\bCUNTS?\b|\bDICK(S|HEAD)\b|DILDOS?\b|\bDUMB\b|DOUCHE|\bFAG(G|\b)|FAT\s+ASS|FUC?K(?:ED|ER|ER|IN|ING)?S?\b|\bGAY(?![- ](COUPLE|MARRIAGE|RIGHTS|PRIDE|TIMES))(?:ER|EST|ASS)?\b|\bMAST[EU]RBAT|\bNIGG|\bPA?EDO(?:PH|F)ILE|P\s?ENIS\b|\bPUSSY\b|\bRAP(?:E|ING)\b|\bRETARD\b|\bSLUT(?:S|TY)?\b|\bSHIT\b|\bSUCK(?:|S|ING|ED)\b|\bTITS\b|VAGINA|\bWHORE|YOLO\s+SWAG";
   bad_count := rcount(bad_word, added_lines);
   bad_count := rcount(bad_word, added_lines);
   bad_count > 1 & (
   bad_count > 1 & (
     real_bad_count := bad_count
     real_bad_count := bad_count
         - rcount(bad_word, added_links)
         - rcount(bad_word, added_links)
         - rcount("\[\[[^\]|]*(?:" + bad_word + ")[^\]|]*\|[^\]]*(?:" + bad_word + ")", added_lines)
         - rcount("\[\[[^\]|]*(?:" + bad_word + ")[^\]|]*\|[^\]]*(?:" + bad_word + ")", added_lines)
         - rcount("\[\[Category:[^\]|]*(?:" + bad_word + ")", added_lines);
         - rcount("\[\[Category:[^\]|]*(?:" + bad_word + ")", added_lines);
     real_bad_count > 1 &
     real_bad_count > 1 &
     real_bad_count * 200 > edit_delta &
     real_bad_count * 200 > edit_delta &
     real_bad_count * 1500 > length(rmwhitespace(added_lines))
     real_bad_count * 1500 > length(rmwhitespace(added_lines))
   ) &
   ) &


   !(removed_lines rlike "\w\*\*?\w") &
   !(removed_lines rlike "\w\*\*?\w") &
   !( ( page_title + old_wikitext ) irlike bad_word)
   !( ( page_title + old_wikitext ) irlike bad_word)
)
)
Older change
Retrieved from "https://en.wikipedia.org/wiki/Special:AbuseFilter/history/380/diff/prev/32485"