MediaWiki:Titleblacklist

From Wikimedia Commons, the free media repository
Jump to: navigation, search
###########################################################################
# DO NOT MODIFY THIS LIST UNLESS YOU HAVE A BASIC UNDERSTANDING OF REGEX! #
###########################################################################
# 
# This is a list of page titles for which certain actions are blocked.
#    - To disable an entry, *remove* it, don't comment it out.
# 
# For syntax guidelines see mw:Extension:Title blacklist
# see meta:Title blacklist for the global title blacklist of all wikis
# CHARACTERS THAT SHOULD NEVER APPEAR IN VALID TITLES
.*[\x{00A0}\x{1680}\x{180E}\x{2000}-\x{200B}\x{2028}\x{2029}\x{202F}\x{205F}\x{3000}].* <casesensitive|errmsg=titleblacklist-custom-hidden-char> # NBSP and other unusual spaces
.*[\x{202A}-\x{202E}].* <casesensitive|errmsg=titleblacklist-custom-hidden-char> # BiDi overrides
.*\p{Cc}.* <casesensitive|errmsg=titleblacklist-custom-hidden-char> # Control characters
.*\x{FEFF}.* <casesensitive|errmsg=titleblacklist-custom-hidden-char> # Byte order mark
.*\x{00AD}.* <casesensitive|errmsg=titleblacklist-custom-hidden-char> # Soft-hyphen
.*[\x{E000}-\x{F8FF}\x{FFF0}-\x{FFFF}].* <casesensitive|errmsg=titleblacklist-custom-hidden-char> # Surrogates, Private Use Area and Specials, including the Replacement Character U+FFFD
.*[^\0-\x{FFFF}].* <casesensitive|errmsg=titleblacklist-custom-hidden-char> # Very few characters outside the Basic Multilingual Plane are useful in titles
############################
# GENERIC FILE NAMES #
############################

