Jump to content

MediaWiki talk:Titleblacklist

Add topic
From Wikimedia Commons, the free media repository
Latest comment: 1 day ago by Least Action in topic Proposed additions

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
  • 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.

SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 1 day and sections whose most recent comment is older than 365 days. For the archive overview, see here.

KakaoTalk

[edit]

please add one to block titles like File:KakaoTalk 20200702 111529628.jpg.--RZuo (talk) 11:59, 22 September 2022 (UTC)--RZuo (talk) 23:08, 10 June 2023 (UTC)Reply

Long overdue but done at revision 1135375333. — regards, Revi 13:33, 3 January 2026 (UTC)Reply

Kyocera

[edit]

I was wondering if it would be possible to add File:KIMG[\d\s]+\.JPG <reupload|errmsg=titleblacklist-custom-filename> to the title blacklist as Kyocera appears to use that as their default file names. I am not sure what other phone providers other than Kyocera use KIMG followed by numbers in their default file names… -GeniusWorkbench4622 12:46, 10 November 2024 (UTC)Reply

Sounds good to me (237 such files at the moment), ✓ Done --Lucas Werkmeister (talk) 14:58, 30 November 2025 (UTC)Reply

Redundant

[edit]

We don’t need brackets around the “erect <autoconfirmed>” line of “Attack titles.” 2604:3D08:9476:BE00:8465:7547:E620:76E7 01:42, 24 March 2025 (UTC)Reply

Also, in the line with a bunch of swear words, we don’t need f****r, as it’s already covered by f**k. 2604:3D08:9476:BE00:8465:7547:E620:76E7 01:47, 24 March 2025 (UTC)Reply
As far as I understand the regex syntax, both of these suggestions are correct; pinging @Yann who added the former pattern last year, and @Kanonkas who added the latter pattern thirteen years ago (:D), in case they want to comment. Otherwise I’ll probably make both edits later. Lucas Werkmeister (talk) 14:50, 30 November 2025 (UTC)Reply
✓ Done Lucas Werkmeister (talk) 19:12, 3 December 2025 (UTC)Reply

false positive?

[edit]

phab redirected me here.

for me Screenshot 2025-11-08 at 22-17-16 Liste von Burgen und Schlössern im Kanton Solothurn – Wikipedia is a completely legal name and I was helpless what additional information I should have added. Maybe this is a false positive? --Herzi Pinki (talk) 22:27, 8 November 2025 (UTC)Reply

Looks like it's matching File:SCREEN_?SHOT_[\d٠١٢٣٤٥٦٧٨٩۰۱۲۳۴۵۶۷۸۹\-]{8,}\b.+\.[a-z]{3,} <reupload|errmsg=titleblacklist-custom-filename> #Screenshot + date only; e.g., File:Screenshot ۲۰۲۲۱۲۲۰-۱۱۵۲۲۵ Instagram.jpg, File:Screenshot ٢٠٢٣٠٨١٠ ٠٧٤٦٤٥ Lite.jpg; Arabic has two (!) different unicodes for the same number per en:List of Unicode characters#Arabic, which, based on the examples, is intentionally capturing text after the word "screenshot" and the date. Not really sure what the best option here is -- maybe a minimum text length after the date? File:SCREEN_?SHOT_[\d٠١٢٣٤٥٦٧٨٩۰۱۲۳۴۵۶۷۸۹\-]{8,}\b.{1,50}\.[a-z]{3,} for a 50 char limit, though I've got no idea what a good number would be. Suppose we'd have to try it and find out. AntiCompositeNumber (they/them) (talk) 00:40, 9 November 2025 (UTC)Reply
@AntiCompositeNumber: A minimum text length sounds reasonable to me; 50 characters as a minimum feels somewhat long to me, but on the other hand, a lot of the time we’d be counting suffixes like at 22-17-16 in there (which we probably can’t feasibly exclude in the regex). But how do we implement this in the title blacklist? The pattern you posted would match titles we want to allow – are you suggesting we add this to MediaWiki:Titlewhitelist? Lucas Werkmeister (talk) 14:45, 30 November 2025 (UTC)Reply

Ereq

[edit]

{{Edit request}} Kindly prevent files like the (copyvio in this case) File:6002eb7aee54e eeaa57b4-c458-4f1c-85b1-e55525bab9cb-5158560.webp JayCubby (talk) 21:11, 18 November 2025 (UTC)Reply

