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)
→- <math>
- Reordered, but now the break is 348px / 349px.
\begin{bmatrix} 2.05 & .0475 & 81\\ .564 & -.17 & 85\\ 0 & 0 & 1 \end{bmatrix} \begin{bmatrix} x\\ y\\ 1 \end{bmatrix}
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)