Jump to content

Commons:Village pump/Technical

Add topic
From Wikimedia Commons, the free media repository
Latest comment: 4 hours ago by Tvpuppy in topic Wrong TOC?

Shortcuts: COM:VP/T • COM:VPT

Welcome to the Village pump technical section
Technical discussion
Village pump/Technical
 Bug reports
 Code review
Tools
 Tools/Directory
 Idea Lab



This page is used for technical questions relating to the tools, gadgets, or other technical issues about Commons; it is distinguished from the main Village pump, which handles community-wide discussion of all kinds. The page may also be used to advertise significant discussions taking place elsewhere, such as on the talk page of a Commons policy. Recent sections with no replies for 30 days and sections tagged with {{Section resolved|1=--~~~~}} may be archived; for old discussions, see the archives; recent archives: /Archive/2026/09 /Archive/2026/10.

Please note
 
# 💭 Title 💬 👥 🙋 Last editor 🕒 (UTC)
1 History maps of Europe 7 4 Enyavar 2026-06-02 11:29
2 Maps from Our World in Data 31 8 Wilfredor 2026-09-10 18:38
3 Category:Categories of Portugal by setting 1 1 Tvpuppy 2026-10-19 23:14
4 Editing talk pages of banned users? 4 4 Fæ 2026-10-17 11:10
5 Keeping arbitrary/non-descriptive titles of artworks by non-notable artists as file names 66 15 Jmabel 2026-10-21 05:05
6 Copyright claims 6 3 Grand-Duc 2026-10-17 09:55
7 5000 media needing categories as of 2023 8 4 6D 2026-10-22 04:18
8 Regarding uploading images of an abandoned radar station 4 4 Fæ 2026-10-17 12:11
9 Category:Military operations by country by war 3 2 Leyo 2026-10-24 00:16
10 October 2026 Wikimedia Café: legal issues on Commons, and WMF Board selection process 1 1 Pine 2026-10-18 06:10
11 Imagery of DPRK/USA from the 1990s 16 5 PantheraLeo1359531 2026-10-20 08:00
12 Copyright artworks 4 3 10mmsocket 2026-10-19 15:03
13 Renaming photos of cosplays 11 7 ReneeWrites 2026-10-21 09:19
14 Randomly tagging people's uploads as AI 2 2 Taylor 49 2026-10-21 13:09
15 Does "President Venn Diagram" count as copyrighted or ineligible? 3 2 Gone Postal 2026-10-23 01:48
16 SDC "depicts", especially for people 6 4 Jmabel 2026-10-23 05:36
17 Central banner for Wiki Loves Food 2026 in India 1 1 Kuldeep (Punjabi Wikimedians) 2026-10-22 15:59
18 How many image are ever in use? 4 4 JayCubby 2026-10-23 21:43
19 OCR 4 2 Richard Arthur Norton (1958- ) 2026-10-24 03:34
20 Bug 2 2 Jmabel 2026-10-23 05:41
21 Renaming Category:Dnistrovskyi Raion, 2020 to Category:Dniester Raion vel sim. 1 1 0DF 2026-10-23 13:23
22 Serious sourcing concerns regarding File:Yemeni Civil War.svg 1 1 امیر میرزازاده 2026-10-23 15:05
Legend
  • In the last hour
  • In the last day
  • In the last week
  • In the last month
  • More than one month
Manual settings
When exceptions occur,
please check the setting first.
SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 1 day and sections whose most recent comment is older than 30 days.

Rendering of new uploads is broken (or, at the very least, seriously delayed)

[edit]

I've uploaded new versions of a couple images recently, and their old versions don't get refreshed/replaced by the newly uploaded ones. Please take a look.

More detailed info:

  • The expectation after a new version is uploaded:
    • The PNG render on top of the page should update to the newly uploaded version
    • "Original file" link should allow the newest (freshly uploaded) version to be accessed
    • Thumbnails in the "File history" section should be updated immediately
  • What actually happens:
    • The PNG render eventually updates - but with a significant delay of at least a few hours
    • "Original file" link still points to the older version
    • The most recent version's thumbnail is the same as the penultimate version's thumbnail

Examples:

Cherkash (talk) 18:00, 13 September 2026 (UTC)Reply

