Board Thread:Support Requests - Getting Technical/@comment-1038387-20150531153640/@comment-452-20150531160441

Yeah, I use MediaWiki:Titleblacklist to block that and a bunch of other generic filenames.

Here's some of my favourites: ^File:Image\.  ^File:Images  ^File:Untitled  ^File:Unknown  ^File:Picture  ^File:Capture  ^File:Screen  ^File:.SCN  ^File:IMG  ^File:Ss_  ^File:.*_o\.  ^File:.*_n\.  ^File:Tumblr_  ^File:201.-  ^File:Header\.  ^File:Avatar\.  ^File:0 (1)\. <errmsg=Titleblacklist-forbidden-custom-generic|reupload> #unsure why people upload files with this name.

^File:[\S]{16,}$ <errmsg=Titleblacklist-forbidden-custom-nospaces|reupload> ^File:\d{1,4}px[-_] <errmsg=Titleblacklist-forbidden-custom-resized|reupload> ^File:.{0,6}\..{3,4}$ <errmsg=Titleblacklist-forbidden-custom-short|reupload> ^File:[0-9 ]*\..{3,4}$ <errmsg=Titleblacklist-forbidden-custom-generic|reupload> ^File:.*_\..{3,4}$ <errmsg=Titleblacklist-forbidden-custom-space|reupload> ^File:.*[^.]\.\..{3,4}$ <errmsg=Titleblacklist-forbidden-custom-space|reupload>
 * 1) Block filenames larger than 16 characters with no spaces
 * 2) This is mostly to block gibberish, and the choice of 16 is arbitrary.
 * 1) Block files resized by mediawiki (Example: when filename begins with "150px-")
 * 1) Block all filenames with fewer than 6 characters.
 * 1) Block filenames which are just numbers and spaces
 * 1) Block spaces at the end
 * 1) Block dots at the end

The errmsg field selects a specific message to display, so to use them you'd have to create them, such as mediawiki:Titleblacklist-forbidden-custom-generic

It seems odd that protecting the title didn't work though.