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
File:MV5B[\w@]{44}\._V1[\w\,]+\.JPG <reupload|errmsg=titleblacklist-custom-filename>  #IMDB
File:SCREEN_?SHOT_20\d{2}\-\d{2}\-\d{2}\b.+\.[a-z]{3,} <reupload|errmsg=titleblacklist-custom-filename> #Screenshot + date only
File:PICSART[\d\-_\~\.\(\)]+\.[a-z]{3,} <reupload|errmsg=titleblacklist-custom-filename> #PicsArt
File:WP_\d+[\b_].*\.[a-z]{3,} <reupload|errmsg=titleblacklist-custom-filename> #Wordpress? (see File:WP 20151219 13 15 33 Pro.jpg)
File:FB_IMG_\d+(?:_\(\d\))?\.\w+ <reupload|errmsg=titleblacklist-custom-filename> #Facebook?
File:Scan\.\w+ <reupload|errmsg=titleblacklist-custom-filename> #see Special:PermanentLink/174106334#Blacklisting all Scandinavians
File:WIN_\d{8}\b.*\.JPG <reupload|errmsg=titleblacklist-custom-filename> #cf File:WIN 20150406 172511.JPG, File:WIN 20151104 21 28 53 Pro.jpg
File:C360_\d.*\.jpg <reupload|errmsg=titleblacklist-custom-filename> #cf File:C360 2011-07-16 18-49-22.jpg
File:IMG_[\da-f]+\.[a-z]{3,} <reupload|errmsg=titleblacklist-custom-filename> #cf File:Img d34897e5da02159707d5bc4429735170.jpg
File:HPIM\d+\.JPG <reupload|errmsg=titleblacklist-custom-filename> #HP
File:S\-l\d+\.[a-z]{3,} <reupload|errmsg=titleblacklist-custom-filename> #eBay; cf. File:S-l1600.jpg 
File:照片.* <reupload|errmsg=titleblacklist-custom-filename> #Generic photos
File:(无|未|無)(标|標)(题|題).* <reupload|errmsg=titleblacklist-custom-filename> #Untitled files, Chinese
File:(屏|螢)幕快照.* <reupload|errmsg=titleblacklist-custom-filename> #Screenshot
File:QQ图片.* <reupload|errmsg=titleblacklist-custom-filename> #QQ
File:QQ截图.* <reupload|errmsg=titleblacklist-custom-filename> #QQ
File:PhotoGrid \d.+ #cf File:PhotoGrid 1450629306990.jpg
File:InstagramCapture_.+ #cf File:InstagramCapture 01fcdcfd-3513-4b07-8153-927af16ce415 jpg(1).jpg
File:BeautyPlus\b.* #cf File:BeautyPlus 20160310194052 save.jpg
File:TMPDOODLE[^a-z].* #UC Browser? cf File:TMPDOODLE1464581950379.jpg
File:AdobePhotoshopExpress[^a-z].* #File:AdobePhotoshopExpress 6d000acf7433445aa8ce36b2145dc61d.jpg
File:Snapchat\-\d.+ # File:Snapchat-6374224575409848347.jpg
# 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:Vlcsnap-\d{4}-\d{2}-\d{2}-[\dhms]+\.[^.]+  <reupload|errmsg=titleblacklist-custom-filename>  # VLC screenshots
# 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[\W\d_]|Panorama|Sin_título|Capture)_?\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.*
.*Lawl,.* <moveonly>
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>
# MISCELLANEOUS
Template:.*\/LANGCODE # people love to create this subpage (linked to from Template:TemplateBox)
.*\sprefix:.* # search from inputboxes (f.e. in the village pumps)
Commons:Picture of the Year\/2015\/R2\/v\/.* <noedit> # disable R2
# 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>
# Spams in Korean. (Please contact me before removing this entry. — regards, Revi 13:22, 19 December 2015 (UTC))
.*카지노.*
.*바카라.*
# i18n protections (used in the interface)
(Template|Translations):(Upload_Help_notice\/i18n\/.*|Abusefilter-warning-baduploads\/.*) <noedit|autoconfirmed|errmsg=Semiprotectedpagewarning>
(Template|Translations):Welcome\/i18n\/.* <noedit|autoconfirmed|errmsg=Semiprotectedpagewarning>