another case study: file:Fu King Chinese Restaurant, Lake City, FL.jpg First the image and thumbnail were both upside-down, then Steinsplitter bot did its thing and the image was in theory right side up, but actually only the thumbnails were. Then the image was the right way up but the thumbnails had returned to inverted position, where they remain. Arlo James Barnes 19:31, 13 September 2026 (UTC)Reply
UPD: Tried purging both of my examples just now. It didn't do a thing. Still broken. Cherkash (talk) 20:56, 13 September 2026 (UTC)Reply
I'm facing the same issue with File:Airbus Industrie F-WULR Airbus A350-1041 Melbourne International Airport (MEL YMML) (55483824952).jpg. I originally made a request at the enwiki Graphics Lab to remove the watermark in the image, which was done by @Liandrei, but the new file version still had the watermark. Liandrei then did a bit of back and forth with the file and it shows that the intermediate versions had the watermark removed, but the newest version (which was a revert to one of the non-watermarked versions) always retained the watermark for some reason. S5A-0043🚎 09:22, 14 September 2026 (UTC)Reply
phab:T425216 Bawolff (talk) 21:46, 14 September 2026 (UTC)Reply

Stale thumbnail cache on File:James Nachtwey, Moscow, 24.03.2011.jpg

[edit]

I overwrote this file to remove an unintended watermark (file history confirms the current version is correct/clean). However, the small thumbnail used on en:James Nachtwey still briefly shows the old watermarked version before swapping to the correct one on click-through. Tested on two separate devices and networks (desktop + phone), so it doesn't appear to be local browser caching.

Thumbnail URL: https://thumb.wikimedia.org/wikipedia/commons/thumb/7/7e/James_Nachtwey%2C_Moscow%2C_24.03.2011.jpg/500px-James_Nachtwey%2C_Moscow%2C_24.03.2011.jpg?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail

Multiple ?action=purge attempts on both the file page and the article, plus a null edit on the article, haven't resolved it after several hours. Would appreciate immensely a server-side thumbnail regeneration if possible to preserve pristine imagery on the page. Oleg Cheremin (talk) 12:02, 14 September 2026 (UTC)Reply

PDF upload broken

[edit]

I just tried to upload a PDF file of a court opinion, but the Upload Wizard and Upload forms both didn’t recognize it as a PDF. I had to upload the PDF to a PDF editing Web-site, download it, and then upload it again here for it to work. This needs to be fixed. TE(æ)A,ea. (talk) 23:32, 16 September 2026 (UTC)Reply

Can you link to the source of the original PDF, or upload that file somewhere else? I have some theories about what might have happened, but no way to confirm without the original.
PDF is a weird format. A lot of readers will accept badly malformed files and try to fix them up - MediaWiki is a little stricter. (Most notably, many readers will accept files with leading junk before the %PDF header.) Omphalographer (talk) 01:24, 17 September 2026 (UTC)Reply

Images displayed rotated by 90° in mobile view but correctly on desktop

[edit]

I have encountered a reproducible problem with several portrait images uploaded to Wikimedia Commons.

The images are displayed correctly in vertical orientation on desktop, but in the mobile version of Wikipedia they are rotated by 90 degrees.

Example:

File:Сергей Ауслендер (2026)+.png
File:Елена Якович (2026).png
File:Зеев Ханин (2026).png

The PNG file is physically stored in portrait orientation (1503 × 2003 pixels) and contains no EXIF Orientation tag. The image is displayed correctly on desktop.

The same problem has occurred with other recently uploaded portrait images. Explicitly specifying the Commons filename in the Wikipedia infobox instead of obtaining the image through Wikidata did not solve the problem.

Could this be a thumbnail-generation or mobile rendering issue? I would appreciate help determining whether this is related to the current thumbnail-cache problems or whether a Phabricator task should be filed. TheKnowledgeEngineer (talk) 20:21, 24 September 2026 (UTC)Reply

I checked File:Зеев Ханин (2026).png and its EXIF does contain a "Orientation" tag with "Rotate 90 CW". So, this is most likely the cause. Thanks. Tvpuppy (talk) 22:47, 24 September 2026 (UTC)Reply

Regarding irregular implementation of Flickr Files ID and Too Much Errors

[edit]

Hey, I want to report that during batch uploading of images from Flickr using Upload Wizard i had noticed two prominent problems first is the Flickr File Id are very irregular like in the first batch sometimes one of the file has the id and the other three don't when technically all of them should have there Flickr Id from start and should be in brackets () instead of dashes --. Other is that the error of too many requests is occurring quite often nowadays like on the second batch they are showing. I hope both of the problems should be solved as quick as possible. My other request is that the general image count should be increased to have atleast 8 Flickr files from the current 4 images per batch. Abdullah1099 (talk) 13:19, 25 September 2026 (UTC)Reply

