Edit filter configuration

Differences between versions

ItemVersion from 20:55, 23 March 2009 by Aaron SchulzVersion from 21:54, 23 March 2009 by Brandon
Basic information
Notes:
Checking the regex against the old_wikitext seems to worked, false positives are more rare and fixable now.
Checking the regex against the old_wikitext seems to worked, false positives are more rare and fixable now.


There is no reason to disable the whole filter for false positives, remove the offending word or add a word boundary check (\b).
There is no reason to disable the whole filter for false positives, remove the offending word or add a word boundary check (\b).


Reenabling disallow. - BJ
Reenabling disallow. - BJ


Add "faggot", used by Fang for personal attacks on Versus22.  --NW
Add "faggot", used by Fang for personal attacks on Versus22.  --NW


"fag" matches "faggot" because it has no \b. -BJ
"fag" matches "faggot" because it has no \b. -BJ


Added a few simple words - VoA
Added a few simple words - VoA
Merging. -BJ
Filter conditions
Conditions:
(documentation)
!("autoconfirmed" in USER_GROUPS)  
!("autoconfirmed" in USER_GROUPS)  
& (article_namespace == 0)  
& (article_namespace == 0)  
& (lcase(added_lines) rlike "\b(?<!it)(is|\'s|are|\'re|u\s*r\b)\s+(a|an|)\s*(fuck(ing|)|(u|ü)ber|ultra|very|)[ -]*((ass|arse)(hole|)\b|bastard|fucktard|cockmonger|douchebag|fagmaster|fuckface|bitch|cock|cunt|d(1|i)ck|fag|gay|ghey|hoe?\b|loser|moron|(mother|)fucker|nigg(er|a)|pa?edo(phile|)|prick|(re|fuck)tard|shit|slut|stupid|tosser|twat|wanker|whore)")
& (lcase(added_lines) rlike "\b(?<!it)(is|\'s|are|\'re|u\s*r\b)\s+(a|an|)\s*(fuck(ing|)|(u|ü)ber|ultra|very|)[ -]*((ass|arse)(hole|)\b|bastard|bitch|cock|cunt|d(1|i)ck|douchefag|gay|ghey|hoe?\b|loser|moron|(mother|)fuck(er|face)|nigg(er|a)|pa?edo(phile|)|prick|(re|fuck)tard|shit|slut|stupid|tosser|twat|wanker|whore)")
& !(lcase(old_wikitext) rlike "\b(?<!it)(is|\'s|are|\'re|u\s*r\b)\s+(a|an|)\s*(fuck(ing|)|(u|ü)ber|ultra|very|)[ -]*((ass|arse)(hole|)\b|bastard|bitch|cock|cunt|d(1|i)ck|fag|gay|ghey|hoe?\b|loser|moron|(mother|)fucker|nigg(er|a)|pa?edo(phile|)|prick|(re|fuck)tard|shit|slut|stupid|tosser|twat|wanker|whore)")
& !(lcase(old_wikitext) rlike "\b(?<!it)(is|\'s|are|\'re|u\s*r\b)\s+(a|an|)\s*(fuck(ing|)|(u|ü)ber|ultra|very|)[ -]*((ass|arse)(hole|)\b|bastard|bitch|cock|cunt|d(1|i)ck|douchefag|gay|ghey|hoe?\b|loser|moron|(mother|)fuck(er|face)|nigg(er|a)|pa?edo(phile|)|prick|(re|fuck)tard|shit|slut|stupid|tosser|twat|wanker|whore)")