Jump to content

Commons:Village pump/Technical

Add topic
From Wikimedia Commons, the free media repository
Latest comment: 3 hours ago by PantheraLeo1359531 in topic Need help for MassRename

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/03 /Archive/2026/04.

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.

Commons contributors by number of uploaded files (in use)

[edit]

Commons:Commons contributions achievements/Commons contributors by number of uploads is a relatively new meta page showing a table of Commons users with a column for the number of files upload.

  • I just wanted to check which quarry I used to create it but the server times out with error [65d16284-b14b-40ad-aff6-d0fa12d44efb] 2026-02-19 18:17:35: Fatal exception of type "Wikimedia\RequestTimeout\RequestTimeoutException" – the table can still be accessed in the archives here. Maybe somebody knows how this can be fixed (the points below require either that or creating a new page).
  • Does somebody know how to add a column for a) rank b) whether or not the user is a bot c) number of files in use in any Wikimedia project d) maybe number of files in use in Wikipedia mainspace separately.
  • Maybe people have further ideas for columns – e.g. maybe it's possible to have sortable column to also show number of files by filetype, and/or fraction of files in mainspace use, and/or files that are own work...

I think these would be interesting stats. Prototyperspective (talk) 18:26, 19 February 2026 (UTC)Reply

For the timeout, splitting this across multiple pages might help. Bawolff (talk) 21:04, 22 February 2026 (UTC)Reply
What is interesting is the percentage of files in use. Yann (talk) 21:35, 22 February 2026 (UTC)Reply
Does somebody know how to add a column for … c) number of files in use in any Wikimedia project d) maybe number of files in use in Wikipedia mainspace the percentage could be calculated from that but I'm not sure it's more meaningful than number of files in use; percentage would imply one barely ever uploads other kinds of files. Prototyperspective (talk) 21:42, 22 February 2026 (UTC)Reply
Well, having 1,000 files in use is not the same after uploading 1,000,000 files or after uploading 2,000 files. Yann (talk) 21:49, 22 February 2026 (UTC)Reply
This could however be read by also looking at the other column that has that number. Anyway, I wouldn't have an issue with the percentage which btw is also shown in the Commons app. Prototyperspective (talk) 22:14, 22 February 2026 (UTC)Reply
https://quarry.wmcloud.org/query/102335 (adding in use slowed down the query significantly. Percentage, and in use on main ns on a wikipedia are probably also possible but would slow it down more) Bawolff (talk) 06:22, 23 February 2026 (UTC)Reply
Amazing, thank you! Since this would be run only rarely I don't see much of a problem with it taking long to load (in this case ~13 minutes). Regarding percentage, I think this can be seen in the columns and if one added it, one can't use it for sorting because at the top would be lots of users who uploaded just 1 or so file(s) which is in use. I would have no issue with it being added but don't think it's needed or very useful.
Do you know how one could show the number of files in use on Wikipedias mainspace? This is useful because for example some files are used only in sandboxes, talk pages or are pronunciation audios used in lots of wiktionary and Wikidata pages. Prototyperspective (talk) 14:11, 23 February 2026 (UTC)Reply
Query updated to show that. Note this only includes actual main space, will not include non-main content namespaces like portal. It determines if the site is a wikipedia by if the wiki name ends in "wiki" and os less than 9 letters. I think that should include all wikipedias and exclude other sites, but there could be edge cases possibly. Bawolff (talk) 18:12, 23 February 2026 (UTC)Reply
Aside: while percentage of files that are in use can be interesting, it should not be seen as a metric of who is a great contributor of content to Commons. A very high percentage usually means someone whose uploads have been driven precisely by what is need it in some particular sister project or projects, and who rarely or never uploads more than one image related to a particular subject. Example to the contrary: I just uploaded several dozen photos I took of contributing properties of NRHP-recognized historic districts in Binghamton, New York. Most of these buildings previously had no image on Commons. Few, if any, are likely to end up "used" in the near future because the en-wiki articles on these topics are stubs or near-stubs, the Wikivoyage article has exactly one image of the city's historic center, and I can't think where else they would show up on a sister project. Nonetheless, they are clearly well within Commons scope, and I can't imagine an argument against us actively wanting such images. - Jmabel ! talk 20:50, 23 February 2026 (UTC)Reply
Yeah, sometimes a closer look is needed. I cover the upload of orthophotos. With this, you can link the images to almost any geographical point in Germany or the US in Wikidata. This would mean the usage of maybe more than 100k files, but needless to say I cannot do this by hand :D --PantheraLeo1359531 😺 (talk) 11:11, 3 March 2026 (UTC)Reply
Super interesting, thanks! I find the use in WP-mainspace column the most interesting – since there is no way afaik to enumerate the table based on whatever column is sorted by, could you add a column for the # of number in use on WPmNS? Moreover, maybe a separate list without the bots would be interesting too but it seems like the human/bot boolean is totally false. Many bots, incl the user with most uploads do not have the bot flag but https://commons.wikiscan.org/ does show the correct bot flag – do you know why that is or how to show the correct value in that column? Maybe the accounts' bot flag was removed from somewhere where it shouldn't have been removed or it's not set but sth else is set that could be shown. Minor correction: it should be 'Files uploaded', not 'Images uploaded'. Prototyperspective (talk) 00:54, 24 February 2026 (UTC)Reply
Sorted on the other column https://quarry.wmcloud.org/query/102363 Bawolff (talk) 02:19, 24 February 2026 (UTC)Reply
Thanks! I've now put it on a page where links are clickable and which can be found from within Commons: Commons:Commons contributors by number of uploads and Wikipedia uses thereof (1-5000)
I've put further ideas and remaining issues regarding the list(s) into section "Development". For example, it would be nice if the usernames could be linked to their Uploads page (and I think linking there instead of their userpage also avoids them getting pinged). Prototyperspective (talk) 18:02, 24 February 2026 (UTC)Reply
Those are files uploaded and files in use right, not just images? Because the tables are named as if these were just images so I'm confused whether to rename the column. Prototyperspective (talk) 22:39, 24 February 2026 (UTC)Reply
Yes these are files of all types. The term image is used in the database for historical reasons. Bawolff (talk) 06:21, 25 February 2026 (UTC)Reply
8.8 Mio. files uploaded by one entity is just incredible 😶 --PantheraLeo1359531 😺 (talk) 17:43, 25 February 2026 (UTC)Reply