# Common digital camera file names, based on list at http://diddly.com/random/about.html
# See also MediaWiki:Filename-prefix-blacklist, used to generate a warning on the upload form
File:DCP[\d\s]+\.JPG  <reupload|errmsg=titleblacklist-custom-filename>  # Kodak
File:DSC.[\d\s]+\.JPG  <reupload|errmsg=titleblacklist-custom-filename>  # w:Design rule for Camera File system (Nikon, Fuji, Polaroid)
File:MVC-?[\d\s]+\.JPG  <reupload|errmsg=titleblacklist-custom-filename>  # Sony Mavica
File:P[\dA-F][\d\s]+\.JPG  <reupload|errmsg=titleblacklist-custom-filename>  # Olympus, Kodak
File:I?MG[P_]?[\d\s]+\.JPG  <reupload|errmsg=titleblacklist-custom-filename>  # Canon, Pentax
File:1\d+-\d+(_IMG)?\.JPG  <reupload|errmsg=titleblacklist-custom-filename>  # Canon
File:(IM|EX)[\d\s]+\.JPG  <reupload|errmsg=titleblacklist-custom-filename>  # HP Photosmart
File:DC[\d\s]+[SML]\.JPG  <reupload|errmsg=titleblacklist-custom-filename>  # Kodak
File:PIC[T_]?[\d\s]+\.JPG  <reupload|errmsg=titleblacklist-custom-filename>  # Minolta
File:PANA[\d\s]+\.JPG  <reupload|errmsg=titleblacklist-custom-filename>  # Panasonic
File:DUW[\d\s]+\.JPG  <reupload|errmsg=titleblacklist-custom-filename>  # some mobile phones
File:CIMG[\d\s]+\.JPG  <reupload|errmsg=titleblacklist-custom-filename>  # Casio
File:JD[\d\s]+\.JPG  <reupload|errmsg=titleblacklist-custom-filename>  # Jenoptik
File:SDC[\d\s]+\.JPG  <reupload|errmsg=titleblacklist-custom-filename>  # Samsung
File:DVC[\d\s]+\.JPG  <reupload|errmsg=titleblacklist-custom-filename>  # DoCoMo
File:SANY[\d\s]+\.JPG  <reupload|errmsg=titleblacklist-custom-filename>  # Sanyo
File:SAM[\d\s]+\.JPG  <reupload|errmsg=titleblacklist-custom-filename>  # Samsung
File:\d{4,}(_\d{6,}){2,}_(A|B|N|O|S)(?:_\(\d\))?\.\w+  <reupload|errmsg=titleblacklist-custom-filename>  #Facebook 
File:TUMBLR_(?=\d*[a-z])(?=\d*[a-z])[a-z\d]+(?:_[a-z\d]{2})?_\d+\.[a-z]{3,}  <reupload|errmsg=titleblacklist-custom-filename>  #Tumblr
File:(?=\d*[a-f]+\d+[a-f]+)(?=[a-f]*\d+[a-f]+\d+)[a-f\d]{10,}\.\w+ <reupload|errmsg=titleblacklist-custom-filename>  #Random assortment of hexidecimal characters (Regex written conservatively)
File:(.)\1+\.\w+  <reupload|errmsg=titleblacklist-custom-filename>  #File name with the same character repeated
# Other common patterns, add more as needed
File:\d{9}[A-Z]{6}_[A-Z]{2}\P{L}*\.\w+  <reupload|errmsg=titleblacklist-custom-filename>  # some image hosting site?
File:\d{8,}_[\dA-F]{10}(_[A-Z])?\P{L}*\.\w+  <reupload|errmsg=titleblacklist-custom-filename>  # http://www.flickr.com/services/api/misc.urls.html
File:([\dA-F]{8}-)?[\dA-F]{4}-[\dA-F]{4}-[\dA-F]{4}-?[\dA-F]{12}.*  <reupload|errmsg=titleblacklist-custom-filename>  # w:UUID (with some variations included)
File:([SML]|\d+)_[\dA-F]{10,}(-\d+-|_?(\w\w?|full))?\.[^.]+  <reupload|errmsg=titleblacklist-custom-filename>  # L_9173c67eae58edc35ba7f2df08a7d5c6.jpg, 2421601587_abaf4e3e81.jpg, 1_bf38bcd9c5512a5ab99ca2219a4b1e2f_full.gif, etc.
File:AT[AEIMQUYcgkosw048]AAA[A-D][-_A-Za-z0-9]+\.jpg  <reupload | errmsg=titleblacklist-custom-filename>  # see Special:PermanentLink/17806425#File ATgAAA...
# File names with no letters, except for some meaningless prefix:
File:\P{L}*\.[^.]+ <reupload|errmsg=titleblacklist-custom-filename>
File:\P{L}*(small|medium|large)\)?\.[^.]+ <reupload|errmsg=titleblacklist-custom-filename>
File:(Untitled|No[-_]?name|Unbenannt|Picture|Pict?|Image[mn]?|Img|Immagine|Photo|Foto|Bild|Scan|Panorama|Sin_título)\P{L}*\.\w+ <reupload|errmsg=titleblacklist-custom-filename>
File:(January|Jan|February|Febr?|March|Mar|April|Apr|May|June?|July?|August|Aug|September|Sept?|October|Oct|November|Nov|December|Dec)\P{L}*\.JPE?G  <reupload|errmsg=titleblacklist-custom-filename>

# SVG-rendered-as-PNG file names, with special error message
File:\d+px-.*\.(?i:svg)\.png <reupload|casesensitive|errmsg=titleblacklist-custom-SVG-thumbnail>
# Thumbnail file names, with special error message:
File:\d+px-.* <reupload|casesensitive|errmsg=titleblacklist-custom-thumbnail>

# File names with double apostrophes, with special error message:
File:.*'{2,}.* <reupload|errmsg=titleblacklist-custom-double-apostrophe>

# Very basic rule to prevent some file pages without media
# See the fate of File:A or File:Audio and related "removals" by CommonsDelinker
File:[\w\d\s]+ <reupload|errmsg=titleblacklist-custom-no-fileextension>