Also why the software removes every when the title on Flickr is like Large Sagittarius Star Cloud | 2020/08/10 instead it can convert them into Large Sagittarius Star Cloud – 2020-08-10. Please also solve this issue. Abdullah1099 (talk) 14:21, 25 September 2026 (UTC)Reply
Hello @Abdullah1099
  1. In my experience, the UploadWizard only adds the Flickr ID if there are duplicate image names. This means if all the image names are all different, the UploadWizard will not add the Flickr ID to the end.
  2. As you have noticed, UploadWizard uses a dash for the Flickr ID. You may have notice other Flickr files uses brackets, those were maybe uploaded using Flickr2Commons instead.
  3. Recently, there is ongoing problem with Flickr uploads limit, see discussion at Commons:Upload Wizard feedback#There was a problem during the HTTP request: 429 Too Many Requests.
  4. I have no idea what you are referring to when you mentioned "general image count" should be "8 Flickr files per batch". As far as I know, there isn't such arbitrary image count or limit. The only limit that is related to this topic is UploadWizard only allowing uploads of 500 Flickr files at a time, or normal users are limited to 380 uploads per 72 minutes.
  5. These characters # < > [ ] | : { } / are not allowed to be in filenames. This is why those characters are converted.
Thanks. Tvpuppy (talk) 15:14, 25 September 2026 (UTC)Reply
@Tvpuppy, My view of your points are
1. I think the ID should be added for Every File from Flickr, If they catalog there file why not use it.
2. Dashes and Brackets are not very serious issue but i think the signs should be same.
3. Thanks for informing about the same issue is discussed on commons and i hope it's should be resolved quickly. This issue makes uploading images tedious as i am not in my hometown now and here the internet is not very great.
4. I am talking about during uploading Flickr images using Upload Wizard there is from start a limit of 4 images per batch then you can add another four images you want. I think the limit should be changed to atleast 8 images per batch. Thanks for informing me about there is an actual limit of 500 images.
5. My problem is that the software doesn't convert the symbols but directly remove the sentences and that should be solved. Abdullah1099 (talk) 02:50, 26 September 2026 (UTC)Reply
There is no reason to have the Flickr ID number in the filename. The purpose of a filename is to identify a file (in searches and categories) for users. Source information belongs in the information template. Please spend your time writing useful descriptions for files you upload (versus the descriptions on Flickr, which are rarely ideal for Commons) rather than worrying about this. Pi.1415926535 (talk) 03:05, 26 September 2026 (UTC)Reply
Ok, No problem. I mean it will be better if every Flickr file made available with ID rather than not. Yeah, It's on user to have the id in the title or not. Abdullah1099 (talk) 03:06, 26 September 2026 (UTC)Reply

Tech News: 2026-39

[edit]

MediaWiki message delivery 11:53, 27 September 2026 (UTC)Reply

"Enable syntax highlighting for wikitext"

[edit]

Any idea why "Enable syntax highlighting for wikitext" would have turned itself on in my preferences with no action from me? If I hadn't recognized the feature, I would have had a heck of a time working out how to turn it back off. - Jmabel ! talk 06:56, 28 September 2026 (UTC)Reply

Maybe an accidental click on the "Syntax" item while editing? Glrx (talk) 17:52, 28 September 2026 (UTC)Reply
I don't even know what 'the "Syntax" item' is. - Jmabel ! talk 20:05, 28 September 2026 (UTC)Reply
See MW:Help:Extension:CodeMirror#CodeMirror_preferences.
I am currently editing my reply. I see the Syntax item to the right of the Bold, Italic, signature, link, etc buttons and just to the immediate left of the Advanced dropdown. Glrx (talk) 20:41, 28 September 2026 (UTC)Reply
I certainly didn't deliberately click that, though I guess I could have done so accidentally. But I don't readily see how: for example, right now while I'm editing this, I don't see any of those controls, and that is more than fine with me. - Jmabel ! talk 21:24, 28 September 2026 (UTC)Reply

Tech News: 2026-40

[edit]

MediaWiki message delivery 10:46, 28 September 2026 (UTC)Reply

The sorting of entries by when they were categorized could help sort out large backlogs. Also, I found that you can sort a category by timestamp by adding ?cldsort=timestamp to the URL (?cldsort=timestamp&cldorder=desc for descending order), which doesn't edit the page itself unlike adding the magic words. HyperAnd [talk] 13:26, 28 September 2026 (UTC)Reply

Wanted categories

[edit]