Exploratory: Handling the uploading of images better

[edit]

This is nowhere near any form of proposal. If it were I would have formulated it as such. This is separate from the question "Should this be done?" which is when a proposal might be made in order to determine that greater decision.

Background / problem

A strong example of the issues Commons faces, especially with bulk uploads, is discussed with respect to a particular uploader at Commons:Administrators' noticeboard/User problems § Uploads by Fabe56. I do not anticipate that we shoudl discuss uploader specific issues here. I use ut purely as an example. Distilling the key points from the tl;dr discussion for those without the inclination to take a deep dive, it is all too easy, and with good faith, to Upload great swathes of files which are correctly licenced for onward use, without:

  • using sensible file names. "DSC, IMG etc are useless for descriptive and retrieval purposes
  • entering the uploaded files into a meaningful category scheme which is part of a full Commons hierarchy
  • using critical judgement and uploading many files of high'y similar nature

This results in the use of Commons as what may appear to be a personal file store by some uploaders, perhaps even a kind of vanity of the "I have uploaded more than you" sort

Solving the existing issues

Nothing obvious springs to mind to solve the existing problem. We are not speaking of a small number of files. The example has over two hundred thousand files of varying quality and variable retrievability. It might be that Commons has to bite the bullet on legacy uploads and work towards a future which seeks to promote good housekeeping at upload time.

Working for the future

I assume there is some form of Edit Filter which is, or can be implemented on Commons which would seek to control this at upload time. This is the reason I have posted this at the technical Village Pump, not the one for proposals. I hope that those who understand filtering tools and enjoy technical puzzles can look at the issues form above, and consider how uploads might be better handled to seek to ensure the ability to catalogue them for retrieval and, where desirable, use.

I'm posting this exploratory post because I do not have the skill to formulate even in plain language, how a technical solution might be created. But we have experts in all fields here who have that skill. 🇵🇸‍🇺🇦 Timtrent 🇺🇦 talk to me 🇺🇦‍🇵🇸 12:59, 2 March 2026 (UTC)Reply

Please see Commons:File naming and Commons talk:WMF support for Commons/Upload Wizard Improvements#Guidance/facilitation of categorization. Further comments there as well as specific ideas what else could be done (how) would be welcome. Prototyperspective (talk) 14:01, 2 March 2026 (UTC)Reply
@Timtrent: Sorry, I seemingly fail to understand what you wanted to express in your section heading. The sequence of an adjective and two -ING words is puzzling for me, who's not a native English speaker, so I can't correct that in my head. Did you use some kind of autocompletion tool while writing who bungled the wording? Going by the main body of text, did you perhaps mean something along the lines of "Exploration of possible new ways to better handle file uploads"? Please confirm or fix the wording according to your actual idea. Regards, Grand-Duc (talk) 16:06, 2 March 2026 (UTC)Reply
I amended the title. 🇵🇸‍🇺🇦 Timtrent 🇺🇦 talk to me 🇺🇦‍🇵🇸 18:26, 2 March 2026 (UTC)Reply
Since Commons:File naming already says that images should not have generic names such as DSC123456.jpg it does seem appropriate that an Abuse filter would at least log such uploads if not outright block them. For Fabe56 to have uploads 18000+ DSC... images without challenge is odd, I'm sure there are other automatic meaningless names they used.
Since the filter is just on an per edit basis, a bot would presumably be required to spot a pattern of possible bad upload behaviour. It would also be useful if a bot made regular lists of batch uploads with a common factor, such as all from a Flickr account; all named in a format {prefix} {number}.{extension}; etc. This would make it easier to review mass uploads to flag as problematic, raise a deletion discussion or if useful to better name/categorise/etc as a group. It would also be easier to go back and review past batches for an uploader if a problem is identified. KylieTastic (talk) 19:27, 3 March 2026 (UTC)Reply
Looking into that, Flickr transfers of DSC filenames aren't caught by the MediaWiki:Titleblacklist. A Fabe56 upload like File:DSC 8266 (13991064494).jpg wouldn't have triggered the File:DSC.[\d\s]+\.JPG blacklist entry because of the Flickr ID in parentheses. It's only looking for a plain File:DSC 8266.jpg. We might want to add a few more possibilities for Flickr in the "Other common patterns" section of the blacklist. Belbury (talk) 19:46, 3 March 2026 (UTC)Reply

Just a finding.

[edit]

Whenever I nominate a file for deletion, I start to receive notifications about unrelated deletion requests, and I have to turn off notifications manually. Can someone fix this? Candidyeoman55 (talk) 10:01, 5 March 2026 (UTC)Reply

See the prior discussions about this at Receiving reply notification when subsequent DRs are added to daily page. Looks like by now phab:T412462 is solved but in practice one still needs to manually unsubscribe from the DR page to stop getting these notifications. Prototyperspective (talk) 15:13, 5 March 2026 (UTC)Reply

