EN
EN
RU
×
EN
EN
RU
×
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
Contribute
Help
Learn to edit
Community portal
Recent changes
Upload file
Languages
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Viewing filter 9: Personal attacks by unregistered or new user
Help
Home
Recent filter changes
Examine past edits
Edit filter log
English
Tools
Tools
move to sidebar
hide
Actions
General
Upload file
Special pages
Printable version
Get shortened URL
Download QR code
Editing filter 9 (see also a
graph
of recent actions)
Filter parameters
Filter ID:
9
Description:
(publicly viewable)
Filter hits:
41,354 hits
Conditions:
(
documentation
)
!("confirmed" in user_groups) & page_namespace == 0 & ( bad_words :="\n[^\x22^\r^\n]*\b(?<!it|man)(is|are|\'re|u\s*r\b)\s+(a|an|)\s*(fuck(ing|)|(u|ü)ber|ultra|very|)[ -]*(\b(ass|arse)(hole|)\b|bastard|co[ck](sucker|s)?\b|[ck]unt|douche|fag|ghey|lo[zs]er|kike|(mother)?f+[uc]+k+(e+r+|f+a+c+e+|t+a+r+d+|a+)|n+i+gg+(e+r+|a+)|p+a?e+d+o+((f|p+h+)i+l+e+)?|prick\b|s+h+i+t+|s+l+u+t+|tosser|twat|wanker|whore\b|b+i+t+c+h+|cabr(ó|o)n|culo|idiot|moron|pendejo|penis\b|put(a|o)\b)"; lcase(added_lines) rlike bad_words) & !(lcase(removed_lines) rlike bad_words )
!("confirmed" in user_groups) & page_namespace == 0 & ( bad_words :="\n[^\x22^\r^\n]*\b(?<!it|man)(is|are|\'re|u\s*r\b)\s+(a|an|)\s*(fuck(ing|)|(u|ü)ber|ultra|very|)[ -]*(\b(ass|arse)(hole|)\b|bastard|co[ck](sucker|s)?\b|[ck]unt|douche|fag|ghey|lo[zs]er|kike|(mother)?f+[uc]+k+(e+r+|f+a+c+e+|t+a+r+d+|a+)|n+i+gg+(e+r+|a+)|p+a?e+d+o+((f|p+h+)i+l+e+)?|prick\b|s+h+i+t+|s+l+u+t+|tosser|twat|wanker|whore\b|b+i+t+c+h+|cabr(ó|o)n|culo|idiot|moron|pendejo|penis\b|put(a|o)\b)"; lcase(added_lines) rlike bad_words) & !(lcase(removed_lines) rlike bad_words )
Notes:
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). Reenabling disallow. - BJ Add "faggot", used by Fang for personal attacks on Versus22. --NW "fag" matches "faggot" because it has no \b. -BJ Added a few simple words - VoA Merging. -BJ Splitting filter for new users leaving this one for IPs. -BJ Remove "bitch", it'll still warn in filter 97. -BJ Making a few words warn only. -BJ Merged with filter 97. Ruslik Changed name of the filter. - Ruslik Fixed error. - Ruslik Removed some unnecessary regexes remove retarded, some false positives - Cenarium FP: Exempting cases where the attack appears in quotes. - KoH Changing to one regex based on code KoH provided. - Evil saltine Added \b after whore (to exclude whorehouse). ~~~~ Simplified code. - Ruslik Added \b after d(i|l)ck and put(a|o). - Ruslik Added negative lookbehind for "man" due to false positive "a man's penis" -- Shirik 20 Feb 2010 -1 "Dick" seems like it's going to cause too many false positives. -- Shirik 23 Feb 2010 rm "gay", there must be another filter that could track this ... will work on it -- Soap Added a few, added "+"'s so that things like "BBIIIIITTTCCCH" are matched. -Tim1357 rm butt, bum, seem to be matching "X's butt" etc -- Soap remove 's, re-add if you've got time to handle the false positives -- Soap Simplified and turned public. Temporarily in tag mode to check for FPs. -Sole Soul Disabled. Few hits that are mostly trigger other filters. -Sole Soul unregistering tag "possible vandalism" - Cen tweaked in case we ever need it. RF
Flags:
Hide details of this filter from public view
Enable this filter
Mark as deleted
Filter last modified:
19:48, 18 October 2018
by
MusikAnimal
(
talk
|
contribs
)
History:
View this filter's history
Tools:
Export this filter to another wiki
{"data":{"rules":"!(\"confirmed\" in user_groups) \u0026\r\npage_namespace == 0 \u0026 (\r\n bad_words :=\"\\n[^\\x22^\\r^\\n]*\\b(?\u003C!it|man)(is|are|\\'re|u\\s*r\\b)\\s+(a|an|)\\s*(fuck(ing|)|(u|\u00fc)ber|ultra|very|)[ -]*(\\b(ass|arse)(hole|)\\b|bastard|co[ck](sucker|s)?\\b|[ck]unt|douche|fag|ghey|lo[zs]er|kike|(mother)?f+[uc]+k+(e+r+|f+a+c+e+|t+a+r+d+|a+)|n+i+gg+(e+r+|a+)|p+a?e+d+o+((f|p+h+)i+l+e+)?|prick\\b|s+h+i+t+|s+l+u+t+|tosser|twat|wanker|whore\\b|b+i+t+c+h+|cabr(\u00f3|o)n|culo|idiot|moron|pendejo|penis\\b|put(a|o)\\b)\";\r\n\r\n lcase(added_lines) rlike bad_words) \u0026\r\n !(lcase(removed_lines) rlike bad_words\r\n)","name":"Personal attacks by unregistered or new user","comments":"Checking the regex against the old_wikitext seems to worked, false positives are more rare and fixable now.\r\n\r\nThere is no reason to disable the whole filter for false positives, remove the offending word or add a word boundary check (\\b).\r\n\r\nReenabling disallow. - BJ\r\n\r\nAdd \"faggot\", used by Fang for personal attacks on Versus22. --NW\r\n\r\n\"fag\" matches \"faggot\" because it has no \\b. -BJ\r\n\r\nAdded a few simple words - VoA\r\n\r\nMerging. -BJ\r\nSplitting filter for new users leaving this one for IPs. -BJ\r\nRemove \"bitch\", it'll still warn in filter 97. -BJ\r\nMaking a few words warn only. -BJ\r\n\r\nMerged with filter 97. Ruslik\r\nChanged name of the filter. - Ruslik\r\nFixed error. - Ruslik\r\nRemoved some unnecessary regexes\r\n\r\nremove retarded, some false positives - Cenarium\r\n\r\nFP: Exempting cases where the attack appears in quotes. - KoH\r\n\r\nChanging to one regex based on code KoH provided. - Evil saltine\r\n\r\nAdded \\b after whore (to exclude whorehouse). ~~~~\r\n\r\nSimplified code. - Ruslik\r\n\r\nAdded \\b after d(i|l)ck and put(a|o). - Ruslik\r\nAdded negative lookbehind for \"man\" due to false positive \"a man's penis\" -- Shirik 20 Feb 2010\r\n\r\n-1 \"Dick\" seems like it's going to cause too many false positives. -- Shirik 23 Feb 2010\r\nrm \"gay\", there must be another filter that could track this ... will work on it -- Soap\r\nAdded a few, added \"+\"'s so that things like \"BBIIIIITTTCCCH\" are matched. -Tim1357\r\nrm butt, bum, seem to be matching \"X's butt\" etc -- Soap\r\nremove 's, re-add if you've got time to handle the false positives -- Soap\r\n\r\nSimplified and turned public. Temporarily in tag mode to check for FPs. -Sole Soul\r\n\r\nDisabled. Few hits that are mostly trigger other filters. -Sole Soul\r\n\r\nunregistering tag \"possible vandalism\" - Cen\r\ntweaked in case we ever need it. RF","group":"default","actions":[],"enabled":false,"deleted":false,"hidden":false,"global":false},"actions":[]}
Actions to take when matched
Trigger actions only if the user trips a rate limit
Number of actions to allow:
Period of time (in seconds):
Group throttle by:
user
See
the documentation on mediawiki.org
.
Trigger these actions after giving the user a warning
System message to use for warning:
abusefilter-warning
Other message
Page name of other message:
(without "MediaWiki:" prefix)
Show/Hide preview of selected message
Prevent the user from performing the action in question
System message to use for disallowing:
abusefilter-disallowed
Other message
Page name of other message:
(without "MediaWiki:" prefix)
Show/Hide preview of selected message
Revoke the user's autoconfirmed status
Tag the edit in contributions lists and page histories
Tags to apply:
(see
Wikipedia:Tags
for use and formatting)
(please don't rename a tag here, see link above)
(one per line, no commas, publicly visible)
Toggle limited content width