Jump to content

Commons:Village pump/Technical

Add topic
From Wikimedia Commons, the free media repository
Latest comment: 10 hours ago by NguoiDungKhongDinhDanh in topic "Hist" becoming "History"

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/01 /Archive/2026/02.

Please note
 
SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 1 day and sections whose most recent comment is older than 30 days.

Public domain template

[edit]

Hi. I made a new public domain template specifically for Saint Helena, Ascension and Tristan da Cunha: {{PD-SHN}}. Please comment on it to see if I got the template code format correctly, thanks. – Howardcorn33 (💬) 22:53, 24 December 2025 (UTC)Reply

The template has no categories, no documentation page, and no language localization. Incall talk 18:26, 10 January 2026 (UTC)Reply

Discord Embeds Broken

[edit]

Most images sent to Discord from Wikimedia Commons do not load their preview images in the embed, ever since 2 or 3 days ago. Some do, my testing shows a trend that images featured on the current main page for Wikipedia tend to load, (sending myself https://commons.wikimedia.org/wiki/File:Neptune_Voyager2_color_calibrated.png on discord loads the preview image in the embed, for example) yet most others do not (sending myself the non-main page image https://commons.wikimedia.org/wiki/File:Neptune_-_August_19_1989_(39736246694).jpg refuses to load the preview image in the embed, as a counter-example), though it's not entirely consistent. Old Wikimedia Commons links sent in Discord have also had their previously loadable preview embeds fail to load upon cache refresh. Other websites like YouTube, (Fx)Twitter and Internet Archive still load embeds fine. I love sending images that I find in Wikimedia Commons to my friends a lot, so finding help would be important, though since my issue is technically based on another website / app, I'm not entirely sure if posting here is appropriate. Jd vance don't like me (talk) 02:58, 28 December 2025 (UTC)Reply

Probably relates to the recent limiting of what image sizes can be generated, same thing that messed up the TinEye and Google Lens tools. - Jmabel ! talk 07:39, 28 December 2025 (UTC)Reply
Do note that Discord has some custom mechanics for Wikipedia previews, not something we can easily fix from our side. Sjoerd de Bruin (talk) 09:46, 28 December 2025 (UTC)Reply
@Jmabel: Just for my reference, any links/announcements regarding image size generation limits? Haven't heard about that. ~Kevin Payravi (talk) 01:08, 5 January 2026 (UTC)Reply
Nothing that I'm aware of, but I gather this briefly broke the links to TinEye and Google Lens, because they were using a specific hard-coded size that is no longer supported. Can't recall where I heard that, sorry. - Jmabel ! talk 01:29, 5 January 2026 (UTC)Reply
@Kevin Payravi it's not been publicly advertised much, but it is documented at places like: Common thumbnail sizes. —TheDJ (talkcontribs) 08:53, 8 January 2026 (UTC)Reply

How to specify a SVG file's default language?

[edit]

At File:Wissenschaftssprachen NatWi.svg how does one specify that default language there is German? It would be best if in the dropdown just had German and English and not (default language) and English. Prototyperspective (talk) 23:14, 3 January 2026 (UTC)Reply

It's not possible, without modifying the svg. A workaround here is to explicitly add German translations, the same way you added the English ones. (It may seems duplicative, since the default text is already German, but it would work.) If you do that, you'd get 3 options 'English - German - default' in the dropdown. – Ammarpad (talk) 18:22, 4 January 2026 (UTC)Reply
The semantics of SVG's systemLanguage attribute imply the default clause does not have a language. Consequently, a multilingual SVG file should have an explicit systemLanguage for each language and a default clause to cover all other languages. Otherwise, strange behavior happens. For example, if my browser prefers German over English, I expect to see German when displaying File:Wissenschaftssprachen NatWi.svg in my browser, but my browser will display English text. The browser does not know the default clause is German, so it displays the less-preferred (but known) English.
It would be nice if SVG Translate learned the default language and copied the default clause to an explicit language clause.
The simple fix is to use SVG Translate to translate the default language to German.
Glrx (talk) 19:42, 4 January 2026 (UTC)Reply
Thanks for your elaborations – so would the optimal solution be for SVG Translate to be changed to detect or allow the user to specify the name of the SVG's default language and then copy "the default clause to [the] explicit language clause"? If that was done, would a SVG with one language when translated into a second language then have three values in the dropdown? (Here German, English, default language.) If so, I'd create a code issue about that. I think it would be better if after translating there were just two values (Here German (default), English) but don't know how that would be possible. Prototyperspective (talk) 23:55, 5 January 2026 (UTC)Reply
@Prototyperspective: Fixing SVG Translate would be a solution, but it would still list a separate default language. A separate default language makes sense given the semantics of systemLanguage. It also makes practical sense: a file may use the ISO date 2026-01-06 as the default, but use "Jan. 6, 2026" for an English date and other appropriate INTL dates for other languages. I would not create an issue because SVG semantics do not mean German (default), English. Multilingual SVG has many issues. Glrx (talk) 20:45, 6 January 2026 (UTC)Reply
Another way to look at it, is that SVG knows no default language. There is only fallback text of an unspecified language. This is actually pretty common in media formats as language information is generally not so critical. Commons itself does the same. Commons has the file information template, but there is no requirement on users to define which language they are using. We sometimes add that with the language templates, but its optional and thus cannot be relied upon. —TheDJ (talkcontribs) 21:05, 6 January 2026 (UTC)Reply
…hence the question about enabling users to specify what the file's default language is. Also the UploadWizard, the most-used recommended default way to upload files, asks the user to specify the language of the file description. Prototyperspective (talk) 23:59, 6 January 2026 (UTC)Reply
A separate default language makes sense Are you saying German, English, default language here makes more sense than just having German (default), English? If so, I don't understand why. because SVG semantics do not mean German (default), English This is also an enigma to me – I only added that I think it would be best if there were just two values in this case instead of three (one redundant as exactly the same as default language). The main issue here is about enabling users to specify what that unspecified "(default language)" of the file is which currently has just the (default language) label in the dropdown which means people can't see 1 of the languages the file is available in, the language of the original SVG. Could you elaborate? Prototyperspective (talk) 00:04, 7 January 2026 (UTC)Reply
@Prototyperspective:
For this file, the default text would be the same as the German, so for this file German (default), English makes sense. However, that is not the general case. Multilingual SVG files should include default as a separate option. Many multilingual SVG files do not have separate translations for numerical values — they just default to "123" for all languages.
The language for the default clause is not specified; it could be any language or no language at all. That's why I gave the ISO 8660 date example. That the language is recognizable as German or English or Swahili in some SVG files does not mean that is the case in all SVG files. The SVG specification is the problem. It does not allow us to say display a preferred language if available but otherwise display German (or French or English). It only allows a fallback to an unspecified language.
MW also contributes to the confusion. An author creates an SVG image in German, and the image displays in German. Then somebody uses SVG Translate to add English labels. After that, MW displays the image English rather than German. Something that probably confuses the original author. Commons displays English; if English is not available, then it displays the default. The original German image displays German not because German is asked for but because English is asked for but not available.
To put it bluntly, MW did not know the original version was in German. GNU Plot did not add xml:lang="de" or lang="de". Even if it did that, most utilities and MW would ignore the attribute. The language was default at the beginning.
Given the semantics of SVG, the simplest thing to do is to show a default language.
Multilingual SVG is a hack. It is easy for browsers to support because it is simple and follows other conditional constructs. However, few tools support the generation or editing of multilingual SVG.
Glrx (talk) 20:29, 7 January 2026 (UTC)Reply
Well wouldn't the solution to this simply be to not require the language to be specified but also allow the (default language) value with language unspecified? That could be used e.g. for charts with just numbers that are used across very many languages and not specific to one.
However, I wasn't asking about making it a requirement to specify the language or whether SVGs can always detect and display the language – just about specifying the language in the ambiguous (default language) to be specifiable for the translated data graphics where there the default is in a specific language (probably >98% of cases). Or if it's already possible, how to do so.
I think you're talking about a separate issue where SVG can't show the version in the language the user has specified in the config. But my prior comment and originally this thread is not about that. It's about what the user sees when they click on the languages dropdown, not which language version displays by default. So I think we have been talking past each other a bit. I think your issue warrants a separate discussion and/or issue. Prototyperspective (talk) 01:11, 8 January 2026 (UTC)Reply

Chunked upload error

[edit]

Trying to use chunked upload to overwrite File:Port of Seattle map, 1918.jpg with an even higher-resolution file, I got an error that MwJSBot is not defined. File I was uploading shows in MS Windows "properties" as 100MB, but is apparently a tad too large for a non-chunked upload. - Jmabel ! talk 23:46, 4 January 2026 (UTC)Reply

This would probably be an issue with User:Rillke/bigChunkedUpload.js user script and not chunked upload in general. Bawolff (talk) 03:30, 8 January 2026 (UTC)Reply
@Bawolff: so how would I work around this to overwrite that file? - Jmabel ! talk 04:10, 8 January 2026 (UTC)Reply
It might indicate that something is conflicting with a gadget you have enabled or a custom user script you have. Even if that script doesn't work, you should still be able to use upload wizard to upload large files [Older versions of upload wizard didn't let you overwrite files, but i think that changed now] Bawolff (talk) 08:00, 14 January 2026 (UTC)Reply
@Bawolff: How would I use the UploadWizard to overwrite a file? I tried, and I see no relevant options. - Jmabel ! talk 18:45, 14 January 2026 (UTC)Reply
@Jmabel, assuming you were working from the 300MB TIFF, ✓ Done. I'm not sure why it failed.
With the UploadWizard, you could upload the file separately then split it in. There is a procedure defined at Commons:History merging and splitting. Maybe UW supports overwriting now though. JayCubby (talk) 19:27, 14 January 2026 (UTC)Reply
@JayCubby: thanks, yes that is what I had. And, yes, I was aware I could have uploaded to a different file name and merged, but I would think the chunked upload ought to work in the obvious manner, from "Upload new version". If the problem is somehow specific to me, that is less of an issue. - Jmabel ! talk 20:10, 14 January 2026 (UTC)Reply