Critical error with ‘use this file on web’ functions

[edit]

The integration of images from Commons no longer works to a large extent. I described the problem here: https://commons.wikimedia.org/wiki/Commons:Help_desk#Warum_funktioniert_das_Einbinden_eines_Bildes_in_eine_externe_Website_nicht_ (see example). The cause (according to my tests) is that ‘use this file on web’ (or ‘embed’) works with image sizes such as ‘256’ or ‘512’, while technically it has obviously been changed to “250” and ‘500’! If I manually change the 256 or 512 to 250 or 500 in the ‘Embeds’ in the ‘Thumbnail Link’, it works again. With my extremely large number of affected pages from the last 10 years (which I cannot automatically adjust myself), this is extremely annoying. But even the current ‘use this file on web’ template (on German Wikimedia Commons) still offers the old values (which no longer work) – so it is currently inoperable (no longer works). However, it would make sense for the ‘previous solutions’ in the existing world, such as my many pages, to continue to work, e.g. by redirecting the “256” link versions to the new ‘250’ versions. (This applies to the other sizes as well, of course: 512=>500, etc.) Or is there already an elegant solution for automatically changing the format in ‘externally hosted’ websites (in my case, Strato)? It would also be very unfavourable for the ‘use this file on web’ function as a whole if there were no guarantee that the integrations would continue to work in the long term and could not suddenly fail at any time (as is currently the case). Is anyone already working on a solution? Unfortunately, I am unable to do so. What does the solution will look like? Dirk Liesch (talk) 10:54, 5 March 2026 (UTC)Reply

Seems like the stockphoto gadget needs an update to suggest the recommended file sizes. Johannnes89 (talk) 12:44, 5 March 2026 (UTC)Reply
I have a proposed fix on the stockphoto gadget talk page. Bawolff (talk) 10:20, 9 March 2026 (UTC)Reply
@Bawolff: Where? I see nothing at File talk:Wikimedia Commons - Stockphoto gadget.png. - Jmabel ! talk 19:16, 9 March 2026 (UTC)Reply
@Jmabel at mediawiki talk:Gadget-Stockphoto.js Bawolff (talk) 20:13, 9 March 2026 (UTC)Reply
@Bawolff: Thanks!
Question: wouldn't it make sense that when we get a request for a thumbnail size that is no longer supported, we round up to the next higher supported thumbnail size? - Jmabel ! talk 22:40, 9 March 2026 (UTC)Reply
Yes it would, and it would have made everyone's life easier if they did that. Unfortunately they did not and its a giant pain (this script is not the only thing that broke, there has been breakage all over the place). Honestly i find the whole situation annoying and frustrating. Note that special:filepath will round up, if you use it. Bawolff (talk) 01:03, 10 March 2026 (UTC)Reply

The Challenge Speedy Delete button worked but there was an unfortunate anomaly

[edit]

Please examine Commons:Deletion requests/File:Baswanthrao Patil TRS.jpg

Salient points:

  • I challenged an SD on the file using the big grey button
  • There had been a prior DR
  • The SD challenge grabbed the prior DR rationale instead of the SD nominator's rationale
  • This caused confusion between me and Shaan Sengupta who was the SD nominator.

While the circumstances are unusual they are unlikely to be unique. Please will someone who understands this record it as an issue to be investigated? 🇵🇸‍🇺🇦 Timtrent 🇺🇦 talk to me 🇺🇦‍🇵🇸 15:23, 5 March 2026 (UTC)Reply

I went to the old revision, and clicked the "Challenge speedy deletion" button to check, and I got the same incorrect DR message as you did. I have no idea what is the reason for this, since for me the gadget is working fine for the other files in similar situations. Thanks. Tvpuppy (talk) 03:27, 6 March 2026 (UTC)Reply
  • I just tested with other files, I found out that if you clicked the "Challenge speedy deletion" button, it will always get the delete reason of the earliest instance of that specific SD template, not the current instance.
  • So, for the case of File:Baswanthrao Patil TRS.jpg, if other users nominated the file for speedy using {{Copyvio}} again, and then you challenge it, it will always incorrectly get the earliest delete reason made by User:আফতাবুজ্জামান in 2024, not the latest one made by other users (the correct one).
  • The problem is most likely in MediaWiki:Gadget-AjaxQuickDelete.js, probably somewhere between line 735 and 811. However, I have still no idea what the cause of the problem. Perhaps someone more knowledgeable can help fix this.
Thanks. Tvpuppy (talk) 04:01, 6 March 2026 (UTC)Reply

Thumbnails not generating for external wikis

[edit]

In the past several days, thumbnails are not being properly generated acrsso multiple wiki farms that use the wikimedia commons. Clicking through on the thumbnail returns a " Error Use thumbnail steps listed on https://w.wiki/GHai. Please contact noc@wikimedia.org for further information (a765913)"

Has something changed which has broken the standard functionality used by literally thousands of mediawiki wikis that rely on the wikimedia commons shard libraries? - 17:08, 7 March 2026 (UTC) Lestatdelc (talk) 17:08, 7 March 2026 (UTC)Reply