Is it possible to revive the updates to Wanted Categories perhaps on a daily or even rarer (but predictable) schedule. I understand that it takes time to build the list, but when the list is 25 days old it is pretty much useless. Most of the categories there have been resolved, and I think it would be resonable to "kick" some script to redo it. ℺ Gone Postal (〠 ✉ • ✍ ⏿) 04:44, 29 September 2026 (UTC)Reply

 Comment, it appears Special:WantedCategories has began updating again. Thanks. Tvpuppy (talk) 09:39, 13 October 2026 (UTC)Reply
Open https://superset.wmcloud.org/ > SQL > Sql lab or https://quarry.wmcloud.org/ > new query, paste the following and run it as often as you want. Keep in mind categorylinks update slowly.
select concat('[[:category:', lt_title, ']]'), count(cl_from) from linktarget
left outer join page on page_namespace = 14 and lt_title = page_title
join categorylinks on cl_target_id = lt_id
where page_title is null
and lt_namespace = 14
group by lt_title limit 1000
Snævar (talk) 13:21, 14 October 2026 (UTC)Reply

Last month in technical changes (September)

[edit]

An overview of activity since August 26th. These changes might not have made the bigger news bulletins as they're more specific to Commons and have smaller usecases and/or audiences.

  • Fixed Varnish serving a stale cached version at a file's original (non-thumb) URL after the file was overwritten with a new upload. By @Krinkle. T425216
  • UploadWizard now honours AbuseFilter's "show CAPTCHA" consequence on publish, with matching support landing in ConfirmEdit. By Product Safety and Integrity-team. T429321
  • Animated WebP files can now be uploaded and get animated thumbnails, instead of a static frame. By @Kizule. T290345
  • Hitting the thumbnail failure-limit now correctly returns a 429 (too many requests) instead of a misleading 500 error. By Media Platform Team. T439110
  • Special:UploadStash hardening by Tim Starling: thumbnail names are now validated before serving (rejecting URLs with trailing garbage) T436201, omitting a thumbnail width no longer throws an exception T436202, and it now sends a CSP header like thumb.php already did T436203.
  • Fixed a chunked-upload bug where retrying the last chunk after a request timeout could hit a database timeout instead of completing. By Umherirrender. T212101

And a small repeat of a few of the more important Commons changes that were published before.

  • Commons' link tables (categorylinks, pagelinks, templatelinks, imagelinks, etc.) have been split off into their own dedicated database cluster ("x4"), separate from the rest of Commons' data ("s4"). The Commons database had grown too large and this was causing problems. Tool maintainers querying these tables directly need to switch to the new cluster. See the wikitech writeup for details. By the Data Persistence team. T398709
  • The move of thumbnail URLs from upload.wikimedia.org to thumb.wikimedia.org (announced in Tech News) has now been rolled out to all wikis. Old upload.wikimedia.org thumbnail links keep working for now. The switch broke a few Commons gadgets that hard-coded the old domain, like ImageAnnotator and the "direct link to Commons" gadget. Both have since been fixed. By Media Platform Team. T427465

Apologies if I forgot to name a few people. —TheDJ (talk • contribs) 15:32, 29 September 2026 (UTC)Reply

Question: if I have (as I have had for years) some deeplinks like https://upload.wikimedia.org/wikipedia/commons/0/05/Bundesarchiv_Bild_146-2005-0119%2C_Kurt_Weill.jpg on my own site, does this mean that these are now deprecated and at some point they will break? If so, what is the preferred way for me to change that? - Jmabel ! talk 18:45, 29 September 2026 (UTC)Reply
@Jmabel well that link doesnt have /thumb/ in the path, so it's an original and it will remain the same. But if they were a thumbnail, then you should probably update them to the new servername, to prevent them from breaking some time in the future. How far in the future, I cannot say. —TheDJ (talk • contribs) 19:50, 29 September 2026 (UTC)Reply
Would be sad if we just break them instead of returning a redirect. Bawolff (talk) 22:06, 30 September 2026 (UTC)Reply
We will redirect thumb URLs at some point, but request rate limits are likely to ultimately differ across domains. JTweed-WMF (talk) 15:57, 12 October 2026 (UTC)Reply

Flickr upload now return "There was a problem during the HTTP request: 403 Forbidden" instead "There was a problem during the HTTP request: 429 Too Many Requests"

[edit]

No matter the Upload Wizard and Flickr2Commons, it just will return the same "There was a problem during the HTTP request: 403 Forbidden" instead "There was a problem during the HTTP request: 429 Too Many Requests" message when Uploading from Flickr. KMB1933 (talk) 01:59, 30 September 2026 (UTC)Reply

Upload Wizard - The server responded with an invalid JSON document.

[edit]

The last few days I tried to upload a few files to Commons using Special:UploadWizard