Change in wiki commons rate-limiting? Getting frequent 429 - errors on wiki commons image requests

[edit]

I have an app (ios / android) that is displaying images from wikimedia commons (Hotlinking) that has been out for over a year. About a week ago I started seeing a massive increase of 429 - Too many Requests responses. Nothing on our side has changed, the requests come from user devices (and IPs) and the 429 responses come after about 10-20 requests (request volume hasn't changed either). This seems to be a problem for other projects as well as evidenced by this reddit thread and this bug report. I am sending a user agent with requests as recommended here. Bbbub (talk) 11:14, 5 January 2026 (UTC)Reply

Wikimedia is applying much stricter IP rate limiting yes. You can thank the AI bots. —TheDJ (talkcontribs) 12:41, 5 January 2026 (UTC)Reply
I understand that wikimedia needs to guard it's resources against misuse but to me it doesn't seem like normal ratelimiting, we see these 429 responses with very low requests (10-20), other developers (in the linked thread) mentioned getting it for single requests. Additionally other requests sent directly afterwards might go through. Bbbub (talk) 08:01, 6 January 2026 (UTC)Reply
@Bbbub Oh, another thing is, that only specific thumbnail sizes are still allowed. If you are manipulating URLs to get your image to fit to a certain dimension, you will also see this erroring with 429s. —TheDJ (talkcontribs) 12:43, 5 January 2026 (UTC)Reply
I am working with different thumbnail size brackets (..., 640, 800, 960, ...) for different screen sizes. I am pretty sure I got the sizes originally from Wikimedia, but let me know if there has been a change or a source for the allowed thumbnail sizes so I can verify. Bbbub (talk) 07:37, 6 January 2026 (UTC)Reply
Another problem. You should set the loading=lazy attribute on the img, so that you only download images that are actually likely to be within view. This is especially needed for things like this kind of gallery code. —TheDJ (talkcontribs) 12:46, 5 January 2026 (UTC)Reply
This is a pretty important one for you specific use case. If you are requesting 30 images that all still need to be generated, even though only 15 are visible, then you will quite quickly run into rate limits. —TheDJ (talkcontribs) 13:25, 5 January 2026 (UTC)Reply
We're only loading the images that come into view, and we're seeing 429 responses with 10-15 images loading already, and in the linked reddit thread others described seeing it for one-off loads as well. Bbbub (talk) 07:43, 6 January 2026 (UTC)Reply
Ah and you are using thumb.php. Thumb.php which isn't generally used for wikimedia traffic as it is the endpoint for on demand generation of a thumbnail. Wikimedia uses: https://upload.wikimedia.orgTheDJ (talkcontribs) 12:54, 5 January 2026 (UTC)Reply
That was actually another poster on the thread not me, I used the direct links to wikimedia Bbbub (talk) 07:49, 6 January 2026 (UTC)Reply
I'm the other poster. Perhaps ironically, thumb.php was an unideal workaround I figured out. upload.wikimedia.org would return 429s while thumb.php would not. ~Kevin Payravi (talk) 08:21, 6 January 2026 (UTC)Reply

Chiming in as another external developer who ran into this: hotlinked images loaded clientside (in-browser) were getting 429ed, even in situations where I was only loading a few images. I realized that my webapp was not sending in the Referrer header when requesting hotlinked images. After restoring the Referrer header, I could load thumbnails just fine. So I'm guessing the lack of the Referrer header was one heuristic that (combined with others) resulted in the 429 errors. More details on the Phab thread. ~Kevin Payravi (talk) 08:21, 6 January 2026 (UTC)Reply

See the phab link to the right. I corresponded with WMF developers using the e-mail address given in the error message, and the problem was fixed almost immediately. – Jonesey95 (talk) 21:00, 19 January 2026 (UTC)Reply

File:PION Labs logo.svg

[edit]

There is some issue with File:PION Labs logo.svg. Don't know how to fix it. -- Geagea (talk) 11:25, 5 January 2026 (UTC)Reply

The problem is that it is not an SVG, it's a PNG image that has been put inside of an SVG. It should probably be deleted, or someone has to vectorize it properly. —TheDJ (talkcontribs) 12:40, 5 January 2026 (UTC)Reply
Thanks, deleted it and upload png file - File:PION Labs logo.png. -- Geagea (talk) 13:28, 5 January 2026 (UTC)Reply
It would probably be good to somehow get a list of such files and then convert them all to PNGs. For example SVG Translate doesn't work on these. Apparently as this example shows one can redirect the SVGs to PNGs (so that links to them don't break). May not be worth the effort for now. Nevertheless, maybe at least a warning note template including a category could be added to these files if there's a way to scan all the SVG files for these. Prototyperspective (talk) 23:49, 5 January 2026 (UTC)Reply