@Lestatdelc, as stated in mw:Common thumbnail sizes#FAQ, the error is probably due to the wikis not using one of the "standard" thumbnail sizes. Previously, the thumbnail will generate for any specified size via URL, but now MediaWiki requires one of the "standard" size to be specified when requesting via URL.
However, this change was made in January 2026, so the problem might be something else if it only occurred in the past several days. Thanks. Tvpuppy (talk) 19:40, 7 March 2026 (UTC)Reply
If you are using mw:Extension:QuickInstantCommons, please update to the latest version. I just recently (like last week) fixed a bug in it to make it compatible with these changes. Bawolff (talk) 10:19, 9 March 2026 (UTC)Reply
And what if I don't want to use a "standard" thumbnail sizes? Then what? You used to be able to change the size of an SVG converted to PNG in the URL. Now you can't
Can't you stop fucking up the site holy shit??!!! First you ban 90% of the users from editing images and now this, what are you going to break next? Yilku1 (talk) 19:49, 14 March 2026 (UTC)Reply
Please be civil and remember to be respectful to others. The change was implemented by MediaWiki and not by users here in Commons, but I certainly believe the change was made to improve the site rather than worsening it. Regarding your second point, I have no idea what you are referring to as I'm pretty sure "90% of the users" are not "banned from editing images". Thanks. Tvpuppy (talk) 20:04, 14 March 2026 (UTC)Reply
I'm fucking tired of EVERYTHING enshittifing, and now it's happening to wikipedia. Who asked for this?
90% of the users can't edit images. You have to ask like a pleb to the admins so you can edit, but only one for the image you asked. Another stupid change nobody asked. Yilku1 (talk) 20:15, 14 March 2026 (UTC)Reply
Explain me how breaking most thumbnails is improving the site? Yilku1 (talk) 03:08, 15 March 2026 (UTC)Reply
If you are using instant commons (not quickinstantcommons) there is a setting you can set where it downloads the original and then resizes locally (to any size you want). Bawolff (talk) 20:40, 14 March 2026 (UTC)Reply

Help fixing template i18n

[edit]

Since no one else would do it, I finally created an {{AI modified}} template, so that we can track media altered by AI software (as required by the new Commons:AI images of identifiable people guidelines). However, I'm sure I fucked up the i18n set-up (which is quite confusing). If anyone could fix it and get it to use the translate extension for i18n, that would be awesome! Nosferattus (talk) 23:53, 8 March 2026 (UTC)Reply

Perhaps it's better to post this at Commons:Translators' noticeboard, since this issue may require a translation admin to fix. Thanks. Tvpuppy (talk) 22:21, 9 March 2026 (UTC)Reply

Tech News: 2026-11

[edit]

MediaWiki message delivery 18:50, 9 March 2026 (UTC)Reply

Requesting bulk data cleanup - Scheer photos with credit in EXIF

[edit]

Andrew Scheer, formerly leader of the opposition in Canada's parliament, has a Flickr stream that releases photos as CC-0, resulting in 1,901 files in Category:Files from Andrew Scheer's Flickr stream. When these files were uploaded from Flickr, since the account's under his name, Scheer was listed as the 'Author'. Poking around some of the files, I see many whose EXIF credits Andre Forget (e.g. File:088A0780 (41365002220).jpg with "Photos Andre Forget / OLO", where I assume OLO refers to Office of the Leader of the Opposition; another with slightly different credit is File:Andrew Scheer (40839023063).jpg).
Request: Is it possible to, in bulk, identify all of those which credit Andre Forget in the EXIF, and update him as the Author/Photographer of those images? Even though we don't need to credit the photographer as the files are CC-0, I think it's still worthwhile to credit the right person. -Consigned (talk) 01:32, 10 March 2026 (UTC)Reply