After I click the upload button, a red stop sign with an exclaimation point appears with this text:

  • "The server responded with an invalid JSON document. This could be a problem with the API, or you could be using a proxy server that prevents you from uploading files."

I have never seen this error, nor do I have a "proxy."

How can I resolve this issue or is it a tool issue? Thank you, -- Ooligan (talk) 17:44, 30 September 2026 (UTC)Reply

If you know how to do this, it would be helpful if you could look in the browser developer console network tab to see what the api returned when you get this error (i appreciate this might be technically difficult for most people) Bawolff (talk) 22:08, 30 September 2026 (UTC)Reply
Hello @Bawolff, I will try. If you have any link that shows how to do it, that would be helpful. Thanks, -- Ooligan (talk) 22:44, 30 September 2026 (UTC)Reply

Thumbnails for File:Suntur Paucar.svg persistently return 429

[edit]

Thumbnail requests for File:Suntur Paucar.svg have returned HTTP 429 for several days, through multiple caching datacentres. The request body is Too many thumbnail requests for failing image

After running ?action=purge, I now see HTTP 400 Bad request errors instead. I see the same result for different sizes e.g. 250px and 330px, on both upload.wikimedia.org and thumb.wikimedia.org.

  • The original SVG downloads fine (HTTP 200).
  • This isn't client rate limiting: x-ratelimit-remaining is near the maximum, and there's no Retry-After.

It looks like the SVG fails to render, and Thumbor's failure throttle never resets. Possibly this is to do with markup errors in the original SVG? How might I resolve this? Matthew at catfishing (talk) 13:55, 1 October 2026 (UTC)Reply

Appears fixed, thanks to @Snævar for editing the SVG. Matthew at catfishing (talk) 07:35, 2 October 2026 (UTC)Reply
[edit]

In the last few days I have seen some categories which claim to have negative number of galleries when seen from the parent category. For example in Category:Korvenkylä, Lappeenranta the subcategory Category:Tiuru Hospital shows as

Tiuru Hospital (-1 P, 20 F)

While this is easy to fix with a null edit on the category it becomes tiresome to do it by hand. Does anyone know what causes this? MKFI (talk) 16:36, 2 October 2026 (UTC)Reply

Categories incorrectly showing up as empty

[edit]

I had created several categories (including meta categories) that show up as being empty, despite having files and subcategories linking to it. I discussed this issue with @The Squirrel Conspiracy on his talk page at Deletion of categories under COM:C2 and he undeleted the categories. He also advised me to open a discussion on the technical village pump. In addition to this post, I have opened a Phabricator bug report at T440148. ForeverFlying (talk) 19:47, 4 October 2026 (UTC)Reply

 Comment, most likely same issue as the thread directly above this. There seems to be a ongoing problem with the category count. Thanks. Tvpuppy (talk) 20:09, 4 October 2026 (UTC)Reply

Misleading "empty category" note

[edit]

At Category:WikiConference_North_America_2026_by_day, the first line is WikiConference North America 2026 Thursday (empty). However, clicking through to the Thursday category shows that it's not actually empty — it just contains only subcategories rather than any files. This is rather misleading. Could we make an interface change to correct it? I know that in some other circumstances, the parenthetical shows not just the files in a category but also the categories, and that might be more appropriate. Sdkb talk 15:56, 7 October 2026 (UTC)Reply

 Comment, see thread above COM:VPT#Category gallery count shows negative number, there is an ongoing problem with the category count. According to the phab ticket, apparently it can be fixed by purging the subcategory. Thanks. Tvpuppy (talk) 16:10, 7 October 2026 (UTC)Reply
[edit]

Template:MONCopyright: per Commons:Administrators' noticeboard/Blocks and protections#MONCopyright - currently, every translation still contains the archiveis link, despite its removal from the en version, which prevents the template from being added to any license due to the spamblacklist. Bastruk (talk) 20:58, 4 October 2026 (UTC)Reply

Hello @Bastruk, you need a translation admin to mark Template:MONCopyright/i18n for translation, in order for the changes to be transcluded into the other translations. You may request this at Commons:Translators' noticeboard. Thanks. Tvpuppy (talk) 23:00, 4 October 2026 (UTC)Reply

Tech News: 2026-41

[edit]

18:48, 5 October 2026 (UTC)

Issues after a split

[edit]

Hi,
Strange issues occur after a file was spitted;
The file was splitted into three files:

  1. File:Blason fam fr de Mailly (1).svg, the original upload of 2008.
  2. File:Blason fam fr de Mailly.svg, the 2022 overwite
  3. Blason-fam-fr-de-Mailly.svg, the 2023-02 overwrite, now redirected to a newly uploaded file.

