Jump to content

Edit filter configuration

Differences between versions

ItemVersion from 14:27, 29 March 2009 by BrandonVersion from 09:39, 30 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
Merging. -BJ
Splitting filter for new users leaving this one for IPs. -BJ
Splitting filter for new users leaving this one for IPs. -BJ
Remove "bitch", it'll still warn in filter 97. -BJ
Remove "bitch", it'll still warn in filter 97. -BJ
Making a few words warn only. -BJ
Filter conditions
Conditions:
(documentation)
/* Filter 9 - Generated: 2009-03-30 09:39:11 UTC */
!("user" in USER_GROUPS)  
!("user" 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|cock|cunt|d(1|i)ck|douche|fag|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(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|cock(sucker|s|)\b|cunt|d(1|i)ck|douche|fag|ghey|loser|kike|(mother|)fuck(er|face)|nigg(er|a)|pa?edo(phile|)|prick|(re|fuck)tard|shit|slut|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|cock|cunt|d(1|i)ck|douche|fag|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|cock(sucker|s|)\b|cunt|d(1|i)ck|douche|fag|ghey|loser|kike|(mother|)fuck(er|face)|nigg(er|a)|pa?edo(phile|)|prick|(re|fuck)tard|shit|slut|tosser|twat|wanker|whore)")