@JayCubby: What’s the pattern that should be added? The middle of the file name contains a UUID (8-4-4-4-12 hex digits), but I’m not sure what to make of the extra parts at the beginning and end; do those have a fixed length? Any idea where that file name came from? Lucas Werkmeister (talk) 13:45, 19 November 2025 (UTC)Reply
@Lucas Werkmeister https://france3-regions.franceinfo.fr/normandie/meteo-alerte-neige-au-verglas-normandie-1915810.html
--> https://france3-regions.franceinfo.fr/image/6r2Qt4qZKwnyHfIZcYyzrhDD8WM/479x640/regions/2021/01/16/6002eb7aee54e_eeaa57b4-c458-4f1c-85b1-e55525bab9cb-5158560.jpg JayCubby (talk) 13:46, 19 November 2025 (UTC)Reply
A search for intitle:/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/ shows that plenty of USGov files seem to include UUIDs in their titles as internal catalog references, so I’m not convinced it’s a good idea to block these. We could of course block titles that have only UUIDs and nothing else except the file name extension, but that wouldn’t actually have blocked the example above. Lucas Werkmeister (talk) 21:52, 19 November 2025 (UTC)Reply
 Not done, or at least not done by me, as it’s not clear which pattern should be blocked, and blocking anything with a UUID in it feels like overkill to me. (If another admin wants to fulfill this edit request, I won’t mind, but I’m deactivating the template in order to reduce the number of entries in the maintenance category.) --Lucas Werkmeister (talk) 14:32, 30 November 2025 (UTC)Reply

Please allow "Haggersta"

[edit]

{{Edit request}} Trying to rename File:Geograph-6207299-by-David-Dixon.jpg to "File:A971 near Haggersta (geograph 6207299 by David Dixon).jpg" got stopped by .*[НH]\W*[AΑΑ]\W*G\W*G\W*[EЕΕ]\W*R(?!(ston|ty)).*. It looks like that regexp already allows "Haggerston" and "Haggerty". Please could "Haggersta" be added to allow for file names mentioning Category:Haggersta? That would require adding sta| before ston. --bjh21 (talk) 12:57, 3 January 2026 (UTC)Reply

Done at revision 1141128360. — regards, Revi 13:37, 3 January 2026 (UTC)Reply

escape vertical bars

[edit]

{{Edit request}}

can someone please change

[[MediaWiki talk:Titleblacklist#File:(无|未|無)(标|標)(题|題).*]]

to

[[MediaWiki talk:Titleblacklist#File:(无{{!}}未{{!}}無)(标{{!}}標)(题{{!}}題).*]]

(for reasons that may be obvious, but incase not, someone forgot to escape the vertical bars) Oreocooke (talk) 15:23, 30 April 2026 (UTC)Reply

✓ Done ({{!}} didn’t work, so I made it a DiscussionTools link instead) --Lucas Werkmeister (talk) 15:37, 10 May 2026 (UTC)Reply
ok Oreocooke (talk) 17:04, 10 May 2026 (UTC)Reply

WIN format

[edit]

{{Edit request}}

can the line of File:WIN_\d{8}\b.*\.JPG have the expr changed to File:WIN_\d{8}\b.*\.(JPG|mp4) and be specified as the default file name for pictures (and videos) taken with windows camera. I feel like repurposing a pre-existing line is more efficient than making a new one. Oreocooke (talk) 04:32, 26 May 2026 (UTC)Reply

@Oreocooke:  Not done – Commons does not support mp4 files (COM:mp4), so I don’t see why we should bother to block these titles. (I also can’t find any existing files with such titles, unsurprisingly.) --Lucas Werkmeister (talk) 23:22, 27 May 2026 (UTC)Reply
didn't know. Oreocooke (talk) 00:12, 28 May 2026 (UTC)Reply

a generic screenshot name & some comments on existing lines

[edit]

{{Edit request}} I would appreciate if someone could add File:RobloxScreenShot\d{8}_\d{9}.png. It is the default name for Roblox screenshots, and is honestly the only generic/default name scheme not already on the blacklist i can think of where the files are unquestionably supported on Commons. additionally, i still think the line of File:WIN_\d{8}\b.*\.JPG should have a part explaining it is the default file name for pictures taken with windows camera added to the comment. the expression itself doesn't need to be changed. Oreocooke (talk) 22:10, 20 June 2026 (UTC)Reply

✓ Done Awesome! Thank you! —Matrix(!) ping onewhen replying {user - talk? - uselesscontributions} 13:37, 28 June 2026 (UTC)Reply

Proposed additions

[edit]

Came here from enwiki due to TimCooper75. Add File:.*My Profile.* as it's prone to uploading personal photos. Least Action (talk) 15:49, 23 June 2026 (UTC)Reply

please use the {{Edit request}} template to signify it is an edit request. I'll do it for you this time but next time please do it yourself. Oreocooke (talk) 22:37, 26 June 2026 (UTC)Reply
Thanks. Least Action (talk) 01:09, 27 June 2026 (UTC)Reply
Would like some discussion as I feel the false positive rate might be too high —Matrix(!) ping onewhen replying {user - talk? - uselesscontributions} 13:38, 28 June 2026 (UTC)Reply
@Matrix: BOLDly added RfC header and a link at CT. Least Action (talk) 14:40, 28 June 2026 (UTC)Reply

Comments

[edit]