Commons:Village pump/Technical/Archive/2022/08
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. |
Tech News: 2022-31
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- Improved LaTeX capabilities for math rendering are now available in the wikis thanks to supporting
Phantom
tags. This completes part of the #59 wish of the 2022 Community Wishlist Survey.
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 2 August. It will be on non-Wikipedia wikis and some Wikipedias from 3 August. It will be on all wikis from 4 August (calendar).
- The Realtime Preview will be available as a Beta Feature on wikis in Group 0. This feature was built in order to fulfill one of the Community Wishlist Survey proposals.
Future changes
- The Beta Feature for DiscussionTools will be updated throughout August. Discussions will look different. You can see some of the proposed changes.
Future meetings
- This week, three meetings about Vector (2022) with live interpretation will take place. On Tuesday, interpretation in Russian will be provided. On Thursday, meetings for Arabic and Spanish speakers will take place. See how to join.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
21:19, 1 August 2022 (UTC)
Bot that goes over images with Location template in page but not in SDC yet
and then adds the new location as SDC
(currently for ex Locator-tool only adds the template, not the SDC) thibaultmol (talk) 06:24, 1 August 2022 (UTC)
- I have seen SchlurcherBot and BotMultichill do that. --HyperGaruda (talk) 13:05, 4 August 2022 (UTC)
This file, used by Template:Delete, is apparently broken. The preview images of all versions are gone, and when I click on the links for them, I get an error message saying "File not found: /v1/AUTH_mw/wikipedia-commons-local-public.15/1/15/Keep_tidy_ask.svg" (path varies). What happened here? --Rosenzweig τ 12:30, 7 August 2022 (UTC)
Possible bug in the Wikimedia Commons mobile app
Hello everyone. I wanted to ask you about a possible bug in the Wikimedia Commons mobile app.
If I enter the statistics of my profile in the App, I see that I have 89 Quality images; however, I have been including my quality images in this category, and they are 124. I suppose that the App takes the data from another party, not necessarily from that category.
Could someone tell me what the error is? Thanks for your help. Drow male (talk) 16:59, 8 August 2022 (UTC)
Tech News: 2022-32
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- GUS2Wiki copies the information from Special:GadgetUsage to an on-wiki page so you can review its history. If your project isn't already listed on the Wikidata entry for Project:GUS2Wiki you can either run GUS2Wiki yourself or make a request to receive updates. [1]
Changes later this week
- There is no new MediaWiki version this week.
- Some wikis will be in read-only for a few minutes because of a switch of their main database. It will be performed on 9 August at 07:00 UTC (targeted wikis) and on 11 August at 7:00 UTC (targeted wikis).
Future meetings
- The Wikimania Hackathon will take place online from August 12–14. Don't miss the pre-hacking showcase to learn about projects and find collaborators. Anyone can propose a project or host a session. Newcomers are welcome!
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
19:47, 8 August 2022 (UTC)
JS error
While previewing edits in source mode, I keep getting a pop-up message with the following content: TypeError: itemsById[id] is undefined
from https://commons.wikimedia.org/w/load.php?lang=en-gb&modules=ext.discussionTools.init%7Cjquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui%7Coojs-ui.styles.icons-editing-advanced&skin=monobook&version=1i04l at line 99:755 ThreadItemSet.js/ThreadItemSet.static.newFromAnnotatedNodes/item.replies<@https://commons.wikimedia.org/w/load.php?lang=en-gb&modules=ext.discussionTools.init%7Cjquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui%7Coojs-ui.styles.icons-editing-advanced&skin=monobook&version=1i04l:99:755 ThreadItemSet.js/ThreadItemSet.static.newFromAnnotatedNodes@https://commons.wikimedia.org/w/load.php?lang=en-gb&modules=ext.discussionTools.init%7Cjquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui%7Coojs-ui.styles.icons-editing-advanced&skin=monobook&version=1i04l:99:738 init@https://commons.wikimedi ...
The changes, however, don't seem to be affected. De728631 (talk) 13:51, 9 August 2022 (UTC)
- I also got these. Yann (talk) 14:24, 9 August 2022 (UTC)
- It started a few days ago, see Commons:Forum#Irgend ein Scheiß. --Rosenzweig τ 17:02, 9 August 2022 (UTC)
- And Commons:Village pump#Type Error. --Rosenzweig τ 17:07, 9 August 2022 (UTC)
- Same here. — Tulsi 24x7 06:25, 10 August 2022 (UTC)
- Did anyone fill up a bug report on Phabricator? Yann (talk) 09:31, 10 August 2022 (UTC)
- I did now. De728631 (talk) 21:05, 10 August 2022 (UTC)
- Did anyone fill up a bug report on Phabricator? Yann (talk) 09:31, 10 August 2022 (UTC)
What is the proper way to automatically obtain licensing info
I have a list of files and their claimed licences/credits, some linking back to Commons. I want to extract Commons licences, and maybe also thumbnails for comparison.
What is the proper way to obtain machine readable licensing info? I see https://commons.wikimedia.org/wiki/Commons:API with for example https://magnus-toolserver.toolforge.org/commonsapi.php?image=Sa-warthog.jpg&thumbwidth=150&thumbheight=150&versions&meta but can I expect this to work well long-term? Is there some official way to do this? Mateusz Konieczny (talk) 07:45, 14 August 2022 (UTC)
Tech News: 2022-33
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- The Persian (Farsi) Wikipedia community decided to block IP editing from October 2021 to April 2022. The Wikimedia Foundation's Product Analytics team tracked the impact of this change. An impact report is now available.
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 16 August. It will be on non-Wikipedia wikis and some Wikipedias from 17 August. It will be on all wikis from 18 August (calendar).
- Some wikis will be in read-only for a few minutes because of a switch of their main database. It will be performed on 16 August at 07:00 UTC (targeted wikis) and on 18 August at 7:00 UTC (targeted wikis).
- The Realtime Preview will be available as a Beta Feature on wikis in Group 1. This feature was built in order to fulfill one of the Community Wishlist Survey proposals.
Future changes
- The Beta Feature for DiscussionTools will be updated throughout August. Discussions will look different. You can see some of the proposed changes. [2][3][4]
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
21:06, 15 August 2022 (UTC)
Problem with Commons file caching?
Hi there, this file on Commons:
is not replicating properly to LA Wikisource:
and for a couple of hours is giving the following error:
Our servers are currently under maintenance or experiencing a technical problem. Please <a href="" title="Reload this page" onclick="window.location.reload(false); return false">try again</a> in a few minutes.
See the error message at the bottom of this page for more information. If you report this error to the Wikimedia System Administrators, please include the details below. Request from 2a00:23c7:32a0:9b01:8061:fb59:d73f:3c46 via cp3062 cp3062, Varnish XID 480711412 Upstream caches: cp3062 int
Error: 404, Not Found at Sat, 20 Aug 2022 10:43:07 GMT
What can I do to get this resolved? JimKillock (talk) 12:29, 20 August 2022 (UTC)
- @JimKillock: I think that text is part of the local description of the file on Latin Wikisource. If you choose "Edit local description" on wikisource:la:Fasciculus:Marjorie Fay - Carolus Et Maria.pdf you can delete it if you want. --bjh21 (talk) 14:34, 20 August 2022 (UTC)
- Ok, so I edited and removed that but the description is not my problem: the issue is that the PDF file on Wiki Commons has actual page images with actual text ((1 239 × 1 754 pixels, file size: 15.98 megaocteti, MIME type: application/pdf, 105 pages), while the version on Wikisource does not (0 × 0 pixels, file size: 15.98 megaocteti, MIME type: application/pdf, 105 pages).
- For some reason, the file did not copy across correctly. The error message appeared when I tried to flush the page, but it did not change the broken file.
- I am hoping someone can help me find out how I get this fixed. JimKillock (talk) 16:16, 20 August 2022 (UTC)
- May be ? Yann (talk) 16:41, 20 August 2022 (UTC)
- Thanks! JimKillock (talk) 16:51, 20 August 2022 (UTC)
- I've tried uploading different versions of this file; they seem to be working fine on Commons, but consistently breaking on Wikisource, including this test at en.Wikisource and also at Wikipedia. Frustrating. JimKillock. (talk) 17:47, 20 August 2022 (UTC)
- Thanks! JimKillock (talk) 16:51, 20 August 2022 (UTC)
- May be ? Yann (talk) 16:41, 20 August 2022 (UTC)
Translation of the "Welcome" message on the Main page
Hello! I've found a thing: if the Wikimedia Commons is opened in its mobile version, it shows a "Welcome, <username>!" message on the top. AFAIK, it is not related to the {{Main Page Template}} template. Does anyone know how and where I could suggest translation of that message?
TWIMC, a translation in Russian would be: "Добро пожаловать, <username>!"
Thanks! — Pacha Tchernof (talk) 17:25, 1 August 2022 (UTC)
- It looks like you can’t, it depends on the site language instead of the UI language. (Otherwise you would see the message name using the
uselang=qqx
trick.) —Tacsipacsi (talk) 23:10, 21 August 2022 (UTC)
Search vs MediaSearch
Hello! I don't know if this need a bug report/software feature on Phabricator but I notice a different behaviour between these two links:
the first one expand the classic search converting "Building" to "&search=Building", the search media just keep "/Building" in URL, without giving any result. --valepert (talk) 09:19, 21 August 2022 (UTC)
Tech News: 2022-34
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- Two problems with Kartographer maps have been fixed. Maps are no longer shown as empty when a geoline was created via VisualEditor. Geolines consisting of points with QIDs (e.g., subway lines) are no longer shown with pushpins. [5][6]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 23 August. It will be on non-Wikipedia wikis and some Wikipedias from 24 August. It will be on all wikis from 25 August (calendar).
- Some wikis will be in read-only for a few minutes because of a switch of their main database. It will be performed on 25 August at 7:00 UTC (targeted wikis).
- The colours of links and visited links will change. This is to make the difference between links and other text more clear. [7]
Future changes
- The new [subscribe] button helps newcomers get answers. The Editing team is enabling this tool everywhere. You can turn it off in your preferences. [8]
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
00:09, 23 August 2022 (UTC)
Enable copy uploads via link from https://www.goodfreephotos.com/
I tried to upload https://commons.wikimedia.org/wiki/File:Hooiser-hill-road-near-the-top-indiana.jpg via stating url, but Commons rejected it. Can it be changed? Mateusz Konieczny (talk) 16:46, 29 August 2022 (UTC)
Check out the View it! prototype & join us for a demo + discussion on Aug. 31st 16:00GMT
A project has been funded by the Wikimedia Foundation as part of the Structured Data Across Wikimedia Work to create a tool called View it! The tool aims to increase the discoverability of images on Commons, give readers and editors access to more images, and encourage contributors to utilize Commons & structured data. Please visit the Meta page if you are interested in trying out the prototype. We are having a demo and feedback session on August 31st at 16:00 UTC, please join us if you wish!
Please feel free to sign up for updates on the Meta page and please feel free to reach out with any questions. Thanks! JamieF (talk) 16:54, 29 August 2022 (UTC)
- @JamieF: https://en.wikipedia.org/wiki/Tools/View_it! page is a dead link Mateusz Konieczny (talk) 20:56, 29 August 2022 (UTC)
- https://en.wikipedia.org/wiki/Wikipedia:Tools/View_it! works - wikipedia: prefix in this context turns link into a Wikipedia link Mateusz Konieczny (talk) 20:57, 29 August 2022 (UTC)
- Thank you for catching that, I'm fixing the coding - I appreciate you. JamieF (talk) 23:50, 29 August 2022 (UTC)
- https://en.wikipedia.org/wiki/Wikipedia:Tools/View_it! works - wikipedia: prefix in this context turns link into a Wikipedia link Mateusz Konieczny (talk) 20:57, 29 August 2022 (UTC)
Tech News: 2022-35
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- The Realtime Preview is available as a Beta Feature on wikis in Group 2. This feature was built in order to fulfill one of the Community Wishlist Survey proposals. Please note that when this Beta feature is enabled, it may cause conflicts with some wiki-specific Gadgets.
Problems
- In recent months, there have been inaccurate numbers shown for various Special:Statistics at Commons, Wikidata, and English Wikipedia. This has now been fixed. [9]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 30 August. It will be on non-Wikipedia wikis and some Wikipedias from 31 August. It will be on all wikis from 1 September (calendar).
- Some wikis will be in read-only for a few minutes because of a switch of their main database. It will be performed on 30 August at 07:00 UTC (targeted wikis) and on 1 September at 7:00 UTC (targeted wikis).
Future changes
- The Wikimedia Foundation wants to improve how Wikimedia communities report harmful incidents by building the Private Incident Reporting System (PIRS) to make it easy and safe for users to make reports. You can leave comments on the talk page, by answering the questions provided. If you have ever faced a harmful situation that you wanted to report/reported, join a PIRS interview to share your experience. To sign up please email Madalina Ana.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
23:02, 29 August 2022 (UTC)
List file size under a category
How can I get file size of all files in a category? I want to check if PDF is complete by comparing file size. 維基小霸王 (talk) 03:24, 30 August 2022 (UTC)
- @Midleading Do you know how? 維基小霸王 (talk) 03:22, 31 August 2022 (UTC)
- incategory & filesize Midleading (talk) 04:47, 31 August 2022 (UTC)
- How to list file sizes? I want all size for files under Category:Scans from Harvard-Yenching's Chinese rare book collection. 維基小霸王 (talk) 13:22, 31 August 2022 (UTC)
- https://commons.wikimedia.org/w/api.php?action=query&format=xml&prop=imageinfo&generator=categorymembers&iiprop=size&gcmtitle=Category%3AScans%20from%20Harvard-Yenching's%20Chinese%20rare%20book%20collection Midleading (talk) 07:48, 4 September 2022 (UTC)
- @Midleading Thanks! How to go to the next page? 維基小霸王 (talk) 06:34, 9 September 2022 (UTC)
- Put the arguments specified by <continue gcmcontinue="file|484152564152442044525320313032323635323820e8978fe69599e99fb3e8819e20e58db7e4ba8ce58d81e4ba8ce887b3e4ba8ce58d81e59b9b2e504446|118533709" continue="gcmcontinue||"/> in the request and send again, add "...&continue=gcmcontinue%7C%7C&gcmcontinue=file%7C4841525..." Midleading (talk) 07:24, 9 September 2022 (UTC)
- It works! Thanks a lot. 維基小霸王 (talk) 06:55, 13 September 2022 (UTC)
- Put the arguments specified by <continue gcmcontinue="file|484152564152442044525320313032323635323820e8978fe69599e99fb3e8819e20e58db7e4ba8ce58d81e4ba8ce887b3e4ba8ce58d81e59b9b2e504446|118533709" continue="gcmcontinue||"/> in the request and send again, add "...&continue=gcmcontinue%7C%7C&gcmcontinue=file%7C4841525..." Midleading (talk) 07:24, 9 September 2022 (UTC)
- @Midleading Thanks! How to go to the next page? 維基小霸王 (talk) 06:34, 9 September 2022 (UTC)
- https://commons.wikimedia.org/w/api.php?action=query&format=xml&prop=imageinfo&generator=categorymembers&iiprop=size&gcmtitle=Category%3AScans%20from%20Harvard-Yenching's%20Chinese%20rare%20book%20collection Midleading (talk) 07:48, 4 September 2022 (UTC)
- How to list file sizes? I want all size for files under Category:Scans from Harvard-Yenching's Chinese rare book collection. 維基小霸王 (talk) 13:22, 31 August 2022 (UTC)
- incategory & filesize Midleading (talk) 04:47, 31 August 2022 (UTC)