################################
# END GENERIC FILE NAMES #
################################
# ATTACK TITLES AND/OR PAGE MOVE VANDALISM TARGETS
.*(?:suck|his|your|my) penis.* <moveonly>
.*\bnimp\.org.*
.*va[gġ]ina.* <newaccountonly>
.*coċk.* <newaccountonly>
.*Lawl,.* <moveonly>
.*h[iíl1]t(?-i:[LlI1])[e3]r.* <newaccountonly>
.*[ií1]d[ií1][o0]t.* <newaccountonly>
HAGG[EA]R[^[:alpha:]]*
.*[НHΗ][EЕΕ]R[MМΜ][YΥ].* <casesensitive>
.*[НHΗ][AΑΑ]GG[EЕΕ]R.* <casesensitive>
.*[НH]\W*[AΑΑ]\W*G\W*G\W*[EЕΕ]\W*R(?!ston).*
.*\bHERMY.* <casesensitive>
.*? on wheels
(?:.*?\/)?index\.php(?:\/.*)?
.*(?:http|https|ftp|mailto|torrent|ed2k)\:\/\/[\w\d:@\-]+\.[\w\d\-]+.*
.*http:\/\/.*
.*?\/wiki\/.*
.*\bis\s+(?:a|an)\s+(?:dick|cunt|fag|bitch|shit|fuck|fucker|loser|ass|gay|ghey|moron|retard|stupid|slut|pa?edo).* <autoconfirmed>
 # USERNAMES
 # merged from MediaWiki:Usernameblacklist
.*kanonkas.* <newaccountonly>
.*fr[iíl]tz(?: *(?:g\b|urin)|(?-i:G)).* <newaccountonly>
.*\b(nigg(er|a)|bitch|asshole|bastard|shit|fu[c(k]k)\b.* <newaccountonly>
.*\b(penis|vagina|cunt|fellatio|cunnilingus)\b.* <newaccountonly>
.*\b(molests|masturbates|sucks|incest|slut|rape[sd])\b.* <newaccountonly>
.*\bva[gġ]ina\b.* <newaccountonly>
.*\bcoċk\b.* <newaccountonly>
.*h[iíl1]t(?-i:[LlI1])[e3]r.* <newaccountonly>
.*[ií1]d[ií1][o0]t.* <newaccountonly>
.*(\bs|S)(?i:crotum).* <newaccountonly>
.*(\bo|O)(?i:rgasm).* <newaccountonly>
.*\.(com|org|co\.uk|net|info)\b.* <newaccountonly>
.*((wiki([mp]edia(?!n)|books|quote|versity|source|news|species)|wiktionary)) <newaccountonly>
.*\b(admin|sysop|moderator|arbitrator|checkuser|oversight).* <newaccountonly>
.*(admin|sysop|moderator|arbitrator|checkuser|oversight)\b.* <newaccountonly>
.*(jimbo wales).* <newaccountonly>
.*(\bo|O)(n wheels).* <newaccountonly>
.*(gra(w|vv|ww)p).* <newaccountonly>
.*卍.* <newaccountonly>
.*卐.* <newaccountonly>
!.* <newaccountonly>  # Ilmari Karonen thinks this is right, but it might need a "User:" prefix
.*!!.* <newaccountonly> 
.{40,} <newaccountonly> # No usernames longer than 40 characters - this includes the "User:" prefix!
.*PMDrive1061.* <newaccountonly>
.*Jermboy.* <newaccountonly>
.*Yieldtheguy.* <newaccountonly>
.*elcobbola.* <newaccountonly> # User:Ich Pilot
# GERMAN CUSSWORDS
.*ka[ck]k.* <newaccountonly>
.*[s$]che?(?-i:[Iiíl](?:ß|[Ss$]{2})).* <newaccountonly>
.*[a4]rsch[lI].* <newaccountonly>
.*w[iíl1](?:chs|x{1,3})[e3]?r.* <newaccountonly>
.*f[iíl]ck.* <newaccountonly>
.*hurens[oÖö].* <newaccountonly>
# MISCELLANEOUS
Template:.*\/LANGCODE # people love to create this subpage (linked to from Template:TemplateBox)
.*\sprefix:.* # search from inputboxes (f.e. in the village pumps)
# Prevent accidental creation of pages with a double Category: prefix
Category:Category:.* <errmsg=titleblacklist-custom-double-category-prefix>
# EDITNOTICES
Template:Editnotices\/.* <noedit|errmsg=titleblacklist-custom-editnotice>