MediaWiki talk:Titleblacklist

From Wikimedia Commons, the free media repository
Jump to: navigation, search

This page consists of regular expressions, each on a separate line, for example:

Foo <autoconfirmed|noedit|errmsg=blacklisted-testpage> 
[Bb]ar #No one should create page about it

There is no need to use "^" at the beginning, and "$" at the end, these are added automatically.

Each entry may also contain optional attributes, enclosed in <> and divided by |

  • autoconfirmed — only non-autoconfirmed users are unable to create/upload/move such pages
  • casesensitive — don't ignore case when checking title for being blacklisted
  • errmsg — the name of the message that should be displayed instead of standard
  • moveonly — forbid moves but allow ordinary creation
  • newaccountonly — forbid creation of matching usernames, but allow page creation
  • noedit — users are also unable to edit this page
  • reupload — allow reuploads of existing blacklisted files

When the action is blocked, one of the following messages is displayed together with the filter row (as $1): titleblacklist-forbidden-edit, titleblacklist-forbidden-move, titleblacklist-forbidden-new-account or titleblacklist-forbidden-upload.

There is also MediaWiki:Titlewhitelist and a global title blacklist.


From Commons:Administrators'_noticeboard/Blocks_and_protections#User:US_National_Archives_bot, it seems that this blocks ALLCAPS names that should be allowed. Thus please remove the following:

File:[0-9 ]*([A-Z][0-9 ]*){30,}\.\w+ <reupload|casesensitive|errmsg=titleblacklist-custom-filename>

Cheers. --  Docu  at 21:37, 6 November 2011 (UTC)

It does seem to be very odd that the blacklist excludes filenames that are in capitals, given that they aren't inherently a copyright or legal problem. If the blacklist does indeed block all caps filenames, then please could this be fixed? If there is an issue with this, then please could the problem be explained? Thanks. Mike Peel (talk) 21:53, 6 November 2011 (UTC)
The blacklist is not intended solely to prevent copyright or other legal problems. It also stops generic filenames (such as those autogenerated by digital cameras), filenames with characters that can cause technical problems, and filenames known to be used by persistent vandals among other things. Blocking long all caps filenames generally makes sense, as they're very unlikely to be appropriate. LX (talk, contribs) 14:04, 7 November 2011 (UTC)
I have removed this rule, after spending a lot of time to figure out which regex was blocking certain apparently-fine upload. If this is readded, it should have its own message, not MediaWiki:Titleblacklist-custom-filename. Saying "your filename is not descriptive" when that's not the problem, only causes frustration. Platonides (talk) 19:21, 30 September 2012 (UTC)
Well actually the English version of MediaWiki:Titleblacklist-custom-filename does mention ALLCAPS (but translations don't, AFAIK). I made MediaWiki:Titleblacklist-custom-ALLCAPS but don't know how to add it; and the idea I had to fall back to MediaWiki:Titleblacklist-custom-filename if a translation doesn't exist doesn't seem to work. Maybe it's better to just update the translations of MediaWiki:Titleblacklist-custom-filename... I don't think we should allow ALLCAPS filenames. Rd232 (talk) 20:09, 30 September 2012 (UTC)

Facebook files[edit]


Would it be possible to block Facebook files? File:165663 185111001523259 100000730806800 501074 1584325 n.jpg Yann (talk) 10:26, 7 November 2011 (UTC)

Also files from, examples:

File:0 1778d 29570a45 orig.jpg
File:0 21e6 7487c18c XL.jpg
File:0 606f0 dc7548be XXXL.jpg
File:0 8b8ab b8c45f3d XXL.jpeg

NVO (talk) 03:56, 12 December 2011 (UTC)

username length restriction[edit]

Pictogram voting info.svg Info There is a disccusion about this blacklist's username length restriction at Commons:Administrators'_noticeboard#SUL login + titleblacklist problem. Please join. --Saibo (Δ) 22:58, 9 January 2012 (UTC)

Commons:Administrators'_noticeboard/Archive_32#SUL_login_.2B_titleblacklist_problem was inconclusive. As the problem has just come up again, I've matched the en.wp length restriction (40 characters, including User:). This should really be enforced in Meta's blacklist, not local projects - and the "User" prefix should not be included in the count, as it varies by project language. Rd232 (talk) 14:48, 17 May 2012 (UTC)