I know we have bots that access EXIF data and act accordingly; given that Category:Files from Andrew Scheer's Flickr stream is not a large universe, certainly a bot could run over this data file-by-file and edit accordingly.
I don't think there is any user-facing way to search for particular content in EXIF data. - Jmabel ! talk 04:19, 10 March 2026 (UTC)Reply
At worst, we could make sure the existing bot that extracts author info from EXIF data to SDC runs on all files in this category, after which I believe a Quarry query could find the relevant files. - Jmabel ! talk 04:21, 10 March 2026 (UTC)Reply
Quarry can't access SDC, however it can access exif, so it should be posdible to get it to make a list. Bawolff (talk) 22:00, 10 March 2026 (UTC)Reply
@Bawolff: ah, I thought it was the other way around! (Shows what tools I don't use.) - Jmabel ! talk 05:30, 11 March 2026 (UTC)Reply
I can get a list with Quarry - can VFC perform an update using a manual list? I don't think EXIF shows up in VFC's search query. But looking deeper into VFC at Help:VisualFileChange.js/samples#Inserting variables, there seem to be examples of pulling information EXIF out and duplicating it elsewhere - seems like this might work, will look into it further. I've never worked with bots and would prefer to do this on my own if possible. -Consigned (talk) 10:11, 11 March 2026 (UTC)Reply
In case its helpful: https://quarry.wmcloud.org/query/103004 Bawolff (talk) 18:05, 11 March 2026 (UTC)Reply
Thanks, this is indeed helpful. I'm still stuck with VFC not being able to use a custom list of files and its criteria not able to access EXIF, but am going to look into AWB. -Consigned (talk) 10:21, 17 March 2026 (UTC)Reply

Croptool won't let me overwrite

[edit]

Hello, I was trying to crop this image, and I decided to overwrite instead of uploading new (which I haven't tried before), but I got this text: "Upload failed! [api] Received error: abusefilter-disallowed : ⧼abusefilter-warning-file-overwriting⧽". I would have assumed it would let me, considering I'm Autoconfirmed, so I'm allowed to do most other actions. Does this require a higher level of permission? LetmeEditit (talk) 19:15, 10 March 2026 (UTC)Reply

@LetmeEditit Yes, you need autopatrol to overwrite files. Please see COM:OVERWRITE. You may request an exception for that specific file, or you can request the autopatrol permission. Thanks. Tvpuppy (talk) 19:45, 10 March 2026 (UTC)Reply
You would need "Autopatrol" for that, see Commons:Overwriting existing files. Please request that right on COM:RFR#Autopatrol, with your 4k edits, it should be a no-brainer to get it. If you don't want to wait for it, ping me, I'll add {{Allow Overwriting}} for a short time. Regards, Grand-Duc (talk) 19:46, 10 March 2026 (UTC)Reply
Thank you both for informing me. I've put in a request for autopatrol now. I probably won't use it much, since most of the time I think uploading a separate file is better, but it seems like a nice thing to have the option. Side note — I think the error message should be changed to be more clear, it's very vague. LetmeEditit (talk) 20:02, 10 March 2026 (UTC)Reply
@LetmeEditit: but how could it be appropriate to crop in place a file that is used in articles in multiple Wikipedias, rather than upload your own version? You are forcing a change on every one of those Wikipedias. Have you properly read COM:OVERWRITE? - Jmabel ! talk 05:32, 11 March 2026 (UTC)Reply
COM:OVERWRITE is kind of confusing, and it seems like a lot of the policy on here should really be re-written for more clarity. I personally feel like a crop to the image fits the example provided at Commons:Overwriting existing files#Substantial crop or un-crop, since the grass is a fairly repetitive negative space, which IMO doesn't add any value to the image. The image's use case in each article is to illustrate the unique colour of the fox, and I think the large section of grass detracts from that, as it makes the fox hard to see.
I think the best solution would be to re-write this section of policy, as a new user it's confusing and seems contradictory in places. LetmeEditit (talk) 12:13, 11 March 2026 (UTC)Reply
Pinging @Tvpuppy, Grand-Duc, since you both apparently see no problem here. What am I missing? - Jmabel ! talk 05:34, 11 March 2026 (UTC)Reply
You're right, in this case, a new file should be created instead of overwriting. Admittedly, I didn't pay much attention to the file, as I was focused on answering the part about permission to overwrite. Thanks for your additional comment above. Tvpuppy (talk) 10:28, 11 March 2026 (UTC)Reply
I feel a comradeship in spirit with Tvpuppy here... I also only thought about the technological prerequisites of overwriting, not so much about whether the actual act would be sensible here. When I looked at the fox image, I thought, "Yeah, there's lot of background, a crop to the main motif is not a bad idea", but failed to notice the pages where it's used. Regards, Grand-Duc (talk) 11:00, 11 March 2026 (UTC)Reply

Request for privacy: Change Author field to "Unknown" on my uploads

[edit]

Hello,

For privacy and safety reasons, I would like to request a batch update for all files uploaded by my account (formerly Risantana or "Cheposo", now Stratos 499).

I need the |Author= field in the {{Information}} template of all my previous uploads to be changed from "Risantana" to "Unknown" or "Anonymous". My goal is to ensure that my current or former username is no longer linked to these files' metadata or description fields.

Could a bot operator or an administrator assist me with this mass edit?

Thank you for your understanding and help regarding this privacy matter.

Regards, --Stratos 449 (talk) 13:36, 11 March 2026 (UTC)Reply

@Stratos 449: Hi, Works created by you, and uploaded under a free license, cannot be credited to "Unknown". However you can choose whatever pseudonym you want. Yann (talk) 17:07, 11 March 2026 (UTC)Reply
They could relicense it to a different license that does not require attribution. Bawolff (talk) 20:41, 14 March 2026 (UTC)Reply
Including you can use your current account name, if that will do. - Jmabel ! talk 21:18, 11 March 2026 (UTC)Reply

Creating a WD item from Artwork information

[edit]

Hi, Please see Template talk:Artwork#Creating a WD item from Artwork information. Yann (talk) 18:15, 11 March 2026 (UTC)Reply

Overwrite files per OpenRefine

[edit]

Hi!

Deutsch: Ich habe mehrere Dateien über OpenRefine hochgeladen. Mir ist aufgefallen, dass ein URL-Parameter TIFF-Dateien hochgeladen hochgeladen hat, die keine eingebetteten Koordinaten hatten. Die Lösung besteht darin, die neuen URLs zu nutzen und auf die Dateinamen zu überschreiben. Dies funktioniert auch soweit (OpenRefine gibt den Hinweis aus, dass die Datei überschrieben wird), aber die eigentliche Überschreibung erfolgt nicht. Der Mimetype ist derselbe, und ein manuelles Überschreiben via URL funktioniert ohne Meckern. Die Dateien unter neuem Namen hochzuladen und die alten zu löschen, möchte ich vermeiden. Für Ratschläge bin ich dankbar :3.
English: I uploaded several files via OpenRefine. I noticed that a URL parameter uploaded TIFF files that did not have embedded coordinates. The solution is to use the new URLs and overwrite the files to their respective file names. This works so far (OpenRefine displays a message that the file is being overwritten), but the actual overwrite does not take place. The MIME type is the same, and manual overwriting via URL works without any problems. I would like to avoid uploading the files under new names and deleting the old ones. I am grateful for any advice :3.

--PantheraLeo1359531 😺 (talk) 09:01, 13 March 2026 (UTC)Reply

Might help if you would indicate at least one of the files in question, and if the file page does not name the relevant URL(s), please be explicit about that too. - Jmabel ! talk 18:41, 13 March 2026 (UTC)Reply
Of course, sorry! We have File:DOP20 RGB Berlin Sommer 2025 - 373000 5808000 (Senatskanzlei Berlin).tif from TIF source. I would overwrite this file per OpenRefine from the URL GeoTIFF source. --PantheraLeo1359531 😺 (talk) 13:35, 14 March 2026 (UTC)Reply

Tech News: 2026-12

[edit]

MediaWiki message delivery 19:33, 16 March 2026 (UTC)Reply

Opera browser data saver mode

[edit]

this probably niche problem happened to me today. writing here in case anyone might have it too.

i couldnt edit using opera browser on my android phone. after some testing i realised that my ip is different (according to whatismyipaddress.com) when i use chrome and opera. turning off data saver finally makes ip the same and lets me be no longer affected by ip blocks. RoyZuo (talk) 20:22, 17 March 2026 (UTC)Reply

simpleSVGcheck.js is defect

[edit]

The script User talk:Chealer/simpleSVGcheck.js doesn't work anymore. @Flexagoon wrote:

The script no longer works for me, because requests to the validator API are blocked by Content-Security-Policy

What can we do to fix this? Kind regards, --Sebastian Wallroth (talk) 12:38, 19 March 2026 (UTC)Reply

@Sebastian Wallroth (and others): Please do file a subtask of phab:T419265 for any CSP issues in userscripts/gadgets that have started happening -- my comment here (on metawiki) has links to some partially-prefilled task templates I put together in case they're helpful, though it's not required to use them! Best, ‍—‍a smart kitten[meow] 14:09, 19 March 2026 (UTC)Reply
Thanks! I created a report and added @Sebastian Wallroth as a subscriber. Flexagoon (talk) 18:22, 19 March 2026 (UTC)Reply

Images seem to be broken

[edit]

I'm into computer programming, and I've heard that wikimedia commons recently archived most of their images, but now none of them show up on my webpages. I don't know how to input images into my HTML code anymore.

here is a link that doesn't work.

https://upload.wikimedia.org/wikipedia/commons/thumb/9/92/Snowy_Mountain_Valley.jpg/1599px-Snowy_Mountain_Valley.jpg

pretty much all of the old images are broken like this, and they simply don't show up on my webpages. Dragonstudios36 (talk) 14:52, 20 March 2026 (UTC)Reply

Use https://upload.wikimedia.org/wikipedia/commons/thumb/9/92/Snowy_Mountain_Valley.jpg/1920px-Snowy_Mountain_Valley.jpg instead. Try using one of the sizes from this list: 20px, 40px, 60px, 120px, 250px, 330px, 500px, 960px, 1280px, 1920px, 3840px [Personally I find it really silly we are just breaking everything instead of just using redirects]. Near the top of the image page there should be a button labelled "use this file" which will give you html code to include the file. Bawolff (talk) 19:24, 20 March 2026 (UTC)Reply
[edit]

So, I'm rewriting the RotateLink gadget.. The current UI is pretty old - no dark theme, image preview sometimes doesn't load, and the interface isn't very user-friendly. I'm thinking about putting a slider at the bottom of the file preview while keeping the preview centered. Here's what I'm designing now: imgur (direct video: [13]). Open to suggestions; I've been reading some comments on MediaWiki talk:Gadget-RotateLink.js. Nemoralis (talk) 23:43, 21 March 2026 (UTC)Reply

 Comment, the new UI looks very nice, thanks for creating it. Just a minor suggestion, can you specify in the gadget text that the rotation is "clockwise"? I know it is quite obvious, but I think it's better to be clear. Thanks. Tvpuppy (talk) 11:36, 22 March 2026 (UTC)Reply
@Tvpuppy, thanks, I added it. New UI is now live: MediaWiki talk:Gadget-RotateLink.js#Rewrite. Nemoralis (talk) 18:27, 22 March 2026 (UTC)Reply

Tech News: 2026-13

[edit]

MediaWiki message delivery 16:48, 23 March 2026 (UTC)Reply

  • Can someone give a better explanation of the thing about notifications? I don't understand whether this is specific to notifications still on the user talk page or, if not, how it would affect already-archived talk pages. - Jmabel ! talk 20:07, 23 March 2026 (UTC)Reply
    Don't know what you mean. Notifications are the thing that display in the dropdown in the top right. Info on the technical system it uses, Echo, can be found at mw:Extension:Echo. Apparently they want to delete notifications older than 5 years. Prototyperspective (talk) 22:44, 23 March 2026 (UTC)Reply
    • Ah, so this is presumably about notifications one has long since dealt with. Got it. I knew those were called notifications, but presumed it had to be something else, because who on earth looks at a notification more than a few days, maybe a month, after the fact? Five years?? (I guess someone cares...). - Jmabel ! talk 00:44, 24 March 2026 (UTC)Reply

Annotations invisible for logged out users

[edit]

Per title - COM:Image annotations are not displayed unless you are logged in. Qbli2mHd (talk) 01:11, 25 March 2026 (UTC)Reply

Well that makes sense because only logged in users can use gadgets. Nemoralis (talk) 18:39, 25 March 2026 (UTC)Reply
Hmm, it is actually loaded for all users via Common.js. It works for me in a private window (logged out). Nemoralis (talk) 18:47, 25 March 2026 (UTC)Reply
I think I understand where this comes from - annotations won't work if page width (determined on load) leads to image being resized. This happens when the window is too narrow to fit an image; annotations will work if you reload the page with a wider window; they won't work again if you make the window even wider, because a sidebar is inserted to the right and image is resized; they will work again if you make window wide enough to fit both the image and the sidebar. Qbli2mHd (talk) 17:47, 26 March 2026 (UTC)Reply

Placeholder images

[edit]

MOVED from COM:Help desk - Jmabel ! talk 05:37, 25 March 2026 (UTC)Reply
On some image pages this placeholder image : https://commons.wikimedia.org/w/resources/assets/file-type-icons/fileicon-ogg.png is being incorrectly inserted into the html under the "use this file" link. example here: https://commons.wikimedia.org/wiki/File:Ravenscar_-_geograph.org.uk_-_401270.jpg Ndurgom (talk) 09:46, 24 March 2026 (UTC)Reply
END MOVED - Jmabel ! talk 05:37, 25 March 2026 (UTC)Reply

@Ndurgom: I've moved your question to this page where it is more likely to be addressed. - Jmabel ! talk 05:37, 25 March 2026 (UTC)Reply
I don't see a "Use this file" link. Is it the one included by Help:Gadget-Stockphoto? I don't have that enabled. MKFI (talk) 18:35, 25 March 2026 (UTC)Reply
@MKFI: It is.
ANOTHERWlKlPEDlAN wɑit thɑt’s ɑ typo 23:24, 25 March 2026 (UTC)Reply
Its probably because the resolution is so low there are no "view in other resolution" links. User:Krinkle recently made a bunch of fixes to the gadget and i think one of them was to use those other resolution links to pick the download size. [Im guessing here, have not really looked into it]. Bawolff (talk) 09:08, 27 March 2026 (UTC)Reply
@Ndurgom @Bawolff I filed T421557 and am implementing a workaround in the gadget. Krinkle (talk) 23:01, 27 March 2026 (UTC)Reply

State of Flickr2Commons?

[edit]

Flickr2Commons is not working for me right now. I can work around it, but does anyone know what is going on? - Jmabel ! talk 20:02, 27 March 2026 (UTC)Reply

More precisely: everything seems normal along the way, but the actual upload never completes. - Jmabel ! talk 06:21, 28 March 2026 (UTC)Reply

Need help for MassRename

[edit]
Deutsch: Nachdem ich mehrere Dateien hochgeladen hatte, habe ich gemerkt, dass ich durch einen Vorlagenfehler falsche Koordinaten in den Dateinamen gelegt habe. Glücklicherweise konnte ich die eigentlich korrekten Dateinamen rekonstruieren, und habe sie in eine CSV-Datei gelegt Link zur Cloud auf Filen. Kann jemand mit einem Bot die Dateien umbenennen, sodass die Dateinamen passen? Das wäre echt klasse. Herzlichen Dank!
English: After uploading several files, I realized that due to a template error, I had included incorrect coordinates in the filenames. Fortunately, I was able to reconstruct the correct filenames and saved them in a CSV file Link to Filen cloud. Can someone use a bot to rename the files so that the filenames match? That would be really great! Thank you a lot!

--PantheraLeo1359531 😺 (talk) 20:30, 28 March 2026 (UTC)Reply

In der Datei liegen Datensätze in der folgenden Form vor: „https://gdi.berlin.de/services/wms/truedop_2020_sommer?service=WMS&version=1.3.0&REQUEST=GetMap&LAYERS=truedop_2020_sommer_rgb&CRS=EPSG:25833&WIDTH=5000&HEIGHT=5000&FORMAT=image/geotiff&STYLES=&BBOX=396000,5816000,397000,5817000;DOP20 RGB Berlin 2020 - 397000 5828000 (Senatskanzlei Berlin).tif;DOP20 RGB Berlin 2020 - 396000 5816000 (Senatskanzlei Berlin).tif;DOP20RGB Berlin 2020 (Senatskanzlei Berlin)“ . Für einen Bot wäre folgende Angabe besser geeignet: „ 'DOP20 RGB Berlin 2020 - 397000 5828000 (Senatskanzlei Berlin).tif';'DOP20 RGB Berlin 2020 - 396000 5816000 (Senatskanzlei Berlin).tif' “ . Nur der alte und der gewünschte Dateiname in einer Zeile. GeorgDerReisende (talk) 20:56, 28 March 2026 (UTC)Reply
✓ Done So, jetzt sind nur noch die Namen vorhanden :) --PantheraLeo1359531 😺 (talk) 21:05, 28 March 2026 (UTC)Reply
Es braucht einen neuen öffentliche Link. GeorgDerReisende (talk) 21:25, 28 March 2026 (UTC)Reply
Ah entschuldige, ich dachte, der alte Link bleibt aktiv. Damit sollte es klappen. --PantheraLeo1359531 😺 (talk) 21:51, 28 March 2026 (UTC)Reply
In der vorliegenden Reihenfolge dürfen die Dateien nicht verschoben werden! Sonst würden verschiedene Dateien mehrfach überschrieben werden und damit viele Dateien verloren gehen. Nur als Beispiel: in einmal soll „370000 5808000“ auf „370000 5810000“ verschoben werden, dann soll „370000 5810000“ auf „370000 5814000“ verschoben werden, dann „370000 5814000“ auf „371000 5812000“! Usw. Außerdem heißt es auf der Dateibeschreibung, dass es sich um Quadrate von 2x2 km handeln soll, die Koordinaten verweisen aber auf 1x1 km-Quadrate. Ich würde das gerne überprüfen, kann das aber erst am Dienstag machen. GeorgDerReisende (talk) 22:18, 29 March 2026 (UTC)Reply
Du hast Recht! Ich kann das aufklären :). Die erwähnten 2×2km sind der Blattschnitt, die die Senatskanzlei vorgibt. Da die Bilder über den Web Map Service bezogen wurden (und nicht bereits gekachelt), habe ich den Zuschnitt aller Kacheln auf 1km×1km begrenzt, um die Konsistenz über alle Jahre hinweg zu gewährleisten (wenn ich also ein Koordinatenpaar in der Suche eingebe, bekomme ich für jedes Jahr denselben Ausschnitt) (leider gibt es einige Inkonsistenzen über die Jahre, die ich versucht habe, zu überwinden). Es ist richtig, dass einige Namen bereits "belegt" sind. Kann man da vielleicht die betreffenden Dateien zu Namen verschieben, die einen "temporären Platzhalter" im Namen haben, sodass dann die richtigen Namen frei werden? Danke und liebe Grüße! --PantheraLeo1359531 😺 (talk) 16:15, 30 March 2026 (UTC)Reply
@GeorgDerReisende (Ping) --PantheraLeo1359531 😺 (talk) 16:15, 30 March 2026 (UTC)Reply
(Die Originalbeschreibungen wurden pro Forma übernommen. Es kann bei einigen Fällen gekachelte Downloads geben, die allerdings im JP2-Format vorliegen und verlustfrei komprimiert sein können) --PantheraLeo1359531 😺 (talk) 16:17, 30 March 2026 (UTC)Reply
1. In der Dateiverschiebungsliste sind die Dateien der Serie „RGB Berlin 2021“ doppelt vorhanden, wenn noch auf Basis dieser Liste gearbeitet werden soll, muss die zweite Erwähnung der Serie (ab Zeile 6001) gelöscht werden.
2. Die Dateien mit den Koordinaten 368000/5808000, 368000/5809000, 369000/5808000, 369000/5809000, 370000/5806000, 370000/5807000, 371000/5814000, 371000/5815000, 372000/5804000, 372000/5805000, 373000/5828000, 373000/5829000, 374000/5806000, 374000/5807000, 375000/5828000, 375000/5829000, 376000/5806000, 376000/5807000, 377000/5830000, 377000/5831000, 378000/5806000, 378000/5807000, 379000/5832000, 379000/5833000, 380000/5806000, 380000/5807000, 381000/5832000, 381000/5833000, 382000/5806000, 382000/5807000, 383000/5836000, 383000/5837000, 384000/5806000, 384000/5807000, 385000/5836000, 385000/5837000, 386000/5806000, 386000/5807000, 387000/5834000, 387000/5835000, 388000/5804000, 388000/5805000, 390000/5806000, 390000/5807000, 392000/5810000, 392000/5811000, 394000/5826000 und 394000/5827000 brauchen nicht bearbeitet zu werden, da sie laut Liste nicht verschoben werden sollen.
3. Ich finde den Fehler nicht, der zu dieser Situation geführt hat.
3a. Lösung 1 — die dreckige Methode: du lädst einfach alle Dateien mit dem richtigen Namen nochmal über die Dateien mit dem falschen Namen hoch. Ergebnis: für jede Datei werden 37 MB Speicherplatz zusätzlich benötigt und in der Versionsgeschichte taucht die falsche Dateiversion mit auf, was in der Zukunft Probleme mit sich bringen könnte.
3b. Lösung 2 — die saubere Methode: du beantragst die Löschung dieser 7200 Dateien und sie wird so durchgeführt und dann lädst du die Dateien mit den richtigen Namen erneut hoch. Ergebnis: für jede Datei werden nur die 37 MB einmalig benötigt und es gibt eine saubere Versionsgeschichte. Nachteil: ein Dateilöscher-Admin muss die 7200 Dateien einzeln händisch löschen, offenbar gibt es für solche Massenlöschungen keinen Bot.
3c. Lösung 3 — die extrem arbeitsintensive Lösung: wie von mir schon anfangs beschrieben, gibt es Ketten von notwendigen Dateiverschiebungen. Diese Ketten musst du alle identifizieren. Dann kann mit einem Bot so gearbeitet werden: move( Datei987 nach DateiTemp ), move( Datei765 nach Datei987 ), move( Datei444 nach Datei765 ), move( DateiTemp nach Datei444 ). Usf.
Ich für mich würde die Lösung 2 vorschlagen und dem Dateilöscher-Admin eine Palette Gummibären oder so zukommen lassen. GeorgDerReisende (talk) 13:46, 31 March 2026 (UTC)Reply
Alles klar, ich würde dann die Tage ggf. die Löschung der betroffenen Dateien beantragen und die Dateien mit korrektem Namen neu hochladen. Danke Dir für Deinen Einsatz! --PantheraLeo1359531 😺 (talk) 08:43, 2 April 2026 (UTC)Reply

Misfunction of "license reviewed failed, all right reserveds" on several pages.

[edit]

Hello, MediaWiki:Gadget-LicenseReview.js cannot function properly when using license review failed, then select "All rights reserved" as the rational. For example, on this page, File:Angelica Bove Funweek.it 2024.jpg
This is a screenshot of a copyrighted video from youtube. Lemonaka (talk) 00:59, 30 March 2026 (UTC)Reply

Tech News: 2026-14

[edit]

MediaWiki message delivery 19:22, 30 March 2026 (UTC)Reply

Did anyone else see this?

[edit]

I went to Category:Tavares, Florida and on the {{Wikidata Infobox}} instance there I saw that the "official website" link read "Official Website of [somebody's name that started with I, think the second name started with H]". The link was correct and refreshing the page made it return to just "official website". Did anyone else see this or am I just losing my mind (small loss)? - The Bushranger (talk) 19:34, 1 April 2026 (UTC)Reply

Bug with Notices

[edit]

Noticed (heh) this evening that the 'Notices' tab on Commons is not allowing you to clear notices from other Wikimedia projects unless you clear it from that project. - The Bushranger (talk) 01:36, 2 April 2026 (UTC)Reply