The following issues arise:

  1. File #1 when categorised, doesn't show up in categories, example category,
  2. File #2 when categorised, actually categorises the File #3 below (now a redirect), example category; it does also see itself as the said File #3, per the file name showing up in its File usage on Commons, and appears as such on other files too when linked (same behaviour wether File #3 is a file or a redirect).
  3. File #3, now a redirect, doesn't show either in categories when categorised: example category, only when the previous is (same behaviour wether it's a file or a redirect).
It sounds very odd, and some support would be greatly appreciated.
For further information, the above redirect could be deleted, File #2 could be as well, and File #1 (only) should not be, for it's another user's upload.
Also, everything is fully backed up. --Kontributor 2K (talk) 16:15, 6 October 2026 (UTC)Reply
Update: all files/redirects categorised in Category:SVG with DB Issues
--Kontributor 2K (talk) 08:37, 9 October 2026 (UTC)Reply

Rendering of text in "lang" template: fine in preview panel, wrong in the saved page

[edit]

See the file Celladbaşı.jpg: note that the 2nd paragraph of the English description shows several Turkish words abutted with no spaces. Compare to the wiki code in edit mode; also, while in this mode, display the preview, and see these words rendered at proper positions.

Relevant line of the wiki code: {{lang|tr|Cellad}} (Executioner), {{lang|tr|Celladbaşı}} (Chief Executioner), {{lang|tr|Subaşı}} (City Police Chief), {{lang|tr|Asesbaşı}} ({{w|Janissary}} Police Chief), {{lang|tr|Böcek Başı}} (Secret Police Chief)

Expected rendering:

Cellad (Executioner), Celladbaşı (Chief Executioner), Subaşı (City Police Chief), Asesbaşı (Janissary Police Chief), Böcek Başı (Secret Police Chief)
(with Turkish words wrapped by <div … lang="tr">…</div> in the page's HTML)

Rendering I'm seeing in the saved page:

CelladCelladbaşıSubaşıAsesbaşı
(Executioner), (Chief Executioner), (City Police Chief), (Janissary Police Chief), Böcek Başı (Secret Police Chief)
(note that the last piece of Turkish text, "Böcek Başı", does display properly; I don't know why)

DmitTrix (talk) 19:20, 10 October 2026 (UTC)Reply

Merging two categories

[edit]

All categories for US Army infantry divisions follow the same naming scheme - see Category:Infantry divisions of the United States Army, except for two divisions, where there are two categories:

How can these two categories be merged?

Furthermore: how can the content in Category:79th Infantry Division be moved into category Category:79th Infantry Division (United States).

Thank you. Noclador (talk) 23:08, 10 October 2026 (UTC)Reply

You can use the gadget Cat-a-lot to move content from one category to another. Thanks. Tvpuppy (talk) 23:29, 10 October 2026 (UTC)Reply

Tech News: 2026-42

[edit]

MediaWiki message delivery 07:36, 13 October 2026 (UTC)Reply

Mobile talk pages collapsing all content

[edit]

First noticed this today. Viewing some talk pages on mobile which have a template (seemingly any template) at the top causes all of that talk page's threads to be collapsed behind a "Learn more about this page" button. Clicking the button reveals the template and all of the talk page content.

I'm currently observing this in Commons and User talk spaces (eg. Commons talk:Licensing and User talk:Belbury), but can't find any examples in Template or File space (eg. Template talk:Talk header and File talk:Commons screenshot.png are both fine).

Testing it on my own user talk page, the same happens if I replace the usual talk page headers there with just a single {{example}} template. If I remove all the templates the threads become visible on mobile again. Belbury (talk) 16:53, 15 October 2026 (UTC)Reply

Seems fine to me in private mode, so you might be using some gadget that is causing this. Or you can check again if it works now. Nux (talk··dyskusja) 19:42, 15 October 2026 (UTC)Reply
I'd also been checking it in private mode at the time. It's working fine again now, though, so I guess whatever it was has been fixed or otherwise shaken out since then. Belbury (talk) 19:57, 15 October 2026 (UTC)Reply
There was an issue which is probably fixed now, see COM:AN. Shaan SenguptaTalk 00:34, 16 October 2026 (UTC)Reply

Lower sizes of image not generating after overwrite

[edit]

Yesterday, I overwrote File:Peters, Braden Eric (2 out of 2) (3x4 cropped and red eyes removed).jpg to make many colour adjustments. Although it uploaded “correctly”, I the lower sizes are still the same and the image doesn't display right on pages. I've tried purging the cache, but it didn't work. Nutella lover • [ chat│supervise ] 12:42, 16 October 2026 (UTC)Reply

@Nutella lover: It appears as two different images for me. This is a common issue; try checking with another device. The Squirrel Conspiracy (talk) 00:56, 19 October 2026 (UTC)Reply

Continuing intermittent problems with overwrites

[edit]

I keep having times (not all the time, but frequent) when overwriting a file does not "take," and there seems to be no way around it, not even after what I would presume to be a reasonable amount of time. Most recently, about 10 hours ago I uploaded File:Berlin - Fischfang (Julius Moser) seen from the Landwehrkanal.jpg, then overwrote twice with what I considered successively better versions of the image. Despite repeatedly using "action=purge", it still shows my original upload, and this is not a matter of caching on one browser, the same happens in a different browser. Does anyone understand what is going on here? - Jmabel ! talk 16:31, 19 October 2026 (UTC)Reply

I have had cases in the past where when overwriting a file it took several days for everything to 'repopulate' with the new image. - The Bushranger (talk) 23:13, 20 October 2026 (UTC)Reply
This one seems finally to have filtered through. - Jmabel ! talk 04:30, 21 October 2026 (UTC)Reply
I'm also observing this problem, at File:Suvarnabhumi airport by Don Ramey Logan (rotated).jpg. Not sure if this is the same issue as phab:T425216, which was marked as resolved on 2 October? --Paul_012 (talk) 14:33, 21 October 2026 (UTC)Reply

Spintronics oscillator.gif: previews fail, original works

[edit]

An image I uploaded three years ago appears to be failing to create thumbnails now, and it is showing as a broken link in an article. The image is https://commons.wikimedia.org/wiki/File:Spintronics_oscillator.gif. It looks fine there. I tried purging the cache for the image, but it did not help. The affected article section is: https://en.wikipedia.org/wiki/Mechanical%E2%80%93electrical_analogies#Physical_implementations.

Would someone be able to investigate the image? Thank you! Pgboswell (talk) 14:18, 16 October 2026 (UTC)Reply

Inkscape: multi-line text objects not wrapping?

[edit]

I'm using Inkscape app to create SVG file File:Prehistoric Timeline Activities Extinctions.svg. Some of my text is multi-line (2 or 3 lines). Inkscape has very forgiving multi-line functionality. So, within Inkscape the text is displayed as say, 3 lines. When I upload the SVG to Commons, Commons is not as forgiving (more strict) in relation to multi-line text, so some of my multi-line text objects appears as a single, very wide line.

Is there an easy way to avoid/prevent this? I understand that Inkscape may not be fully complying with the official SVG spec, so I'm not saying Commons is doing something wrong. I'm simply looking for solutions that other people may have found. I looked in Help:Inkscape and did not find guidance on this issue. Noleander (talk) 21:30, 16 October 2026 (UTC)Reply

UploadWizard error

[edit]

When I try to add a specialized public domain template in UploadWizard, nothing happens. It just keeps clicking the button for the corresponding option over and over instead of selecting the field I actually need. Futbollo (talk) 12:19, 17 October 2026 (UTC)Reply

Same here - Dvaderv2 (talk) 23:02, 18 October 2026 (UTC)Reply

@Футболло @Dvaderv2, sorry I missed this. I have prepared a patch, that should hopefully land this week and fix this problem. —TheDJ (talk • contribs) 14:23, 19 October 2026 (UTC)Reply
@TheDJ: is there a task for this in Phabricator? Futbollo (talk) 14:46, 19 October 2026 (UTC)Reply

Tricolor module & getting subcategories from Lua

[edit]

I noticed that the tricolor template uses a big hardcoded list of #ifexist to generate the navigation. This is both very annoying to add new entries and seems like it'd become a bit expensive at scale (I've been cataloging fursuits in Category:Tricolor fursuits, and have found about 4 color combinations already that aren't in the list).

User:CalendulaAsteraceae has a pre-alpha module of it similar to bicolor, but they ran into problems with storing all combinations in a table. I have a version at User:Yoshyoshyoshyosh/sandbox that uses an iterator for combinations, absolving memory issues, but now the bottleneck is querying if all those pages exist. mw.title.contents doesn't increment the expensive function count, but with (52 choose 3) = 22100 total queries of that, the script times out any time it's called anyway.

(As an aside, you can feel how expensive the Bicolor module is with this when going to any bicolor category page. So there should probably be a better way to generate the navigation box anyway)

Without a way to check that many pages for existence, I could get all subcategories of the topic category then parse out the colors from them, since tricolor category names already follow a rigid structure. Except I am not finding a way of getting all subcategories of a category from Lua. I don't see it on Scribunto help. Before I go to the Phabricator or something for this, can I just have a sanity check here: Is there a way to efficiently query existence of thousands of pages OR a way to get all subcategories of a category from Lua? Either of these would alleviate the issue. Thanks. Yoshyoshyoshyosh (talk) 16:33, 17 October 2026 (UTC)Reply

I found this task on phabricator about category members in Lua, so I guess it's not possible yet. I left a comment there. Yoshyoshyoshyosh (talk) 14:22, 18 October 2026 (UTC)Reply

Tech News: 2026-43

[edit]

MediaWiki message delivery 14:35, 19 October 2026 (UTC)Reply

"Nominate for deletion" tool obscured in Mobile view

[edit]

The tool's width pushes through a smartphone's left edge, but I've been unable to scroll left to see the left side of the tool. To put this another way, the left side of the tool is obscured, especially when I can't scroll left or right to see the tool fully. Even I tried Landscape orientation, but the view is about the same as the Portrait one. George Ho (talk) 13:03, 20 October 2026 (UTC)Reply

How to mass-crop images?

[edit]

Hello.

Suppose I was able to download all the hi-res images of the commemorative coins minted by the National Bank of Moldova. Note how the images have paddings of different size between the edge of the coin itself and the edges of the image file, e.g. notice this versus this.

Can you help me explore options as to what tools to use to mass-perform the following edits on all images, obviously without losing the quality:

  • automatically identify the empty padding space between the edge of the coin and the edge of the image on all four sides, and crop it out.
  • optionally (nice to have), make the background around the coin transparent, like here.

I'm on Windows and I do not have any paid image software. Appreciate any hints! Thanks. Gikü (talk) 08:57, 21 October 2026 (UTC)Reply

Might better be a question for Commons:Graphic Lab/Photography workshop. - Jmabel ! talk 01:57, 22 October 2026 (UTC)Reply

Broken category redirects

[edit]

Searching for broken category redirects (e.g. incategory:"Broken category redirects") returns about 3000 pages like Category:Logos and symbols of Virtus Entella, which are automatically categorised as broken. Yet Category:Broken category redirects does not list these, though tagging for G2 speedy deletion restores that somehow. What gives? --HyperGaruda (talk) 20:00, 22 October 2026 (UTC)Reply

 Comment This is because pages that are categorized through a template, doesn't have those categories updated until someone edits the page. Usually you can null-edit the page to fix this. Thanks. Tvpuppy (talk) 22:57, 22 October 2026 (UTC)Reply
Ah, I see. Can onfirm null-editing fixes it. Thanks! --HyperGaruda (talk) 04:48, 23 October 2026 (UTC)Reply
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --HyperGaruda (talk) 04:48, 23 October 2026 (UTC)

"No file by this name exists"

[edit]

Some recently uploaded files behave really strangely: the file page says "No file by this name exists", even though the file does exist somewhere, as "purg[ing] this page's cache", as the same message suggests, does help, although only temporarily; after some time, the file becomes "lost" again. When this happens, the file description page itself looks fine (and retains its own history) but does not even show "File history" (previous file versions). Thumbnails are broken as well (on Wikipedia and here).

My own example is File:Maxwell construction.svg (SVG, uploaded yesterday), but if you go to "Recent uploads", you can notice that some other files look missing as well (for example, a recent PDF and an earlier JPEG) — not too many but a noticeable amount, perhaps ~0.5%.

What is going on? — Mikhail Ryazanov (talk) 23:20, 23 October 2026 (UTC)Reply

Wrong TOC?

[edit]

Why this page shows the table with topics from the parent forum (Commons:Village pump)? This TOC does not seem useful here but is confusing, and other subpages (Commons:Village pump/Copyright and Commons:Village pump/Proposals) do not show it. Any reason it is needed here? — Mikhail Ryazanov (talk) 23:23, 23 October 2026 (UTC)Reply

 Comment, see discussion at Commons talk:Village pump/Technical#Weird TOC. Thanks. Tvpuppy (talk) 00:06, 24 October 2026 (UTC)Reply

ImageNotes

[edit]

Recurrence of a bug that was fixed a few months ago. On file pages, there is no line break before "Open in Media Viewer", and "Add a Note" is not offered at all. Presumably a Javascript error. I don't have time to look deeper now, but a quick glance at the browser console suggests it is an uncaught exception. - Jmabel ! talk 23:24, 23 October 2026 (UTC)Reply