Version 1.1 of the definition has been released. Please help updating it, contribute translations, and help us with the design of logos and buttons to identify free cultural works and licenses!

MediaWiki:Titleblacklist: Difference between revisions

From Definition of Free Cultural Works
Jump to navigation Jump to search
(let’s try a simple regex first)
 
m (-wrong entry)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
# This is a title blacklist. Titles and users that match a regular expression here cannot be created.
# This is a title blacklist. Titles and users that match a regular expression here cannot be created.
# Use "#" for comments.
# Use "#" for comments.
# This is case insensitive by default
# This is case insensitive by default


User:[A-Z][a-z]{5,12}[0-9]{2,4} <autoconfirmed>
User:[A-Z][a-z]{4,12}[0-9]{2,5} <casesensitive>
User:[A-Z][a-z]{3}[0-9]{4}l‎‎ <casesensitive>
 
File:.* # no uploads at all for now
 
[❶-➓]
 
############################
# GENERIC FILE NAMES #
############################
# Common digital camera file names, based on [[commons:MediaWiki:Titleblacklist]]
# 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:SCREENSHOT_20\d{2}\-\d{2}\-\d{2}[\:\-_\.\d]+\.[a-z]{3,} <reupload|errmsg=titleblacklist-custom-filename> #Screenshot + date only
File:PICSART[\d\-_\~\.\(\)]+\.[a-z]{3,} #PicsArt
 
# 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|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>

Latest revision as of 13:51, 8 April 2017

# This is a title blacklist. Titles and users that match a regular expression here cannot be created.
# Use "#" for comments.
# This is case insensitive by default
User:[A-Z][a-z]{4,12}[0-9]{2,5} <casesensitive>
User:[A-Z][a-z]{3}[0-9]{4}l‎‎ <casesensitive>
File:.* # no uploads at all for now
[❶-➓]
############################
# GENERIC FILE NAMES #
############################

# Common digital camera file names, based on commons:MediaWiki:Titleblacklist
# 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:SCREENSHOT_20\d{2}\-\d{2}\-\d{2}[\:\-_\.\d]+\.[a-z]{3,} <reupload|errmsg=titleblacklist-custom-filename> #Screenshot + date only
File:PICSART[\d\-_\~\.\(\)]+\.[a-z]{3,} #PicsArt
# 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|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>