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
# 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> # NBSP and other unusual spaces
.*[\x{202A}-\x{202E}].* <casesensitive> # BiDi overrides
.*\p{Cc}.* <casesensitive> # Control characters
.*\x{FEFF}.* <casesensitive> # Byte order mark
.*\x{00AD}.* <casesensitive> # Soft-hyphen
.*[^\0-\x{FFFF}].* <casesensitive> # Very few characters outside the Basic Multilingual Plane are useful in titles
############################
# GENERIC IMAGE FILE NAMES #
############################

# Common digital cameral 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+\.JPG  <reupload|errmsg=senselessimagename>  # Kodak
File:DSC.\d+\.JPG  <reupload|errmsg=senselessimagename>  # w:Design rule for Camera File system (Nikon, Fuji, Polaroid)
File:MVC-?\d+\.JPG  <reupload|errmsg=senselessimagename>  # Sony Mavica
File:P[\dA-F]\d+\.JPG  <reupload|errmsg=senselessimagename>  # Olympus, Kodak
File:I?MG[P_]?\d+\.JPG  <reupload|errmsg=senselessimagename>  # Canon, Pentax
File:1\d+-\d+(_IMG)?\.JPG  <reupload|errmsg=senselessimagename>  # Canon
File:(IM|EX)\d+\.JPG  <reupload|errmsg=senselessimagename>  # HP Photosmart
File:DC\d+[SML]\.JPG  <reupload|errmsg=senselessimagename>  # Kodak
File:PIC[T_]?\d+\.JPG  <reupload|errmsg=senselessimagename>  # Minolta
File:PANA\d+\.JPG  <reupload|errmsg=senselessimagename>  # Panasonic
File:DUW\d+\.JPG  <reupload|errmsg=senselessimagename>  # some mobile phones
File:CIMG\d+\.JPG  <reupload|errmsg=senselessimagename>  # Casio
File:JD\d+\.JPG  <reupload|errmsg=senselessimagename>  # Jenoptik
File:SDC\d+\.JPG  <reupload|errmsg=senselessimagename>  # Samsung

# At most three letters of potentially meaningful text (currently disabled, too many false positives):
# File:\P{L}*((Ima?ge?|Pict?(ure)?|Media|Photo|Foto|Bild|Scan)\P{L}+)?(\p{L}\P{L}*){0,3}((orig|copy|thumb|small)\P{L}*)?\.[^.]+  <reupload|errmsg=titleblacklist-custom-filename>

# No more than two contiguous letters (raising to three would be tempting, but needs more testing):
# Temporarily disabled (see MediaWiki talk:Titleblacklist#Two contiguous letters)
# File:\P{L}*((Ima?ge?|Pict?(ure)?|Media|Photo|Foto|Bild|Scan)\P{L}+)?(\p{L}{1,2}\P{L}+)*((\p{L}{1,2}|orig|copy|thumb|small)\P{L}*)?\.[^.]+  <reupload|errmsg=titleblacklist-custom-filename>

# Month name followed by no more than two contiguous letters, JPEG suffix (be careful if you edit this, easy to trigger false positives):
File:\P{L}*(January|Jan|February|Febr?|March|Mar|April|Apr|May|June?|July?|August|Aug|September|Sept?|October|Oct|November|Nov|December|Dec)(\P{L}+\p{L}{1,2})*\P{L}*\.JPE?G  <reupload|errmsg=titleblacklist-custom-filename>
 
# 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>  # another image hosting site?
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:\P{L}*No\P{L}*name\P{L}*\.[^.]+  <reupload|errmsg=titleblacklist-custom-filename>  # Noname2.jpg
File:AT[AEIMQUYcgkosw048]AAA[A-D][-_A-Za-z0-9]+\.jpg  <reupload | errmsg=titleblacklist-custom-filename>  # see Commons:Village pump#File ATgAAA... (Jan 20, 2009, full link in edit comment)

# Numbers only in filename (redundant to "no more than two contiguous letters" above, but may be worth keeping as a backup):
File:[\d\s]+\.\w+ <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>

################################
# END GENERIC IMAGE 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
.*kanonkas.* <newaccountonly>
.*fr[iíl]tz(?: *(?:g\b|urin)|(?-i:G)).* <newaccountonly>
# 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>
# FINISHED VOTINGS
Commons:Picture of the Year 2008\/File:.* <noedit> # 1st stage finished
# MISCELLANEOUS
.*\/LANGCODE # people love to create this subpage