Commons:Village pump/Technical/Archive/2025/05
![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Fix Template:Wikiekspedycja 2013
Using the template in a file description is broken. Example: File:Szymonki Ruiny klasztoru 10.JPG. Who can fix this? тнояsтеn ⇔ 18:57, 31 May 2025 (UTC)
- тнояsтеn, The issue was not with the template but with broken syntax in the file: see here. --Jarekt (talk) 02:23, 2 June 2025 (UTC)
- Thank you, Jarekt. But there are hundreds more, I tried to list all with this search string. Can this somehow be solved by a script or bot on all those pages? --тнояsтеn ⇔ 15:31, 2 June 2025 (UTC)
- This section was archived on a request by: тнояsтеn ⇔ 20:19, 2 June 2025 (UTC)
Tech News: 2025-19
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Weekly highlight
- The Wikimedia Foundation has shared the latest draft update to their annual plan for next year (July 2025–June 2026). This includes an executive summary (also on Diff), details about the three main goals (Infrastructure, Volunteer Support, and Effectiveness), global trends, and the budget and financial model. Feedback and questions are welcome on the talk page until the end of May.
Updates for editors
- For wikis that have the CampaignEvents extension enabled, two new feature improvements have been released:
- Admins can now choose which namespaces are permitted for Event Registration via Community Configuration (documentation). The default setup is for event registration to be permitted in the Event namespace, but other namespaces (such as the project namespace or WikiProject namespace) can now be added. With this change, communities like WikiProjects can now more easily use Event Registration for their collaborative activities.
- Editors can now transclude the Collaboration List on a wiki page (documentation). The Collaboration List is an automated list of events and WikiProjects on the wikis, accessed via Special:AllEvents (example). Now, the Collaboration List can be added to all sorts of wiki pages, such as: a wiki mainpage, a WikiProject page, an affiliate page, an event page, or even a user page.
View all 27 community-submitted tasks that were resolved last week.
Updates for technical contributors
- Developers who use the
moment
library in gadgets and user scripts should revise their code to use alternatives like theIntl
library or the newmediawiki.DateFormatter
library. Themoment
library has been deprecated and will begin to log messages in the developer console. You can see a global search for current uses, and ask related questions in this Phabricator task. - Developers who maintain a tool that queries the Wikidata term store tables (
wbt_*
) need to update their code to connect to a separate database cluster. These tables are being split into a separate database cluster. Tools that query those tables via the wiki replicas must be adapted to connect to the new cluster instead. Documentation and related links are available. Detailed code updates later this week: MediaWiki
In depth
- The latest Chart Project newsletter is available. It includes updates on preparing to expand the deployment to additional wikis as soon as this week (starting May 6) and scaling up over the following weeks, plus exploring filtering and transforming source data.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 00:11, 6 May 2025 (UTC)
We will be enabling the new Charts extension on your wiki soon!
(Apologies for posting in English)
Hi all! We have good news to share regarding the ongoing problem with graphs and charts affecting all wikis that use them.
As you probably know, the old Graph extension was disabled in 2023 due to security reasons. We’ve worked in these two years to find a solution that could replace the old extension, and provide a safer and better solution to users who wanted to showcase graphs and charts in their articles. We therefore developed the Charts extension, which will be replacing the old Graph extension and potentially also the EasyTimeline extension.
After successfully deploying the extension on Italian, Swedish, and Hebrew Wikipedia, as well as on MediaWiki.org, as part of a pilot phase, we are now happy to announce that we are moving forward with the next phase of deployment, which will also include your wiki.
The deployment will happen in batches, and will start from May 6. Please, consult our page on MediaWiki.org to discover when the new Charts extension will be deployed on your wiki. You can also consult the documentation about the extension on MediaWiki.org.
If you have questions, need clarifications, or just want to express your opinion about it, please refer to the project’s talk page on Mediawiki.org, or ping me directly under this thread. If you encounter issues using Charts once it gets enabled on your wiki, please report it on the talk page or at Phabricator.
Thank you in advance! -- User:Sannita (WMF) (talk) 15:07, 6 May 2025 (UTC)
Tech News: 2025-20
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Weekly highlight
- The "Get shortened URL" link on the sidebar now includes a QR code. Wikimedia site users can now use it by scanning or downloading it to quickly share and access shared content from Wikimedia sites, conveniently.
Updates for editors
- The Wikimedia Foundation is working on a system called Edge Uniques, which will enable A/B testing, help protect against distributed denial-of-service attacks (DDoS attacks), and make it easier to understand how many visitors the Wikimedia sites have. This is to help more efficiently build tools which help readers, and make it easier for readers to find what they are looking for. Tech News has previously written about this. The deployment will be gradual. Some might see the Edge Uniques cookie the week of 19 May. You can discuss this on the talk page.
- Starting May 19, 2025, Event organisers in wikis with the CampaignEvents extension enabled can use Event Registration in the project namespace (e.g., Wikipedia namespace, Wikidata namespace). With this change, communities don't need admins to use the feature. However, wikis that don't want this change can remove and add the permitted namespaces at Special:CommunityConfiguration/CampaignEvents.
- The Wikipedia project now has a Wikipedia in Nupe (
w:nup:
). This is a language primarily spoken in the North Central region of Nigeria. Speakers of this language are invited to contribute to new Wikipedia. View all 27 community-submitted tasks that were resolved last week.
Updates for technical contributors
- Developers can now access pre-parsed Dutch Wikipedia, amongst others (English, German, French, Spanish, Italian, and Portuguese) through the Structured Contents snapshots (beta). The content includes parsed Wikipedia abstracts, descriptions, main images, infoboxes, article sections, and references.
- The
/page/data-parsoid
REST API endpoint is no longer in use and will be deprecated. It is scheduled to be turned off on June 7, 2025. Detailed code updates later this week: MediaWiki
In depth
- The IPv6 support is a newly introduced Cloud virtual network that significantly boosts Wikimedia platforms' scalability, security, and readiness for the future. If you are a technical contributor eager to learn more, check out this blog post for an in-depth look at the journey to IPv6.
Meetings and events
- The 2nd edition of 2025 of Afrika Baraza, a virtual platform for African Wikimedians to connect, will take place on May 15 at 17:00 UTC. This edition will focus on discussions regarding Wikimedia Annual planning and progress.
- The MENA Connect Community Call, a virtual meeting for MENA Wikimedians to connect, will take place on May 17 at 17:00 UTC. You can register now to attend.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 22:34, 12 May 2025 (UTC)
Upload of extremely large image
There's a 108 gigapixel scan of Girl with a Pearl Earring available here. The image is far too large for me to even think of scraping myself. It will probably need to be split into sub-5GB chunks, but is definitely within scope. An example tile URL is https://www.micro-pano.com/GWPE90x/panos/GWPE90x-NEW-2.tiles/l09/185/l09_185_177.jpg. Does someone have the means to take a stab at this? JayCubby (talk) 02:09, 9 May 2025 (UTC)
- I should be able to, unless someone else gets to it first I guess ;) --Zhuyifei1999 (talk) 04:17, 9 May 2025 (UTC)
- Thank you very much! JayCubby (talk) 04:19, 9 May 2025 (UTC)
- Np. This will take many hours just to download.... --Zhuyifei1999 (talk) 07:24, 9 May 2025 (UTC)
- Words cannot describe how massive this is. I finally have it downloaded and it's like 50 gigabytes. --Zhuyifei1999 (talk) 07:00, 10 May 2025 (UTC)
- Cute, I sometimes have terabyte-datasets to down- and reupload ;D (and 100 gigs upload per day) --PantheraLeo1359531 😺 (talk) 15:05, 13 May 2025 (UTC)
- I was tempted to ping you when starting this thread. Given your self-rendered 10-gigapixel fractal uploads, you presumably have quite a bit of computing power at your disposal.
- I ran a Quarry query, you've uploaded 23 TB of media! JayCubby (talk) 15:35, 13 May 2025 (UTC)
- Yes, a 32-Core processor :), but the but the fractals are only a very small part ;). The main things are orthophotos and other useful large free media across the world. Fӕ uploaded 90 TB or so in comparison --PantheraLeo1359531 😺 (talk) 19:56, 14 May 2025 (UTC)
- Cute, I sometimes have terabyte-datasets to down- and reupload ;D (and 100 gigs upload per day) --PantheraLeo1359531 😺 (talk) 15:05, 13 May 2025 (UTC)
- Thank you very much! JayCubby (talk) 04:19, 9 May 2025 (UTC)
@JayCubby: Top left corner, PTAL: File:Girl with a Pearl Earring - Hirox-x0-y0.jpg It will take another many more hours for me to stitch the remaining 131 tiles. --Zhuyifei1999 (talk) 13:57, 10 May 2025 (UTC)
- @Zhuyifei1999 thank you very much for this! I think this will have set the record (by quite a lot) for the highest-resolution image on Commons. JayCubby (talk) 18:48, 10 May 2025 (UTC)
- Yeah, I'm not aware of anything that has a larger resolution lol. --Zhuyifei1999 (talk) 19:46, 10 May 2025 (UTC)
@JayCubby: This is done. All the tiles, plus a scaled down version, are visible at Template:Tile set/Girl with a Pearl Earring - Hirox/grid. @Yann: Wanna get an FP for this? ;) --Zhuyifei1999 (talk) 21:27, 11 May 2025 (UTC)
- @Zhuyifei1999, done, at Commons:Featured picture candidates/removal/File:1665 Girl with a Pearl Earring.jpg. JayCubby (talk) 22:39, 11 May 2025 (UTC)
- @Zhuyifei1999: Thanks a lot for doing this, but I think the current FP is OK. There are probably other paintings with such a huge resolution, but I don't know how to get them. Yann (talk) 14:19, 12 May 2025 (UTC)
Special pages link missing?
Is it just me, or has the Special pages link disappeared from the left margin? -- Auntof6 (talk) 05:21, 16 May 2025 (UTC)
- See phab:T385346 and phab:T388927.
- You can follow mw:Tech news to make sure you avoid disruptions in future. Jdlrobson (talk) 19:41, 16 May 2025 (UTC)
Specific PDFs not showing up with Media Search
I uploaded two PDFs some time ago (Pietro Budmani - Grammatica della lingua serbo-croata (illirica).pdf and Maretić, Tomo - Istorija hrvatskoga pravopisa latinskijem slovima.pdf), and in the meantime I've noticed they lack thumbnails and don't show up when searching. I fixed the former with ?action=purge
as recommended on Help:Purge, but they were still absent from search results. E.g. searching for "Budmani" gives no results when clicking "Other Media", it's declared to be an "Invalid search".
Finally, I changed my search interface from MediaSearch to Search, and now it does show the files! And just to check once more, I switched back to MediaSearch, and now that engine says "Could not normalize image parameters for Historiadaprouin00ganduoft.pdf." Huh? Should I fix my files somehow or does the problem lie in MediaSearch?
— Phazd (talk) 00:58, 17 May 2025 (UTC)
- @Phazd I think the problem was caused by File:Historiadaprouin00ganduoft.pdf, I purged it just now since its thumbnail was also not showing, and now searching “Budmani” with MediaSearch works. Tvpuppy (talk) 03:05, 17 May 2025 (UTC)
- @Tvpuppy Man, what a mess, so apparently one file broke the searchability of the other one... Thank you for fixing it. But the other book (Istorija pravopisa) still doesn't show up for me with MediaSearch. And I can't get it to produce the sort of error message that I managed to get for "Budmani". — Phazd (talk) 04:22, 17 May 2025 (UTC)
Weirdness with "other resolutions"
I feel like I'm probably missing some important detail or an existing discussion, but: when I'm looking at File:Ianto’s Shrine - geograph.org.uk - 7636568.jpg, it says "Size of this preview: 800 × 600 pixels", but the link actually goes to an image that is 960x720px. The 320x240px link is closer to the advertised size but not exact (330x247px), the 640x480px link is the 960x720px image again, and the other links are all working normally and as expected. Clearly something is wrong with the link labels, and especially with the 640x480px link (which is really annoying for me, since I was relying on a 640px image being available for something I'm working on). Suntooooth (talk) 08:38, 18 May 2025 (UTC)
- This is definitely an error. I mentioned it here phab:T266155. For your need a specific size you can just request them directly. https://commons.wikimedia.org/wiki/Special:FilePath/FILENAME?width=WIDTH GPSLeo (talk) 11:23, 18 May 2025 (UTC)
- Thank you :] Suntooooth (talk) 18:41, 18 May 2025 (UTC)
- Hm, actually - using that link with 640 as the width just links to the 960px one again, which is weird considering a 640px version definitely exists (I got that by manually changing the value in the URL). Suntooooth (talk) 18:44, 18 May 2025 (UTC)
- Thank you :] Suntooooth (talk) 18:41, 18 May 2025 (UTC)
Strange bug in WC-render
![]() | ![]() |
If the image size this file is specified as less than 166px, the patterns will no longer be displayed. How to solve this problem? Д.Ильин (talk) 09:17, 19 May 2025 (UTC).
- Phab:T20463?
- Reordering pattern elements to avoid forward references may be a work around.
<defs> <pattern id="c" xlink:href="#a" patternTransform="matrix(2.05 .564 .0475-.17 81 85)"/> <pattern id="a" xlink:href="#d" patternTransform="matrix(-2.05 .564-.0475-.17 123 85)"/> <pattern id="d" width="3" height="1" patternUnits="userSpaceOnUse"> <rect width="1" height="2"/> </pattern> </defs>
- Glrx (talk) 15:34, 19 May 2025 (UTC)
- Reordered, but now the break is 348px / 349px.
- Some notes. The pattern element is at issue here and a topic above.
- patternTransform is replaced rather than composed.
matrix(a b c d e f)
→- Scale OK. Rotate OK. Why anisotropic?
- ratio 3.6347517730496 3.5789473684211
- angle 15.382760067591° 15.611001719729°
- lengths 2.1261693253361 0.17651133108104
- Glrx (talk) 14:09, 20 May 2025 (UTC)
- Reordered, but now the break is 348px / 349px.
Tech News: 2025-21
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Weekly highlight
- The Editing Team and the Machine Learning Team are working on a new check for newcomers: Peacock check. Using a prediction model, this check will encourage editors to improve the tone of their edits, using artificial intelligence. We invite volunteers to review the first version of the Peacock language model for the following languages: Arabic, Spanish, Portuguese, English, and Japanese. Users from these wikis interested in reviewing this model are invited to sign up at MediaWiki.org. The deadline to sign up is on May 23, which will be the start date of the test.
Updates for editors
- From May 20, 2025, oversighters and checkusers will need to have their accounts secured with two-factor authentication (2FA) to be able to use their advanced rights. All users who belong to these two groups and do not have 2FA enabled have been informed. In the future, this requirement may be extended to other users with advanced rights. Learn more.
Multiblocks will begin mass deployment by the end of the month: all non-Wikipedia projects plus Catalan Wikipedia will adopt Multiblocks in the week of May 26, while all other Wikipedias will adopt it in the week of June 2. Please contact the team if you have concerns. Administrators can test the new user interface now on your own wiki by browsing to Special:Block?usecodex=1, and can test the full multiblocks functionality on testwiki. Multiblocks is the feature that makes it possible for administrators to impose different types of blocks on the same user at the same time. See the help page for more information.
- Later this week, the Special:SpecialPages listing of almost all special pages will be updated with a new design. This page has been redesigned to improve the user experience in a few ways, including: The ability to search for names and aliases of the special pages, sorting, more visible marking of restricted special pages, and a more mobile-friendly look. The new version can be previewed at Beta Cluster now, and feedback shared in the task.
- The Chart extension is being enabled on more wikis. For a detailed list of when the extension will be enabled on your wiki, please read the deployment timeline.
- Wikifunctions will be deployed on May 27 on five Wiktionaries: Hausa, Igbo, Bengali, Malayalam, and Dhivehi/Maldivian. This is the second batch of deployment planned for the project. After deployment, the projects will be able to call functions from Wikifunctions and integrate them in their pages. A function is something that takes one or more inputs and transforms them into a desired output, such as adding up two numbers, converting miles into metres, calculating how much time has passed since an event, or declining a word into a case. Wikifunctions will allow users to do that through a simple call of a stable and global function, rather than via a local template.
- Later this week, the Wikimedia Foundation will publish a hub for experiments. This is to showcase and get user feedback on product experiments. The experiments help the Wikimedia movement understand new users, how they interact with the internet and how it could affect the Wikimedia movement. Some examples are generated video, the Wikipedia Roblox speedrun game and the Discord bot.
View all 29 community-submitted tasks that were resolved last week. For example, there was a bug with creating an account using the API, which has now been fixed.
Updates for technical contributors
- Gadgets and user scripts that interact with Special:Block may need to be updated to work with the new manage blocks interface. Please review the developer guide for more information. If you need help or are unable to adapt your script to the new interface, please let the team know on the talk page.
- The
mw.title
object allows you to get information about a specific wiki page in the Lua programming language. Starting this week, a new property will be added to the object, namedisDisambiguationPage
. This property allows you to check if a page is a disambiguation page, without the need to write a custom function. User script developers can use a new reverse proxy tool to load javascript and css from gitlab.wikimedia.org with
mw.loader.load
. The tool's author hopes this will enable collaborative development workflows for user scripts including linting, unit tests, code generation, and code review on gitlab.wikimedia.org without a separate copy-and-paste step to publish scripts to a Wikimedia wiki for integration and acceptance testing. See Tool:Gitlab-content on Wikitech for more information.Detailed code updates later this week: MediaWiki
Meetings and events
- The 12th edition of Wiki Workshop 2025, a forum that brings together researchers that explore all aspects of Wikimedia projects, will be held virtually on 21-22 May. Researchers can register now.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 23:09, 19 May 2025 (UTC)
API for accessing Data: namespace or other .json files
Is there a special API or other way to get a raw data table from outside of MediaWiki? Chemistry articles on enwiki (and maybe others) link to an external program to display a graphical representation of chemicals, but the data-set that program uses is limited and not always containing the details that *wiki want. That program can load external data, so I was hoping we could have the data on commons, as we do for map-data and similar back-ends. JSON, CSV, even raw wiki-source would be fine. DMacks (talk) 01:31, 6 May 2025 (UTC)
- You can make a request like and then parse the output as json. GPSLeo (talk) 06:57, 6 May 2025 (UTC)
- @DMacks:
- Please use specific examples because I do not understand your request.
- There are many chemistry articles on enwiki. Please link to a specific article and identify the graphical representation of a chemical that illustrates your topic.
- Also, do you know the external program being used? AFAIK, the chemical diagrams on enwiki are ordinary SVG, PNG, or JPEG images. Some of those images may have been created by programs such as ChemDraw, but the result held on Commons is just the image file.
- Do you want to be able to read that information from data held on Commons? Or do you want Commons to access a data table held at an external source?
- Or are you referring to self-contained notations such as SMILES or identifiers such as CAS or InChi? Glrx (talk) 17:50, 6 May 2025 (UTC)
- I assume you mean external website not program? In any case, the mediawiki api supports retrieving such data. See and Bawolff (talk) 16:05, 8 May 2025 (UTC)
- The goal is to have chemical-structure data that could be loaded by a tool that allows 3D rendering and real-time manipulation. We currently have something close in all enwiki infoboxes for chemicals and drugs, which links to an external instance of en:JSmol which has its own collection of data (or looked up from various even other sources, or guessed). As example, see the "3D model (JSmol) Interactive image" link in en:benzene. But the results are sometimes poor (or even hilariously wrong) for certain classes of chemicals, such as organometallics (we disabled the tool in en:ferrocene) and complex cyclic compounds (see en:vancomycin). The structure data are well-known plain-text formats. So my proposed solution is for commons to host the chemical-structure data, then enwiki articles call external JSmol to load the commons data file. There are lots of reasonable file-formats, such as PDB, XYZ, and MOL, all are tabular and/or easily serialized. DMacks (talk) 19:08, 8 May 2025 (UTC)
- Direct benzene link
- Direct ferrocine link
- Direct vancomycin link
- Website can take a file or a URL in the right click directory.
- Glrx (talk) 21:24, 8 May 2025 (UTC)
- Yup. And the results both those ferrocene and vancomycin links give are very incorrect (compare with correct ferrocene and correct vancomycin). That's why the goal is to be able to host the right data in a file we can hand to it via the
source=
. Upstream developers are quite receptive to feature requests, so I would not think it will be hard to teach it json or other serialized format if necessary. DMacks (talk) 23:26, 8 May 2025 (UTC)
- Yup. And the results both those ferrocene and vancomycin links give are very incorrect (compare with correct ferrocene and correct vancomycin). That's why the goal is to be able to host the right data in a file we can hand to it via the
- The goal is to have chemical-structure data that could be loaded by a tool that allows 3D rendering and real-time manipulation. We currently have something close in all enwiki infoboxes for chemicals and drugs, which links to an external instance of en:JSmol which has its own collection of data (or looked up from various even other sources, or guessed). As example, see the "3D model (JSmol) Interactive image" link in en:benzene. But the results are sometimes poor (or even hilariously wrong) for certain classes of chemicals, such as organometallics (we disabled the tool in en:ferrocene) and complex cyclic compounds (see en:vancomycin). The structure data are well-known plain-text formats. So my proposed solution is for commons to host the chemical-structure data, then enwiki articles call external JSmol to load the commons data file. There are lots of reasonable file-formats, such as PDB, XYZ, and MOL, all are tabular and/or easily serialized. DMacks (talk) 19:08, 8 May 2025 (UTC)
Some notes...
- T18491: Support for Chemical Markup Language
- Open, low priority.
- T365672: gadget for chemical structures in Wikidata
- only 2D
- MW:Extension:MolHandler
- archived 2023
- MW:Extension:Jmol
Glrx (talk) 14:52, 14 May 2025 (UTC)
How about using a .MOL file from outside sources such as ChemSpider?
- benzene (Q2270) / ChemSpider ID (P661) → 236 → https://www.chemspider.com/Chemical-Structure.236.html
- ferrocene (Q211972) / ChemSpider ID (P661) → 7329 → https://www.chemspider.com/Chemical-Structure.7329.html
- vancomycin (Q424027) / ChemSpider ID (P661) → 14253 → https://www.chemspider.com/Chemical-Structure.14253.html
If the substance has a ChemSpider id, then pass either the ChemSpider id (and let the JSMol app figure it out) or pass a URL for ChemSpider's .MOL file (there should be a mapping from the id to the .MOL URL.) Glrx (talk) 21:36, 17 May 2025 (UTC)
- Using ChemSpider .MOL files
- Benzene https://chemapps.stolaf.edu/jmol/jmol.php?source=https://www.chemspider.com/compound-data/236/236.mol
- Ferrocene https://chemapps.stolaf.edu/jmol/jmol.php?source=https://www.chemspider.com/compound-data/7329/7329.mol
- Vancomycin https://chemapps.stolaf.edu/jmol/jmol.php?source=https://www.chemspider.com/compound-data/14253/14253.mol
- Select sheme ball and stick
- Can use PDB ids
- Poor display from smiles is a limitation of https://cactus.nci.nih.gov/ server? Check the MOL files.
- Benzene SMILES (en.Wiki) c1ccccc1
- Benzene SMIlES (wikidata) C1=CC=CC=C1, c1ccccc1
- https://cactus.nci.nih.gov/chemical/structure/c1ccccc1/molfile
- https://cactus.nci.nih.gov/chemical/structure/C1=CC=CC=C1,+c1ccccc1/molfile
- Ferrocene SMILES (en.Wiki) [CH-]1C=CC=C1.[CH-]1C=CC=C1.[Fe+2]
- Ferrocene SMILES (wikidata) [CH-]1C=CC=C1.[CH-]1C=CC=C1.[Fe+2]
- https://cactus.nci.nih.gov/chemical/structure/%5BCH-%5D1C=CC=C1.%5BCH-%5D1C=CC=C1.%5BFe+2%5D/molfile
- Vancomycin SMILES (en.Wiki) C[C@H]1[C@H]([C@@](C[C@@H](O1)O[C@@H]2[C@H]([C@@H]([C@H](O[C@H]2Oc3c4cc5cc3Oc6ccc(cc6Cl)[C@H]([C@H](C(=O)N[C@H](C(=O)N[C@H]5C(=O)N[C@@H]7c8ccc(c(c8)-c9c(cc(cc9O)O)[C@H](NC(=O)[C@H]([C@@H](c1ccc(c(c1)Cl)O4)O)NC7=O)C(=O)O)O)CC(=O)N)NC(=O)[C@@H](CC(C)C)NC)O)CO)O)O)(C)N)O
- Vancomycin SMILES (wikidata) CC1C(C(CC(O1)OC2C(C(C(OC2OC3=C4C=C5C=C3OC6=C(C=C(C=C6)C(C(C(=O)NC(C(=O)NC5C(=O)NC7C8=CC(=C(C=C8)O)C9=C(C=C(C=C9C(NC(=O)C(C(C1=CC(=C(O4)C=C1)Cl)O)NC7=O)C(=O)O)O)O)CC(=O)N)NC(=O)C(CC(C)C)NC)O)Cl)CO)O)O)(C)N)O
- https://cactus.nci.nih.gov/chemical/structure/CC1C(C(CC(O1)OC2C(C(C(OC2OC3=C4C=C5C=C3OC6=C(C=C(C=C6)C(C(C(=O)NC(C(=O)NC5C(=O)NC7C8=CC(=C(C=C8)O)C9=C(C=C(C=C9C(NC(=O)C(C(C1=CC(=C(O4)C=C1)Cl)O)NC7=O)C(=O)O)O)O)CC(=O)N)NC(=O)C(CC(C)C)NC)O)Cl)CO)O)O)(C)N)O/molfile
- Glrx (talk) 04:26, 22 May 2025 (UTC)
Adding images translated to many language to Wikidata items
Many Wikidata items have images set, for many or most an image could be useful, for most that have just one image set that contains text it is in English, and many items have multiple media files for various languages.
Is there an easy way to add many language versions of an image to a Wikidata item at once along with the language qualifier for each? Examples:
- see trachea (Q175449) and File:Illu conducting passages.svg (scroll down to other versions)
- see type Ia supernova (Q582000) and Category:Type Ia supernovae (diagrams)
Note that for example infoboxes can and do show the image depending on the language qualifier on some project(s). An issue is that the other versions are specified in very many ways and can have different titles (not just the language name), one usually can't QuickStatements via search&replace due to that (and even if that is pretty laborious, manual and fallible). Is there any issue or ongoing development that would make doing this easier? Prototyperspective (talk) 11:31, 13 May 2025 (UTC)
- Slightly off topic.
- There are multilingual SVG on Commons, but I'm disappointed with the display of File:Conic Sections.svg in conic section (Q124255). For example,
- displays the Wikidata page in German, but it does not display the multilingual image in German.
- Glrx (talk) 16:07, 13 May 2025 (UTC)
- Yes, that's a related issue. I wondered what it would do for SVG files that have been translated on Commons, thanks for the example. I think largely Wikidata is not designed for people (other than few contributors themselves) to look at the Wikidata items – instead the data in these is used for example in listeria lists and infoboxes like the infoboxes in Commons categories. It would need to read (and cache?) the languages the used SVG file is available in. I doubt there would be some synergy in addressing both issues at once so I think it would be good to focus on one issue first which itself is quite tricky already. It also can't be a solution to have Wikidata users add the same image dozens of times each with a different language as qualifier if that's what one may think a solution would be so some reading of data specified on Commons on the side of Wikidata would probably be best either indirectly or via some tool that is used for adding such files to an item. Lastly, when having something like ?uselang=de set or certain preferences, it may be best to collapse or hide any long list of files and just display those in German, English (often the only files, often translatable, understood by many, understood according to my prefs), and no language set. The Commons category infobox already shows video files depending on the configured language. Prototyperspective (talk) 22:26, 13 May 2025 (UTC)
- There isn't really any reason not to show svgs in tge viewed language on wikidata except for cache splitting and potential confusion of different users seeing different things. I think the main reason it wasn't done originally (or that svgs dont default to wiki content lang) was that it was easier than thinking through all the implications. However i dont think there is any fundamental reason not to. Bawolff (talk) 16:23, 23 May 2025 (UTC)
- I thought the main or possibly only reason for why it wasn't done are technical difficulties of doing so or the difficulty of developing this combined with that not many people have noticed this. I read Glrx' comment as not suggesting anything else and slightly as also a description of a technical issue. May be good to create a phab issue about this, which is similar and related to the subject of the thread, if there is none so far. Another subject related to this is the categorization of translated SVG files, many files are not as well-categorized as the example file above and it's currently done manually – see here. Prototyperspective (talk) 17:24, 23 May 2025 (UTC)
- Multilingual SVG files do have tough issues on Wikidata. If an image is specified as multilingual, then displaying it in the user's language makes some sense. If an image is marked as German, then should it be displayed in German rather than the user's language? Should users be required to specify &lang=de? If and when MediaWiki directly serves SVG, then the browser will decide which language is displayed. Should multilingual SVG be entered for each language they cover? That would make queries for an image in a specific language simpler.
- Glrx (talk) 19:09, 23 May 2025 (UTC)
- I thought the main or possibly only reason for why it wasn't done are technical difficulties of doing so or the difficulty of developing this combined with that not many people have noticed this. I read Glrx' comment as not suggesting anything else and slightly as also a description of a technical issue. May be good to create a phab issue about this, which is similar and related to the subject of the thread, if there is none so far. Another subject related to this is the categorization of translated SVG files, many files are not as well-categorized as the example file above and it's currently done manually – see here. Prototyperspective (talk) 17:24, 23 May 2025 (UTC)
How does commons reject duplicates?
from my experience, it seems that if a file to be uploaded is already existing on commons, url2commons (and many other tools such as uploadwizard) will show an error and cannot upload it, but Commons:Flickr2Commons seems to be able to upload them? i dont understand how f2c can "force" the upload? RoyZuo (talk) 08:13, 19 May 2025 (UTC)
- Probably: F2C does not use Upload Wizard (or does it?) and thus does not use its javascript that checks for and prevents duplicates. Prototyperspective (talk) 11:06, 19 May 2025 (UTC)
- I imagine just use special:upload and click ignore all warnings. UploadWizard treats warnings as errors often. Bawolff (talk) 16:17, 23 May 2025 (UTC)
How are links to camera models generated in the EXIF data?
I'm asking because the camera model in the EXIF data of File:Bobruisk 0.jpg is saying "Camera manufacturer Fly" and the word Fly is linking to the English Wikipedia page on flies 🪰 (insects) instead of to the camera manufacturer. Where and how can this be changed? The camera used is one from a smartphone. There's a Ru Wiki article on the smartphone model: w:ru:Fly IQ4516 Octa Tornado Slim. And for the manufacturer
Could someone fix the incorrect hyperlink in the EXIF data? Nakonana (talk) 09:40, 24 May 2025 (UTC)
- We also have Category:Fly mobile phones. Nakonana (talk) 09:53, 24 May 2025 (UTC)
- The link is controlled by {{Exif-make-value}}; make an edit request on its talk page to add a case for this manufacturer. Omphalographer (talk) 21:02, 24 May 2025 (UTC)
VFC broken
Hi, VFC seems broken. Nothing loads today. Tested on several categories. The look is also different. Please see MediaWiki talk:Gadget-VisualFileChange.js#VFC broken. Thanks, Yann (talk) 18:14, 24 May 2025 (UTC)
Tech News: 2025-22
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Weekly highlight
- A community-wide discussion about a very delicate issue for the development of Abstract Wikipedia is now open on Meta: where to store the abstract content that will be developed through functions from Wikifunctions and data from Wikidata. The discussion is open until June 12 at Abstract Wikipedia/Location of Abstract Content, and every opinion is welcomed. The decision will be made and communicated after the consultation period by the Foundation.
Updates for editors
- Since last week, on all wikis except the largest 20, people using the mobile visual editor will have additional tools in the menu bar, accessed using the new
+
toolbar button. To start, the new menu will include options to add: citations, hieroglyphs, and code blocks. Deployment to the remaining wikis is scheduled to happen in June. The
#ifexist
parser function will no longer register a link to its target page. This will improve the usefulness of Special:WantedPages, which will eventually only list pages that are the target of an actual red link. This change will happen gradually as the source pages are updated.- This week, the Moderator Tools team will launch a new filter to Recent Changes, starting at Indonesian Wikipedia. This new filter highlights edits that are likely to be reverted. The goal is to help Recent Changes patrollers identify potentially problematic edits. Other wikis will benefit from this filter in the future.
- Upon clicking an empty search bar, logged-out users will see suggestions of articles for further reading. The feature will be available on both desktop and mobile. Readers of Catalan, Hebrew, and Italian Wikipedias and some sister projects will receive the change between May 21 and mid-June. Readers of other wikis will receive the change later. The goal is to encourage users to read the wikis more. Learn more.
- Some users of the Wikipedia Android app can use a new feature for readers, WikiGames, a daily trivia game based on real historical events. The release has started as an A/B test, available to 50% of users in the following languages: English, French, Portuguese, Russian, Spanish, Arabic, Chinese, and Turkish.
- The Newsletter extension that is available on MediaWiki.org allows the creation of various newsletters for global users. The extension can now publish new issues as section links on an existing page, instead of requiring a new page for each issue.
View all 32 community-submitted tasks that were resolved last week.
Updates for technical contributors
- The previously deprecated
ipblocks
views in Wiki Replicas will be removed in the beginning of June. Users are encouraged to query the newblock
andblock_target
views instead. Detailed code updates later this week: MediaWiki
Meetings and events
- Wikidata and Sister Projects is a multi-day online event that will focus on how Wikidata is integrated to Wikipedia and the other Wikimedia projects. The event runs from May 29 – June 1. You can read the Program schedule and register.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 20:01, 26 May 2025 (UTC)
Several images from 2019 are not available in smaller resolutions
There are several images uploaded on 2 May 2029 by the same user, where smaller resolutions are not always available, often with the error "Too Many Requests", sometimes with "Our servers are currently under maintenance or experiencing a technical issue". See . I did not check any uploads from other users from that day. Is this a temporary error, or is something wrong with these images? Wimmel (talk) 16:55, 27 May 2025 (UTC)
- Created phab:T395363 for this. Mbch331 (talk) 17:50, 27 May 2025 (UTC)