Commons:Village pump/Technical/Archive/2025/05

Category:Commons talk archives#Village%20pump/Technical/Archive/2025

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)
I used VFC to fix the template syntax for all the images in the search query above. So the problem should now be fixed. Tvpuppy (talk) 20:13, 2 June 2025 (UTC)
Thank you very much! --тнояsтеn 20:19, 2 June 2025 (UTC)
This section was archived on a request by: тнояsтеn 20:19, 2 June 2025 (UTC)

Tech News: 2025-19

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)

That’s good news. -- Tuválkin 23:30, 10 May 2025 (UTC)

Tech News: 2025-20

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)

@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)

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)

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)

Strange bug in WC-render

The image size is 165px (file AX5E1-2D.svg)
The image size is 166px (the same file AX5E1-2D.svg)

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.
https://svgwg.org/svg2-draft/pservers.html#PatternElement
matrix(a b c d e f)
<math>

\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

MediaWiki message delivery 23:09, 19 May 2025 (UTC)

Category:Commons talk archives