Showing the approximate location as text, not just geocoordinates in file description

[edit]

For example in this file File:White cabbage butterflies flying.webm, the user added "Franklin County Ohio, USA" below the template. The same has been done for many of the other videos by the user except the most recent as well as by many other users. Worse, for many other videos there is no textual name of the region at all and just the geocoordinates which are unreadable – people don't know which approximate location such as which country it is just by a text like 40° 02′ 38.4″ N, 83° 02′ 31.2″ W.

The related effort seems to be Commons:Reverse geocoding but that's (so far) only adding data to the structured data and the categories, not to the content of the file information template such as the {{Location}} template.

Is there a way to automatically parse the region location from the geocoordinates and then add that next to next to the {{Location}} template (probably by a bot)? For the files where geolocation structured data has been written, I think that SD could be used to add that info to the file description box, maybe into a new parameter of Template:Location like |name= that has the location in text string format. Would be great if somebody could add this info to the files' Information template.

Prior discussion is at Template talk:Location/2024#Please allow adding text for location and/or parse that from the geolocation (archived). Prototyperspective (talk) 19:25, 7 January 2026 (UTC)Reply

I always do this with categories, viz Category:Videos from Franklin County, Ohio and Category:Insects of Franklin County, Ohio and often add words to the description. I don't know of an automated way to do it. Jim.henderson (talk) 19:40, 7 January 2026 (UTC)Reply
I do this too but not every user knows of and looks at the categories which for >99.9% of visitors are either at the bottom (many don't scroll to there) or, if on mobile, not visible at all.
Secondly, many videos are left out by this – e.g. quite many videos of that user who uploaded the example video but also many more. And it doesn't scale well and even if it did, it would be better to automate this more so that more contributor time is freed up and less videos without the region as text. Moreover, often the location is not really key to a video because it doesn't show the location and otherwise is unlikely of interest to people browsing the category for a region like Franklin County, Ohio so people don't add the category or if they add it, it's then causing the problem of cluttering a category with videos that aren't really of interest to the user. (For example a screencast video of some software may have been produced in a certain place but it's not related much to that place and shows nothing of the place; likewise a microscopic video of an animal under the microscope could have been taken somewhere but it's also not really about the place.) Prototyperspective (talk) 22:46, 7 January 2026 (UTC)Reply

How to see why a file is somewhere underneath a category?

[edit]
FastCCI being used to see categorization path of a nonmicroscopic image in the Microscopic images category

How to see why for example this photo of a stone is underneath Category:World statistics (shown in deepcategory:"World_statistics") or this photo of a fish in in Category:Food statistics (shown here)?

Prior discussion here. Dschwen eventually told me of a way to see the source of categorization (example on the right) but it doesn't work anymore, probably because FastCCI is down (it usually is). This should load the cat-path but doesn't: https://commons.wikimedia.org/wiki/File:Rapala_fishing_plug_SSR_9_made_in_Finland.jpg?fastcci_from=118244057

This functionality really is needed to fix miscategorizations and make categories more useful. Is there maybe some hacky way using petscan or sth like that? Prototyperspective (talk) 01:26, 8 January 2026 (UTC)Reply

The FastCCI gadget works for me. It shows World statistics → Global Change → Global cooling → Ice ages → Glacial erratics. The stone photo is directly inside Category:Glacial erratics. – Ammarpad (talk) 14:53, 8 January 2026 (UTC)Reply
Now it works for me too. Looks like FastCCI is up again – that's great!
However, it's been down most of the time in the past and was down shortly after whenever it was running again. FastCCI is a great tool with a lot of potential but I don't try using it anymore (I did before creating this thread of course) because there's a low chance of it being up at any time. I hope eventually somebody will fix whatever causes it to go down all the time.
Another issue is that this hacky way is cumbersome to use: one has to go the category go to Tools -> Page information, then copy that ID, then open the one specific image (there's usually many) in a new tab, and then manually append the remembered ?fastcci_from= with the copied ID. A tool even if it's just a bookmarklet would be a great help.
A third issue is that nearly nobody is aware of this functionality so people don't make use of it to fix miscategorizations. Prototyperspective (talk) 15:13, 8 January 2026 (UTC)Reply
Btw for people clicking the link above: I fixed the miscategorizations of the examples so nothing may display there anymore.
Lots of categories have offtopic files somewhere underneath them so this could be used by many to substantially improve Commons by using the deepcategory view on categories and scanning any offtopic files. Help:Gadget-DeepcatSearch makes this easy (just 2 clicks to see the wall of images).
For example, the searchbox for categories {{Search in category}} should not be added if the deepcat search fails on the category – and this often is the case because of some miscategorization that adds in a very deep huge category branch that's not supposed to be underneath the category or needs to be more specific (via adding a subcat of it instead). This was probably the case for Category:World statistics where the deepcat search fails so it can get a searchbox once the deepcat results have been updated. Prototyperspective (talk) 23:47, 8 January 2026 (UTC)Reply

Search command for files with empty pages

[edit]

Hi!

Sometimes, probably due to an upload error, some files don't get a description with license etc. How can I look up files uploaded by user X that have no file description? Thanks --PantheraLeo1359531 😺 (talk) 08:56, 8 January 2026 (UTC)Reply

The problem is that one can't search uploads of a user. Thought about making a thread about this broader issue. See the linked phab issue. If the files were not just uploaded but created by the user or all in some category or have some other text in them, you can use Category:Media lacking a description e.g. by using the incategory search operator to search through it. Prototyperspective (talk) 15:31, 8 January 2026 (UTC)Reply
Oh, that's a pity. I would really support a thread. Unfortunately, this affects many users, and it would be a shame if some files must be deleted because lost information cannot be retrieved. Thank you for your answer! --PantheraLeo1359531 😺 (talk) 18:40, 8 January 2026 (UTC)Reply
"can't search uploads of a user." if you have to, you can use a quarry query of course. Part of the problem here is that the database design for current and old versions of files was never modernized the way that pages and revisions were in 2005. However this is currently in progress and soon the img tables will be replaced with file, file_revision and file_archive tables. That should make it a bit easier to filter on actors on those file revisions. —TheDJ (talkcontribs) 12:50, 9 January 2026 (UTC)Reply
Even that workaround can't often be used because it doesn't display the results in Commons where one can use this to filter, search, and sort files via MediaSearch. For now, the only way to get the full functionality seems to be creating a user-category and adding it to all the relevant uploads using cat-a-lot and then using incategory:"new user category".
img tables will be replaced with file, file_revision and file_archive tables. That should make it a bit easier to filter on actors on those file revisions will this enable searching files by uploader or will adding that functionality only become possible (but maybe not be done) after this is built or something else? Prototyperspective (talk) 14:56, 9 January 2026 (UTC)Reply
The latter. —TheDJ (talkcontribs) 10:42, 10 January 2026 (UTC)Reply
No page, or no content of the page ? There's a pretty big difference in that. —TheDJ (talkcontribs) 12:12, 9 January 2026 (UTC)Reply
It is like these: User:Achim55/Files without file pages. We have the file on the page, but any text is missing. --PantheraLeo1359531 😺 (talk) 10:23, 10 January 2026 (UTC)Reply

Files with new MIME types

[edit]

I was a bit surprised when I saw Special:MediaStatistics today. It seems we have unknown/flac, unknown/mpeg and even video/mp4. MP4 could be problematic because of pending patents. The flac and mpeg seems to have no support for on-page play (also missing information like duration or bit rate). --PantheraLeo1359531 😺 (talk) 10:15, 10 January 2026 (UTC)Reply

Strange, I filed phab:T414259TheDJ (talkcontribs) 10:57, 10 January 2026 (UTC)Reply

Videos fail to transcode

[edit]

I apologize for cross-posting my question. I have posted it to the Help Desk a few days ago, but have received no reply so far. If there is a more appropriate forum for asking this question, please let me know.

I have uploaded the video File:Construction of the 600-cell.webm on 6 January. Transcoding to the low-resolution versions up to VP9 480P was successful. However, the transcoding to VP9 1080P has been in the queue for almost four days now. The same problem seems to happen for the video File:Construction of the 600-cell (cell-first).webm that I uploaded yesterday. I am wondering why the transcoding to VP9 1080P is not being performed and what can be done about it. Is there any way to diagnose what the cause of the problem is? Is there any way to transcode the videos manually or to cause the transcoding to be executed? Any hints will be much appreciated. Carsten Steger (talk) 07:15, 11 January 2026 (UTC)Reply

It might have something to do with the #WAV files being uploaded with wrong MIME type issue listed above. Or it might be that the servers are simply overloaded. Its difficult to tell. I'm asking around. —TheDJ (talkcontribs) 23:05, 11 January 2026 (UTC)Reply
@Carsten Steger: I have filed phab:T414427 for the 1080p backlog issue, because I don't see that backlog being fixed without adding server capacity. —TheDJ (talkcontribs) 11:13, 13 January 2026 (UTC)Reply
Hi TheDJ, thank you very much for looking into this and for filing the Phabricator request! -- Carsten Steger (talk) 15:03, 13 January 2026 (UTC)Reply

Tech News: 2026-03

[edit]

MediaWiki message delivery 19:30, 12 January 2026 (UTC)Reply

Special search partially down?

[edit]

Hi, since today i notice that this special seach query is not delivering the expected results. "Georg Scholz" -deepcategory:"Georg_Scholz" . Expected to exclude but it does include the cat. I tested this in 2 browsers. Has anything been changed? Maybe one more of the available special search buttons of the categorie MORE menu is affected. Like: deepcategory:"Georg_Scholz" should show all but shows nothing. Looks like these 2 actions are inversed somehow. Can this be fixed please? Thanks Peli (talk) 15:11, 15 January 2026 (UTC)Reply

It is not working for me either. Strangely for me, deepcat only works for categories with only one word in its title (i.e. title without any spaces), all other category names does not work. Thanks. Tvpuppy (talk) 20:36, 15 January 2026 (UTC)Reply
I've noticed the same while doing deepcat searches on Wikipedia birthday cakes. I've opened a ticket: T414763. ~Kevin Payravi (talk) 02:03, 16 January 2026 (UTC)Reply
A patch has been submitted here. ~Kevin Payravi (talk) 15:43, 17 January 2026 (UTC)Reply
Thanks, but on Wikimedia commons in categories I still see these errors of not showing any deepcategory items on empty query, and of not properly excluding the category contents upon using -deepcategory. I'm not sure if I need to purge a page or something, beacause I tested it in 3 browsers and the reslults are: never the requested items, in all 3 cases. Peli (talk) 18:49, 17 January 2026 (UTC)Reply
@Pelikana: Sorry I wasn't clear, the patch was created but it hasn't actually been deployed yet. I'm guessing we won't see it fixed until early in the week. ~Kevin Payravi (talk) 20:02, 17 January 2026 (UTC)Reply
Hi, it looks like the issue has been solved on some level. It's repaired or patched and workable now. thanks. Peli (talk) 08:57, 21 January 2026 (UTC)Reply
Today I found a bug in cases where the query has an "&". Example: deepcat:"Pellerin & Cie" Try a deepcat search in deepcat:"Pellerin & Cie" results in this search: deepcategory:"Pellerin_ No matches because wrong folder name. The folder name to look in is truncated after the "&". I know there must be a patch for this since my branched button that automates " " -deepcat:" " ("Pellerin & Cie" -deepcat:"Pellerin_&_Cie") has such a patch and works well at this time. The fork is hosted and patched by User @Samwilson: . I hope the regular button/function can be patched as well, without affecting opposite functions. i.e Search outside of category. Peli (talk) 11:15, 22 January 2026 (UTC)Reply
Please file a (separate) bug report for that.
I also found another similar problem where incomplete are shown and now filed a separate issue, phab:T415299 Incomplete deepcategory search results despite of no warning message. Prototyperspective (talk) 18:03, 22 January 2026 (UTC)Reply

Uses of Wikidata Infobox for deleted Wikidata items

[edit]

Can anyone explain why Category:Poudenas is in Category:Uses of Wikidata Infobox for deleted Wikidata items? Like any normal use of {{Wikidata Infobox}} there is no explicit qid; the category is linked in what appears to be the usual manner by Poudenas (Q1104298). - Jmabel ! talk 03:13, 16 January 2026 (UTC)Reply

@Jmabel: Probably a caching issue. If you edit Category:Poudenas, the link "Wikidata item" in the sidebar goes to the recently deleted d:Q130513616 item. LennardHofmann (talk) 10:02, 16 January 2026 (UTC)Reply
So not only a caching issue, but one not fixed by action=purge (which I had already tried). So just wait and hope it "heals"? - Jmabel ! talk 19:08, 16 January 2026 (UTC)Reply
 Comment, this is likely related to this ongoing discussion here: Commons:Village pump#No infobox visible in Category. Thanks. Tvpuppy (talk) 19:51, 16 January 2026 (UTC)Reply
Yup, I'd just noticed that and was coming here to post the same. - Jmabel ! talk 21:54, 16 January 2026 (UTC)Reply

Tech News: 2026-04

[edit]

MediaWiki message delivery 20:26, 19 January 2026 (UTC)Reply

A cluttered unoverseeable sea of blue that's exhausting to go through – really an improvement?
Great to see some work on the Global Watchlist – it includes a button to see a diff of all unseen changes with a click. I don't know how people can use the Watchlist without such a button.
However, it's still not really usable in practice because unless you check all your Watchlist items each and every day there are seas of blue of username-links and that diff button is at an always varying location after the article title, impeding opening up many diffs one after another.
Here's two wishes calling for this to be changed; I don't think the Global Watchlist is usable really in its current shape so I hope somebody will eventually fix these problems (at least via options):
(voting open!). Prototyperspective (talk) 23:20, 20 January 2026 (UTC)Reply

STL file is rendered incorrectly by the media viewer 3D extension

[edit]

I have just uploaded the file 5-Cell Schlegel Diagram.stl. All the previews have been rendered correctly. However, when I display the file in the media viewer, it is rendered incorrectly: basically, the entire object is displayed in pure white, as if the object was completely overexposed. The display problem occurs under Linux as well as under iOS. Is there a way to diagnose why this is happening? What can I do to make the STL file render correctly in the media viewer? Any suggestions will be much appreciated. Carsten Steger (talk) 14:34, 20 January 2026 (UTC)Reply

Linked relevant Phabricator ticket. - Jmabel ! talk 19:39, 20 January 2026 (UTC)Reply
There are other STL files that are not displayed correctly. For example, the file Sphericon.stl is displayed as a medium gray filled polygon in Safari on iOS. Carsten Steger (talk) 21:22, 20 January 2026 (UTC)Reply
Or Wikipedia puzzle globe 3D render.stl, Menger sponge 2.stl and 3D model of the human mouth.stl, which, like the file I have uploaded, are displayed much too bright (almost completely white). Carsten Steger (talk) 21:28, 20 January 2026 (UTC)Reply
I get the same incorrect rendering under Windows with Firefox and Internet Explorer. Since the preview rendering with 3d2png works correctly, I suspect this is a bug in the 3D extension of the media viewer. Maybe the bug can be spotted by comparing the code of 3d2png to that of the 3D extension? Carsten Steger (talk) 07:58, 21 January 2026 (UTC)Reply
[edit]

On this one File:Great_Mandala_(大曼荼羅)_of_Nichiren_Buddhism.svg I want to have language switching so that in japanese it links to all of the Japanese articles, english to the currently linked articles, etc. How would I do that? Immanuelle ❤️💚💙 (please tag me) 19:12, 20 January 2026 (UTC)Reply

@Immanuelle: To have what link to pages in different languages? Something within the SVG, or something on the file page, or what? - Jmabel ! talk 01:12, 21 January 2026 (UTC)Reply
@Jmabel the clickable links in the svg Immanuelle ❤️💚💙 (please tag me) 01:18, 21 January 2026 (UTC)Reply
@Immanuelle: Those are not in the SVG. Those are just ImageNotes (which contain Wikitext). You can do pretty much anything inside an ImageNote that you can do anywhere else on a page in Commons, and you do it exactly the same way. - Jmabel ! talk 01:22, 21 January 2026 (UTC)Reply
@Jmabel no they are separate from the svg. Go here https://upload.wikimedia.org/wikipedia/commons/4/40/Great_Mandala_%28大曼荼羅%29_of_Nichiren_Buddhism.svg and try clicking on anything in the image. Immanuelle ❤️💚💙 (please tag me) 01:44, 21 January 2026 (UTC)Reply
Oh, interesting, the two ImageNotes (which were what I instantly noticed as clickable) can serve something of the same function, which is why I was confused. I know there are ways to do multilingual SVGs, and I imagine the issues are the same for links in the SVG as for text, but I'm out of my depth there. You might ask one or more of the people who participated in #How to specify a SVG file's default language? above, which is clearly a closely related issue. - Jmabel ! talk 01:50, 21 January 2026 (UTC)Reply
For links directly in the SVG when viewed directly, you can use the <switch> element. However this will use the browser's language which is sometimes different than the language the user expects (And different from whatever site they are viewing). If you want to use this in Wikipedia, I would suggest using an Image map instead. Bawolff (talk) 23:35, 21 January 2026 (UTC)Reply
@Immanuelle:
One option is to link to Wikidata items instead of wiki articles. For example, instead of linking to https://en.wikipedia.org/wiki/R%C4%81gar%C4%81ja, link to its Wikidata item: Rāgarāja (Q1188900). The en.Wiki article will give you the link on the right-hand side. The user can then scroll down to the bottom of the Wikidata page and click a link to his favorite wiki.
A more involved option is a URL that takes the Wikidata item and the HTTP Accept-Language header. The URL would then redirect the user to the user's preferred wiki article if it exists. If it doesn't exist, then the URL would redirect to the Wikidata item.
Glrx (talk) 04:25, 29 January 2026 (UTC)Reply
@Glrx do you know of any files that do that more involved option? Immanuelle ❤️💚💙 (please tag me) 05:40, 29 January 2026 (UTC)Reply
@Immanuelle: No, but the idea has been raised before. The URL needs to be written. It could be on toolforge or a Wikidata endpoint. Glrx (talk) 16:36, 29 January 2026 (UTC)Reply

Blocked for too many requests

[edit]

Hi, I have a VBA script that I use to download the photos, in practice now usually a recent subset of them, that I have uploaded to Wiki Commons. (I won't go into the reason why I want to download photos that I have already uploaded, but there is a reason.) This used to (say a year or two ago) work perfectly even for hundreds and hundreds of images. Now it struggles to do a dozen or so, before I am blocked, I believe for making too many requests in too short a time. Then eventually it will start working again and let me do a few more, slowing down to a trickle. I suppose this blocking must be a feature recently introduced? I have never been blocked from browser access, however. Even immediately after the script being blocked, I can open pages in the browser (from the same IP address). Anyway, I can try adding pauses between downloads. I've tried five or ten second pauses but it seems to make little difference so far. Anyway, I wouldn't have thought my volume was particularly unreasonable on the scale of server traffic generally. Anyone got any info about what is and isn't permitted, or what I can do to mitigate this issue? Thank you. ITookSomePhotos (talk) 22:02, 21 January 2026 (UTC)Reply

See foundation:Policy:Wikimedia_Foundation_User-Agent_Policy and wikitech:Robot_policy. Unfortunately they have become much more strict with this recently. Bawolff (talk) 23:30, 21 January 2026 (UTC)Reply
Thanks Bawolff, that's useful. ITookSomePhotos (talk) 10:10, 22 January 2026 (UTC)Reply

How to categorize pages using the OWIDslider gadget?

[edit]
daily meat consumption per person

Prototyperspective (talk) 18:42, 22 January 2026 (UTC)Reply

Internet is poor currently. Jmh649 is my old old account. Stuff posted there will not get to me. Will look more when internet is better. Doc James (talk · contribs · email) 06:33, 23 January 2026 (UTC)Reply
I posted this on your normal talk page. This is just the name of your archive page which is in your responsibility to rename or keep as is. Okay.
There are many examples of these files missing categories, here's a recent one I came across which may also elucidate the complexities involved here (e.g. do we want these hundreds of files to show up in deepcategory wall-of-images views or somehow separate them?):
Regarding separation or enabling the user to exclude the hundreds of files from OWID mass-uploads, maybe it would be good to better make sure files are put into Category:Uploaded by OWID importer tool so the user can exclude these and maybe add a note about this at the relevant places. I think views/scans usually should only show one or two page/file per set – a page with the interactive data graphic. Prototyperspective (talk) 12:20, 23 January 2026 (UTC)Reply
All the images we upload with the tool should be in the categroyr:Uploaded by OWID importer tool. We can run bots to add specific images to categories. For example see this https://commons.wikimedia.org/wiki/Category:Our_World_in_Data_graphs_by_country and https://commons.wikimedia.org/wiki/Category:Our_World_in_Data_maps_by_continent.
I am thinking it might be easier to do more categorization after the upload rather than during the upload as these uploads are complicated. Doc James (talk · contribs · email) 07:22, 27 January 2026 (UTC)Reply
With respect to OWID: this is a namespace and would require permission to put content in it. If you can request and get consensus for that would be happy to put these all there by bot.
Per here have uploaded about 211,000 of these images so far. https://commons.wikimedia.org/wiki/Category:Uploaded_by_OWID_importer_tool Doc James (talk · contribs · email) 07:28, 27 January 2026 (UTC)Reply
So that graphs by country cat is populated by a bot; if so that sounds good – then there's less need to set the cat at time of upload and it could explain why you say "it might be easier to do more categorization after the upload rather than during". With respect to OWID: this is a namespace Don't understand what you mean. Basically the main issue of the thread is that the files are missing in the topic categories like Category:Meat statistics or Category:Renewable energy statistics and because it could clutter the pages and the category's search results, that may be good but the interactive visualization should be in these categories – so for example a page OWID: Daily meat consumption per person that loads quickly and contains just the interactive visualization embedded above. The OWID there is not the namespace but the page title (just standardized to have the OWID prefix) so it would be in the "Main"/gallery namespace in this case. If this is a good/best solution to that issue, then it would still need all those visualizations indexed (mostly or entirely?) in Category:Pages using gadget owidslider to get one of such page each. Prototyperspective (talk) 18:47, 27 January 2026 (UTC)Reply
All the pages with the OWID visualizations are listed here Category:Pages_using_gadget_owidslider About 500 of them.
Please read this about naming conventions for namespaces Help:Namespaces Doc James (talk · contribs · email) 23:50, 27 January 2026 (UTC)Reply
Could you please address the questions – I linked that category in the comment you're replying to. Please see the part around and isn't it a problem… above. I thought it would be a good idea to discuss this instead of me figuring out myself what the best solution would be and then unilaterally implementing whatever it is without discussion but this is not much of a discussion. If you were saying you think a new separate namespace would be a good approach, that's not clear and I don't understand why that's needed or would be better than e.g. to create the mentioned kind of mainspace pages. Prototyperspective (talk) 00:09, 28 January 2026 (UTC)Reply
What I am saying is we cannot use the title "OWID:Text" unless we get approval from the community at large as that is a new namespace.
I personally think the Category:Pages_using_gadget_owidslider is sufficient for me to find all these. If you want just the interactive graphs placed on a separate page we could do that, and would just need a naming structure.
What we have currently is here Template:OWID/daily_meat_consumption_per_person and we could have just the interactive graphs at Template:Daily_meat_consumption_per_person but not sure we need this. Doc James (talk · contribs · email) 01:22, 28 January 2026 (UTC)Reply
Thanks for clarifying. Okay so it can't be colons in the prefix as that for pages in the "main"/gallery namespace indicates/requires a new namespace. One could also have the prefix be OWID – or OWID/ for example – the particular suggestion was just an idea/illustration.
I personally think the Category:Pages_using_gadget_owidslider is sufficient for me to find all these as elaborated above, the issue is making these findable for those looking for statistics of a certain topic via either browsing the associated category page or the search. Just having them in that category doesn't achieve that – it's about surfacing these visualizations to people who could be interested in them / to which these are useful.
If you want just the interactive graphs placed on a separate page we could do that do you know if there's a way to do that for all the pages in the Pages_using_gadget_owidslider cat? (maybe using some bot or tool) would just need a naming structure that's what the OWID: visualization name was all about – do you have another suggestion or which prefix(/suffix) would you prefer?
but not sure we need this as explained in the post starting the thread, these pages take long to load and are problematic to edit. It requires downloading lots of data and HotCat does not work on these so one can't edit the usual way and with autocomplete. Opening the wikitext editor takes long and is prone to failing. Also linking to these pages is probably confusing where people wonder what all the many files on the page are about and/or browse these instead of the interactive visualization. An alternative approach would be to remove the files from the template page but I'm not sure if that causes the visualization to break. The pages could link to each other. Prototyperspective (talk) 13:57, 28 January 2026 (UTC)Reply
Okay so like this OWID/daily_meat_consumption_per_person? Doc James (talk · contribs · email) 00:55, 29 January 2026 (UTC)Reply
This is in the gallery namespace which has no prefix. From reading here Commons:Galleries it seems this is okay but might be worth asking a wider audience before we create them all. Doc James (talk · contribs · email) 01:00, 29 January 2026 (UTC)Reply
Asking a wider audience is what I was/am doing here; I thought and think this is the most appropriate large-audience place to discuss this. I pinged you in the comment not because this was addressed to just you. Okay so like this OWID/daily_meat_consumption_per_person? Yes, exactly, thanks. I edited the page to make the visualization larger and center it, what do you think? And also is there a way to create these pages for all the visualizations? Then I'd remove the cats on the large template pages and add them to these pages similar to how files are categorized (nearly all files in Category:Our World in Data except for these OWID Importer mass uploads are by now categorized by subject so this is basically the remaining issue to complete the topical categorization of these data graphics). Prototyperspective (talk) 13:19, 29 January 2026 (UTC)Reply
Yes all these pages can be created by bot. Doc James (talk · contribs · email) 23:40, 29 January 2026 (UTC)Reply
Nice, could you do that if there already is a bot for this and if not create the discussion at Commons:Bots/Requests? Prototyperspective (talk) 11:46, 30 January 2026 (UTC)Reply

Regex help needed

[edit]

Please see my question at Commons talk:File renaming#Adding prefix. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 16:44, 24 January 2026 (UTC)Reply

[edit]

Files like File:St_Peter,_Bounces_Road,_Edmonton_-_geograph.org.uk_-_3802520.jpg and File:The Reverend Clive Foster MBE 1.jpg have pencil-shaped edit links for structured data. Can those icons be hidden in the printable version accessible from Tools, for the same reason why the main "Edit" link is hidden? Maybe the magnifier icons and the question mark icons, too. I'm guessing those are a part of a template somewhere, but I couldn't identify it. whym (talk) 05:01, 25 January 2026 (UTC)Reply

This is implemented by Module:WikidataIB. They can add "noprint" to class surrounding that symbol and it should no longer be there. —TheDJ (talkcontribs) 16:46, 26 January 2026 (UTC)Reply
Thanks, but is that module for SDC in addition to Wikidata? The data values of the 2 files mentioned (at least those in the Summary/Information section) are pulled from SDC, although the properties are from Wikidata. I found core.editAtSDC and core.editAtWikidata in the meantime. Perhaps both modules are to be edited? whym (talk) 12:01, 28 January 2026 (UTC)Reply

Is it possible to check file EXIF data with edit filters?

[edit]

Is it possible create an edit filter that would check file EXIF "user comment" field? Many copyvios have user comment "Screenshot" and it would be useful to automatically tag such uploads. Preventing is not necessary as there are legitimate files as well. MKFI (talk) 12:21, 25 January 2026 (UTC)Reply

Let me hasard a guess: it's not possible, unfortunately (at least right now). Perusing Commons:Abuse filter and mediawikiwiki:Extension:AbuseFilter/Rules format, I didn't see any mention of (pre-made) EXIF-related variables. If, and that's a large if, the software could allow for arbitrary user-defined variables, then it's conceivable that such an EXIF-specific rule may be developed, but that's way beyond my own abilities. Pinging @Lustiger seth: whom I know as being knowledgeable about the edit filter technique, he may be able to provide a technical insight. Regards, Grand-Duc (talk) 13:26, 25 January 2026 (UTC)Reply
Currently i don't see any possibility for using exif variables.
There are file attributes such as file_mime, file_size, file_width, but nothing for file content (incl. exif data). So i guess you should create a feature requesting ticket at https://phabricator.wikimedia.org. The only related ticket i found was https://phabricator.wikimedia.org/T170251, but that's only related vaguely.
-- seth (talk) 13:52, 25 January 2026 (UTC)Reply
This would also be an extremely useful feature for identifying likely AI uploads and Facebook copyvios. Omphalographer (talk) 05:07, 26 January 2026 (UTC)Reply
The only way to do that right now, is to use quarry. —TheDJ (talkcontribs) 16:42, 26 January 2026 (UTC)Reply
As an aside, there's a slightly neater way of doing that which you might be interested in: quarry:query/101452. Omphalographer (talk) 18:42, 26 January 2026 (UTC)Reply
I often take screenshots of pictures I have taken to make sure that the geolocation data is removed. Doc James (talk · contribs · email) 08:04, 27 January 2026 (UTC)Reply
@Doc James: that's a really dirty way of removing metadata and, forcibly, reducing the quality. May I suggest that you edit the EXIF directly? There are hints for that in COM:Exif, I'd say "Use EXIFTool and EXIFToolGUI" (as long as you're on Windows), handy pieces of software for that. Regards, Grand-Duc (talk) 10:56, 27 January 2026 (UTC)Reply
On Windows, you can edit EXIF via the file properties, which is even easier. - Jmabel ! talk 18:32, 27 January 2026 (UTC)Reply

Uncaught SyntaxError

[edit]

I have a problem with the VRTS release generator. While I'm trying to use the generator in Hebrew, I'm getting error message Uncaught SyntaxError (see the file in the right). and the generator stuck on "Loading..." (see he below). when I'm trying to do the same in English I'm not getting the error message but still it stuck on "Loading..." (see en below).

Maybe someone has an idea how to solve the problem? -- Geagea (talk) 08:27, 26 January 2026 (UTC)Reply

"stack" => "stuck" I presume. Had me thrown for a moment, because "stack" almost makes (completely different) sense. - Jmabel ! talk 00:18, 27 January 2026 (UTC)Reply
thanks. corrected. -- Geagea (talk) 07:07, 27 January 2026 (UTC)Reply

Tech News: 2026-05

[edit]

MediaWiki message delivery 21:14, 26 January 2026 (UTC)Reply

Extra line break in PD-Canada-Crown template

[edit]

My Image Annotation button is gone

[edit]

Is it only me, or are annotations broken for anybody else as well? I neither see any existing annotations nor does the button "Add note" appear. And no, I didn't switch it off in my settings. Chianti (talk) 22:20, 28 January 2026 (UTC)Reply

Works for me. That's about the last thing to load, via JavaScript, after a whole bunch of other JavaScript, so if any other JS is broken, or if your JS times out, it could be missed. If you are enough of a techie to use the browser console, you may find a coherent error message, possibly very tangentially related to the symptom. - Jmabel ! talk 05:49, 29 January 2026 (UTC)Reply
Works for me in Chrome, Safari, and Firefox, but not Vivaldi, and it doesn't give any errors. While testing, I found that annotations won't show if the window is too narrow (less than about 830 pixels wide), so if your browser is blocking access to the window size (or you're using it on a phone in portrait orientation), that might be the problem. --Carnildo (talk) 22:17, 29 January 2026 (UTC)Reply

Ongoing WMF-sponsored work on video2commons

[edit]

As you probably know, there is not a lot of WMF developer support for Commons these days. The one thing I'm aware of that is moving forward is that they have a contractor working on video2commons. At meta:Product and Technology Advisory Council/Unsupported Tools Working Group#January 2026 they report some recent work; what is probably of most general interest is support for playlists and user-library uploads, better subtitle extraction, and several aspects of support for importing from YouTube.

From what I can tell, the one contractor currently working directly on this is doing good work; still, I continue to believe that Commons could benefit greatly from far more WMF dev support. It is good that they've shown that certain work can be successfully contracted out, but it is equally clear that most cannot, and that we need people at least a handful of developers who bring or, well, develop an understanding of Commons, not just of some individual tool. (With reference to "equally clear that most cannot", I was party to some of the discussions of where to focus this resource, and several higher priorities were rejected because handing them to a contractor would set that contractor up to fail.) - Jmabel ! talk 18:01, 29 January 2026 (UTC)Reply

"Hist" becoming "History"

[edit]

I noticed that the "hist" link on Special:Watchlist and Special:Contributions now says "history". Is there a reason this was changed? I'm not sure it's necessary and the fact it's wider than "diff" makes it look very awkward. - The Bushranger (talk) 06:05, 31 January 2026 (UTC)Reply

I found that weird, too. But my main reaction is: I'm sorry anyone put any time into changing that, and hope they don't then waste more time changing it back. - Jmabel ! talk 23:47, 31 January 2026 (UTC)Reply
See phab:T244411. The change has been reverted. NguoiDungKhongDinhDanh 00:05, 1 February 2026 (UTC)Reply
Still seeing "history" on my watchlist. I assume the reversion is still percolating through the system? - The Bushranger (talk) 04:51, 1 February 2026 (UTC)Reply
That's correct. It's not deployed yet, at least not here. NguoiDungKhongDinhDanh 04:53, 1 February 2026 (UTC)Reply