Commons:Village pump/Technical
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/2024/02 /Archive/2024/03.
- Feature or bug reports should be filed on Phabricator (see how to report a bug). Bugs with security implications should be reported differently (see how to report security bugs).
- Have you read the FAQ?
SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 1 day and sections whose most recent comment is older than 30 days. | |
Template:Userpage formatting[edit]
I'm trying to add formatting parameters to Template:Userpage (e.g. for changing the background color), but having some issues. I introduced them to Template:Userpage/layout, but I gather that I need to pass them through language variants like Template:Userpage/en to get them to be usable. But when I try to add something like
|border={{{border|}}}
|background={{{background|}}}
|extra-style={{{extra-style|}}}
|file={{{file|}}}
to the English translation, it shows in previews that undefined values are interpreted as blanks rather than just ignored. How do I get around this? Best, {{u|Sdkb}} talk 19:48, 5 December 2023 (UTC)
- {{subst:bump}} {{u|Sdkb}} talk 07:27, 3 February 2024 (UTC)
- {{subst:bump}} Sdkb talk 16:39, 6 March 2024 (UTC)
- it looks similar to a problem i had before. i think i was trying to call another template in a template, but the parameters somehow couldnt be properly passed. i just gave up at the end. i cant remember the details.
- when a discussion has no reply for this long, chances are no one knows or is interested.
- i used to go directly to en:wp:vpt even for tech problems on commons, if i feel that chances of getting a good answer is higher there. obviously i cant do that anymore due to bullshit, though. RZuo (talk) 19:28, 6 March 2024 (UTC)
- take a look at https://commons.wikimedia.org/w/index.php?title=Commons:Sandbox&diff=prev&oldid=858887180 .
- basically when Template:Userpage/en calls Template:Userpage/layout, if you include those new parameters, this whole thing "{{{file|}}}" is passed to Template:Userpage/layout.
- i guess the answer is, you cant pass a parameter from page A to template:B and ask template:B to pass it again to template:C. i'm not sure if my analysis is correct. RZuo (talk) 11:21, 8 March 2024 (UTC)
UploadStash documentation[edit]
it'd be great if someone can write something at Commons:UploadStash about Special:UploadStash, like how long the temporary files are stored in the stash.
or maybe you can point to where the actual documentation about this is. i made it a soft redirect to where the doc is supposed to be but the target page is certainly abandoned and outdated. RZuo (talk) 10:49, 29 January 2024 (UTC)
- I made a start. Is there anything in particular you think should be included? Bawolff (talk) 09:16, 22 February 2024 (UTC)
- thx a lot. i was just looking for how long (48 hours). RZuo (talk) 11:16, 22 February 2024 (UTC)
- Ah yes, its 48 hours, controlled by $wmgUploadStashMaxAge in InitialiseSettings.php [1]. It should be noted there is currently a bug where sometimes stash files get reported as being deleted way before it should. We think it happens when multiple mediawiki jobs try to assemble the file at the same time, and one deletes the file out from under the other one and we are working to try and fix it. Bawolff (talk) 19:42, 22 February 2024 (UTC)
- thx a lot. i was just looking for how long (48 hours). RZuo (talk) 11:16, 22 February 2024 (UTC)
Patrol interface changed?[edit]
I just noticed that the links that I normally see when viewing unpatrolled diffs seem to have disappeared. When viewing a new page the link shows as usual. Have the revision-patrol links moved, and I’m just not seeing them, or might a gadget or something be interfering with their display? (I haven’t changed any preferences recently.)—Odysseus1479 (talk) 04:14, 15 February 2024 (UTC)
Hi, It seems there is bug when patrolling edits since this morning (CET). Example: this edit doesn't seem to be patrolled (i.e. not in the log [2]), but it can't be patrolled, and the user is not autopatrolled. Yann (talk) 16:32, 15 February 2024 (UTC)
- Since it was reported by at least 2 persons, I made a bug report. Yann (talk) 16:49, 15 February 2024 (UTC)
- Can confirm this, also in RTRC. GPSLeo (talk) 16:59, 15 February 2024 (UTC)
- I note that the red exclamation-marks that indicate unpatrolled edits in my watchlist are still showing, so the problem is apparently not that the edits are failing to be identified by the software, occurring instead during the construction or presentation of diff pages.—Odysseus1479 (talk) 21:42, 15 February 2024 (UTC)
- This seems to be fixed despite no one commented at the Phabricator ticket. GPSLeo (talk) 08:05, 18 February 2024 (UTC)
- No, the bug is still here for me. Yann (talk) 16:46, 18 February 2024 (UTC)
- Me too. In case it helps anyone from Phabricator who may be reading this, I’m in Safari 17.3 / MacOS 13.6 using the Vector legacy (2010) skin. I might try other skins (although I don’t know what the patrol link usually looked like in them); will report back if any difference is seen.—Odysseus1479 (talk) 01:24, 21 February 2024 (UTC) P.S. Tried all the skins: the links do appear in MinervaNeue. Twice in fact, one in the usual place under the ES &c. and one at the bottom of the page. (I have my preferences set not to display pages under diffs.) But missing from all the others AFAICT. (I tried turning off a couple of Gadgets in Vector; no difference.)—03:01, 21 February 2024 (UTC)
- Does adding the following code to User:Odysseus1479/vector.css fix the issue for you?
- Me too. In case it helps anyone from Phabricator who may be reading this, I’m in Safari 17.3 / MacOS 13.6 using the Vector legacy (2010) skin. I might try other skins (although I don’t know what the patrol link usually looked like in them); will report back if any difference is seen.—Odysseus1479 (talk) 01:24, 21 February 2024 (UTC) P.S. Tried all the skins: the links do appear in MinervaNeue. Twice in fact, one in the usual place under the ES &c. and one at the bottom of the page. (I have my preferences set not to display pages under diffs.) But missing from all the others AFAICT. (I tried turning off a couple of Gadgets in Vector; no difference.)—03:01, 21 February 2024 (UTC)
- No, the bug is still here for me. Yann (talk) 16:46, 18 February 2024 (UTC)
- This seems to be fixed despite no one commented at the Phabricator ticket. GPSLeo (talk) 08:05, 18 February 2024 (UTC)
- I note that the red exclamation-marks that indicate unpatrolled edits in my watchlist are still showing, so the problem is apparently not that the edits are failing to be identified by the software, occurring instead during the construction or presentation of diff pages.—Odysseus1479 (talk) 21:42, 15 February 2024 (UTC)
- Can confirm this, also in RTRC. GPSLeo (talk) 16:59, 15 February 2024 (UTC)
.patrollink.patrollink-diffonly { display: block; }
Jdlrobson (talk) 04:22, 21 February 2024 (UTC)
- @Jdlrobson: it does indeed; thank you very much!—Odysseus1479 (talk) 06:03, 21 February 2024 (UTC)
- Thanks for the extra information. I'll feed that back to the ticket tomorrow and work out what happened here to find a better long term solution. Jdlrobson (talk) 06:06, 21 February 2024 (UTC)
Cat-a-lot does not work for categories[edit]
There seems to be a technical problem with Help:Gadget-Cat-a-lot: when I click on Preferences, click on "Allow categorising pages (including categories) that are not files", then select one or more subcategories and try to move/copy/delete them to/from another category (like I always do), nothing happens but an endless "Editing page 1 of X". Moving files is no problem. Can this be fixed? JopkeB (talk) 11:05, 16 February 2024 (UTC)
- I am not the only one having troubles, see Commons:Village_pump#Cat-a-lot as well. JopkeB (talk) 13:27, 16 February 2024 (UTC)
- Same for me: moving categories does not work, moving files works. --Reinhard Müller (talk) 14:49, 16 February 2024 (UTC)
- I confirm that it is not working. Theklan (talk) 09:36, 24 February 2024 (UTC)
- I can also confirm that it's not working for categories, although it will sometimes say that the category was moved.Smasongarrison (talk) 00:28, 27 February 2024 (UTC)
- I confirm that it is not working. Theklan (talk) 09:36, 24 February 2024 (UTC)
- Same for me: moving categories does not work, moving files works. --Reinhard Müller (talk) 14:49, 16 February 2024 (UTC)
- Note: If there is specific categories where problem can be replicated then please list them. (ie. fixing requires example cases) --Zache (talk) 15:58, 16 February 2024 (UTC)
- I would like to copy a lot of subcategories in Category:Energy by type of energy to Category:Energy by topic (all except for the 'by' categories). JopkeB (talk) 16:20, 16 February 2024 (UTC)
- It was broken by a change to the HTML structure of the category pages, see phab:T355636#9553616. I hope it will be fixed by another change to the HTML structure, but if not, an interface admin should update the method getMarkedLabels() to account for the change. —Tacsipacsi (talk) 14:02, 18 February 2024 (UTC)
- Same problem for me. I have posted this on MediaWiki talk:Gadget-Cat-a-lot.js but the only replies are people saying "Same problem for me". So nobody is actually looking after this? Cnbrb (talk) 23:19, 27 February 2024 (UTC)
- I would like to copy a lot of subcategories in Category:Energy by type of energy to Category:Energy by topic (all except for the 'by' categories). JopkeB (talk) 16:20, 16 February 2024 (UTC)
For me moving categories was never possible with cat a lot. Always moved one by one.Paradise Chronicle (talk) 05:24, 14 March 2024 (UTC)
How to solve the problem that videos uploaded using video2commons lack normal audio[edit]
I recently uploaded a Flickr video using video2commons, but the audio was missing after uploading it several times. How to solve it?The target file is File:Freezing rain (20240220).webm, and the video source link is [3]. Fumikas Sagisavas (talk) 06:24, 21 February 2024 (UTC)
- what do you mean by normal audio? i played it on commons and flickr for a few seconds. they sound the same. upload appears successful? did you turn on your loudspeaker, etc.? RZuo (talk) 09:12, 21 February 2024 (UTC)
More worthless structured data?[edit]
Does Structured Data still matter, or have we given up on it?
There's a new tool out there, and it (once again) seems to be focussed on diluting the usefulness of any Structured Data that's held in favour of the trivial and pointless. Is this (again!) the direction we want to be going in?
File:Avenue des Champs-Elysées from top of Arc de triomphe Paris.jpg is a major landmark in Paris. There are clear topics of significance here. But what do we have instead? 'Arc de Triomphe' (which isn't here) and 'road, tree, building', which sound like an example case from a text on 'How to categorize things in a way that's not incorrect, yet also quite useless'.
Or taking a historically significant photo like File:Crowds of French patriots line the Champs Elysees-edit2.jpg with the useful and relevant data 'Arc de Triomphe' (yes, it is), 'Liberation of Paris' (yes, although maybe we could be even more specific), 'M3' and 'M8' (horribly ambiguous as names, although the QIDs are much better. But then adding 'sky, human, tree' to it ?
What is the point to any of this? SD is largely useless to start with, but why do we keep building projects like this to make it worse? Andy Dingley (talk) 13:15, 21 February 2024 (UTC)
Using translate tags in Lua[edit]
{{POTY/header}} has a lot of complicated logic so I'm working on implementing it in Lua at Module:POTY/header, but judging from {{POTY/header/sandbox}}, it seems the <translate>
tags are being stringified too early. How can I fix this? —CalendulaAsteraceae (talk • contribs) 22:43, 21 February 2024 (UTC)
- @CalendulaAsteraceae:
<translate>
tags are for wikitext, they cannot be used in modules. (Under the hood, the Translate extension directly manipulates the page’s wikitext content, it’s not a real parser tag, and refuses to manipulate anything that’s not wikitext, to be on the safe side.) You have basically two options:- Keep {{POTY/header}} (which you’d probably do anyway) and pass the translatable strings as parameters to the module. This also has the advantage that existing translations can stay where they are, no need to copy translations over (and pay attention to the attribution required by the CC license).
- Use message bundles. This is a JSON-based format, designed for use in modules, but it’s pretty new, I couldn’t even find any useful documentation on it. (It’s mentioned at mw:Translatable modules/Technical implementation#Proposed solution: Message bundles on module subpage(s), but that page hasn’t been touched in over three years.)
- By the way, Module:POTY/header is currently almost twice as big (in terms of bytes) as Template:POTY/header. Does it really make sense to reimplement it in Lua? Much of the complexity comes from HTML and translation markup – HTML is even more complicated in Lua than in wikitext, translation is impossible. —Tacsipacsi (talk) 23:24, 25 February 2024 (UTC)
- Thank you! I'll try passing the translatable strings to the module and see if that's notably better than the current state of affairs. If so, great; if not, I'll either leave things as they are or investigate message bundles. —CalendulaAsteraceae (talk • contribs) 04:28, 29 February 2024 (UTC)
The current pipeline for uploading images through Flickr is completely broken.[edit]
At present, the pipeline for uploading pictures and videos through Flickr has been completely damaged. After uploading, it stays at "Submitting details…". Please repair it as soon as possible. Fumikas Sagisavas (talk) 23:27, 21 February 2024 (UTC)
- I was about to mention this. With upload wizard, Flickr photos look like they're going to upload, displaying the image and letting you add categories and edit fields, but when you push "publish" it never loads. This started for me yesterday evening. I tried letting one run for 20 minutes to see if it would ever resolve, but it didn't. I just tried again a few minutes ago using a different machine, but same result. -- Infrogmation of New Orleans (talk) 14:20, 22 February 2024 (UTC)
- Still the same problem, I tried letting 1 image run over half an hour, but no better. -- Infrogmation of New Orleans (talk) 18:05, 22 February 2024 (UTC)
- Still not working, and it's been a week. --Ser Amantio di Nicolao (talk) 17:22, 27 February 2024 (UTC)
- Still the same problem, I tried letting 1 image run over half an hour, but no better. -- Infrogmation of New Orleans (talk) 18:05, 22 February 2024 (UTC)
- The phab task https://phabricator.wikimedia.org/T358414 which seems to be the same issue was resolved yesterday. Can you if check this works for you now please? CParle (WMF) (talk) 15:02, 29 February 2024 (UTC)
- @CParle (WMF): Seems to be working fine. Thanks for the fix. --Ser Amantio di Nicolao (talk) 17:57, 29 February 2024 (UTC)
Image timeouts[edit]
Hi, during browsing I'm getting a lot of timeouts trying to load images from Wikimedia servers on en.Wikipedia and wikimedia.org. For the last few days. Any advice? It's intermittent, but when it's out it's out. Temerarius (talk) 23:08, 22 February 2024 (UTC)
All videos uploaded in the last week lack audio[edit]
Hello! All videos uploaded in the last week lack audio, despite the audio can be downloaded in the mp3 transcode. You can check this here. Theklan (talk) 14:41, 23 February 2024 (UTC)
- Thank you for asking the question here, I need help too on this subject! My video , File:Wikimania - The Wikimentary - Edited.webm , does not display sound when viewing in a thumbnail; It does have the mp3 Transcode, though, and also, when I search for it in the search bar, the "preview" played does have audio with it!
Blocktomo (talk) 15:36, 24 February 2024 (UTC)
Commons mobile phone app – problems with setting author name[edit]
Hi there.
I have some problems with setting an author name to the files I upload from the Commons app I downloaded from F-Droid. I found the "Custom author name" setting, but no matter what value I try to set, I'll never get the result I want.
What I want to achieve: Link to my user page masked as my full name (like this: Jan Štěch, for example on File:Jasan u Milešic 01.jpg).
What I tried:
- Setting
ShadyMedic
lead to what you'd expect and can see on File:Lípa srdčitá – Strunkovice nad Blanicí.jpg - Setting
Jan Štěch
lead to what you can see on File:Zrekonstruované Českobudějovické Nádraží 4.jpg - Setting
[[User:ShadyMedic | Jan Štěch]]
lead to what you can see on File:File:Úsilnický rybník.jpg
Any ideas what do I need to set in there?
Thanks in advance. ShadyMedic (talk) 17:21, 24 February 2024 (UTC)
- @ShadyMedic: it appears that the app is automatically wrapping your entry in a user link. What happens if you submit
ShadyMedic|Jan Štěch
, without the brackets orUser:
?—Odysseus1479 (talk) 00:01, 25 February 2024 (UTC)- Hi Odysseus, thank you for your reply. I tried setting the Custom author name to
ShadyMedic|Jan Štěch
, result of which is another unwanted formatting, which you can see on File:Dálnice D3 – Konec u Českých Budějovic.jpg - .
- Do you have any other ideas? ShadyMedic (talk) 16:47, 25 February 2024 (UTC)
- Sorry, no—other than not using the setting, instead making follow-up edits to ‘pipe’ your name. Looking more carefully at the examples it seems to be just duplicating whatever you submit, which seems to me either a bug or a design flaw.—Odysseus1479 (talk) 03:27, 26 February 2024 (UTC)
- Nevermind, still thanks. Just one more question: is there a tool on Commons or perhaps a bot of sorts where I can request to set the Author value of all my uploads to the desired value, so it's done automatically? ShadyMedic (talk) 08:23, 26 February 2024 (UTC)
- Sorry, no—other than not using the setting, instead making follow-up edits to ‘pipe’ your name. Looking more carefully at the examples it seems to be just duplicating whatever you submit, which seems to me either a bug or a design flaw.—Odysseus1479 (talk) 03:27, 26 February 2024 (UTC)
- Hi Odysseus, thank you for your reply. I tried setting the Custom author name to
- i suggest you report this to https://github.com/commons-app/apps-android-commons/issues .
- as for a manual patch after upload, you can DIY with com:vfc com:jwb etc. RZuo (talk) 08:43, 26 February 2024 (UTC)
Broken PNG[edit]
Is there any way to know what is broken about this file? It cannot display a thumb or at full or other resolution. But I cannot even download it to try to work on it locally. DMacks (talk) 22:47, 24 February 2024 (UTC)
- The uploader uploaded File:Photo of a TLC plate Baclofen.tif minutes later, so my guess is that it's the same image. The Squirrel Conspiracy (talk) 23:27, 24 February 2024 (UTC)
- Makes sense. DMacks (talk) 23:28, 24 February 2024 (UTC)
- (Edit conflict) @DMacks: I believe that was a lossless JPEG, from a version of the standard that’s not widely supported outside of medical imaging. FWIW the original file displayed in my browser, and when downloaded could be opened in Apple Preview (but not in Adobe Photoshop).—Odysseus1479 (talk) 23:44, 24 February 2024 (UTC)
- Crazy! I was also using Apple (Firefox), since I have better tools on my Mac for handling a range of situations like that, but couldn't even get as far as downloading it. Thanks for the info. DMacks (talk) 23:49, 24 February 2024 (UTC)
- Safari here, fairly recent. I just tried it on a much older Mac, where it couldn’t be opened with any of Safari, Preview or GIMP. (Too late to check download-ability from there.)—Odysseus1479 (talk) 00:11, 25 February 2024 (UTC)
- @Odysseus1479: I've undeleted it. Is it possible for you to download the file and save it as a different format of jpg? Alternatively, can you confirm that it's identical to File:Photo of a TLC plate Baclofen.tif? Thanks! The Squirrel Conspiracy (talk) 02:29, 25 February 2024 (UTC)
- @The Squirrel Conspiracy: Done and linked to the (presumably) losslessly compressed TIFF, for anyone who cares, not that there’s any appreciable difference in quality for such a ‘fuzzy’ original. While I was at it I cropped off the white border.—Odysseus1479 (talk) 03:30, 25 February 2024 (UTC)
- Awesome, thanks! The Squirrel Conspiracy (talk) 04:49, 25 February 2024 (UTC)
- @The Squirrel Conspiracy: Done and linked to the (presumably) losslessly compressed TIFF, for anyone who cares, not that there’s any appreciable difference in quality for such a ‘fuzzy’ original. While I was at it I cropped off the white border.—Odysseus1479 (talk) 03:30, 25 February 2024 (UTC)
- @Odysseus1479: I've undeleted it. Is it possible for you to download the file and save it as a different format of jpg? Alternatively, can you confirm that it's identical to File:Photo of a TLC plate Baclofen.tif? Thanks! The Squirrel Conspiracy (talk) 02:29, 25 February 2024 (UTC)
- Safari here, fairly recent. I just tried it on a much older Mac, where it couldn’t be opened with any of Safari, Preview or GIMP. (Too late to check download-ability from there.)—Odysseus1479 (talk) 00:11, 25 February 2024 (UTC)
- Crazy! I was also using Apple (Firefox), since I have better tools on my Mac for handling a range of situations like that, but couldn't even get as far as downloading it. Thanks for the info. DMacks (talk) 23:49, 24 February 2024 (UTC)
- (Edit conflict) @DMacks: I believe that was a lossless JPEG, from a version of the standard that’s not widely supported outside of medical imaging. FWIW the original file displayed in my browser, and when downloaded could be opened in Apple Preview (but not in Adobe Photoshop).—Odysseus1479 (talk) 23:44, 24 February 2024 (UTC)
- Makes sense. DMacks (talk) 23:28, 24 February 2024 (UTC)
CommonsDelinker[edit]
Hi, CommonsDelinker is stuck since 09:06, 23 February 2024. Could someone restart it? Thanks, Yann (talk) 11:40, 26 February 2024 (UTC)
Tech News: 2024-09[edit]
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 mobile visual editor is now the default editor for users who never edited before, at a small group of wikis. Research shows that users using this editor are slightly more successful publishing the edits they started, and slightly less successful publishing non-reverted edits. Users who defined the wikitext editor as their default on desktop will get the wikitext editor on mobile for their first edit on mobile as well. [4]
- The mw.config value
wgGlobalGroups
now only contains groups that are active in the wiki. Scripts no longer have to check whether the group is active on the wiki via an API request. A code example of the above is:if (/globalgroupname/.test(mw.config.get("wgGlobalGroups")))
. [5]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 27 February. It will be on non-Wikipedia wikis and some Wikipedias from 28 February. It will be on all wikis from 29 February (calendar). [6][7]
Future changes
- The right to change edit tags (
changetags
) will be removed from users in Wikimedia sites, keeping it by default for admins and bots only. Your community can ask to retain the old configuration on your wiki before this change happens. Please indicate in this ticket to keep it for your community before the end of March 2024.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 19:20, 26 February 2024 (UTC)
Old map does not open[edit]
While categorizing the files in Kolkata, I found that the image City of Calcutta (10403000).jpg doesn't open. I have a good internet connection and other files load properly, but this one doesn't. I suspect that it is an old map of Kolkata since it is categorized under Old maps by the Survey of India and David Rumsey Historical Map Collection. Sbb1413 (he) (talk • contribs) 11:13, 27 February 2024 (UTC)
- @Sbb1413: it seems fine to me, just extremely large. It expands to well over 2 GB, and it took my browser quite a long time to display, even after having loaded it, so it’s probably overwhelming the renderer, perhaps timing out. The description & categorization seem quite apt already, but if you have specific questions about what it shows I can try and answer them based on the copy I downloaded. I could also try downsampling to a more manageable format for reference (to be uploaded separately, of course, and linked).—Odysseus1479 (talk) 20:53, 27 February 2024 (UTC)
- I uploaded a version with reduced resolution and colour depth (down to 150 Mpx, losslessly compressed to 67 MB), but still a decent representation (if I say so myself). @Sbb1413: I put a link on the original page so there’s a mini-thumbnail at least.—Odysseus1479 (talk) 00:32, 5 March 2024 (UTC)
- Thank you for this. I was wondering what the image was about, and I found that it is an old map of Kolkata. Sbb1413 (he) (talk • contribs) 02:44, 5 March 2024 (UTC)
Report request[edit]
Hello! Can someone please generate a list of files (ideally hyperlinked or in a gallery) that meet the following criteria:
1) The file page contains {{Remove border}}
2) The most recent upload contains the text "using CropTool"
This should allow me to quickly review requests for crop that have already been completed, as CropTool didn't remove that template during its early history. Thanks! The Squirrel Conspiracy (talk) 12:13, 1 March 2024 (UTC)
translation[edit]
hi, i want to translate the village pump and welcome in punjabi language (pa), that appears in the sidebar. Punjabi translations of these are
- Village Pump - ਸੱਥ
- Welcome - ਜੀ ਆਇਆਂ ਨੂੰ
KuldeepBurjBhalaike (Talk) 13:10, 2 March 2024 (UTC)
- This relates to MediaWiki:Sidebar and its Punjabi language interface. Our Village Pump doesn't appear to have a Punjabi language variant, but COM:Welcome (See {{Lang-VP}}) has an attempted little translation at Commons:ਜੀ ਆਇਆਂ ਨੂੰ. You'd need to adopt the Village Pump at Commons:ਸੱਥ (by attempting Village Pump's Punjabi language translation), and for Welcome, I believe I have set-up the messages at MediaWiki:Welcome/pa and MediaWiki:Welcome-url/pa. It should appear on the interface. Please let me know if this helps. ─ Aafī (talk) 14:23, 2 March 2024 (UTC)
- Thank you :) KuldeepBurjBhalaike (Talk) 11:39, 3 March 2024 (UTC)
Notification of discussion[edit]
Hello, Template talk:GPLv3 has had a merge discussion for a year and a bit now, and has seen little activity. Please help contribute to the discussion. Thank you, —Matrix(!) {user - talk? - contributions} 12:14, 3 March 2024 (UTC)
Tech News: 2024-10[edit]
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
Special:Book
page (as well as the associated "Create a book" functionality) provided by the old Collection extension has been removed from all Wikisource wikis, as it was broken. This does not affect the ability to download normal books, which is provided by the Wikisource extension. [8] - Wikitech now uses the next-generation Parsoid wikitext parser by default to generate all pages in the Talk namespace. Report any problems on the Known Issues discussion page. You can use the ParserMigration extension to control the use of Parsoid; see the ParserMigration help documentation for more details.
- Maintenance on etherpad is completed. If you encounter any issues, please indicate in this ticket.
- Gadgets allow interface admins to create custom features with CSS and JavaScript. The
Gadget
andGadget_definition
namespaces andgadgets-definition-edit
user right were reserved for an experiment in 2015, but were never used. These were visible on Special:Search and Special:ListGroupRights. The unused namespaces and user rights are now removed. No pages are moved, and no changes need to be made. [9] - A usability improvement to the "Add a citation" in Wikipedia workflow has been made, the insert button was moved to the popup header. [10]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 5 March. It will be on non-Wikipedia wikis and some Wikipedias from 6 March. It will be on all wikis from 7 March (calendar). [11][12]
Future changes
- All wikis will be read-only for a few minutes on March 20. This is planned at 14:00 UTC. More information will be published in Tech News and will also be posted on individual wikis in the coming weeks. [13]
- The HTML markup of headings and section edit links will be changed later this year to improve accessibility. See Heading HTML changes for details. The new markup will be the same as in the new Parsoid wikitext parser. You can test your gadget or stylesheet with the new markup if you add
?useparsoid=1
to your URL (more info) or turn on Parsoid read views in your user options (more info).
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 19:44, 4 March 2024 (UTC)
Automatically Counting Images in Section[edit]
Is there a way to automatically count the number of files in a page section and have it displayed somewhere on the page? I have a gallery section with a number of subsections on my userpage and for reference purposes it would be useful to have a way to know how many files are in each section without having to manually count them. –Noha307 (talk) 00:57, 5 March 2024 (UTC)
- You seem to use {{Gallery}}. It’s technically possible to expand the template to support your use case, although I’m not sure if it’s worth making a template used on thousands of pages more complicated just because of one page. —Tacsipacsi (talk) 09:58, 5 March 2024 (UTC)
- you could adapt w:Module:Table row counter for this. Enhancing999 (talk) 10:01, 5 March 2024 (UTC)
The 5MB bug[edit]
Last Wed I fixed a bug (phab:T350917) where files uploaded with chunked uploads would have their last chunk missing (Often called the 5MB bug because upload wizard uses 5MB chunks, so usually such files are a multiple of 5MB). This is not the first time this bug has been fixed, but I'm hopeful this fix is a bit more robust. So far no new files with this issue have been uploaded, where previously we were averaging about 2 a day. Anyhow, the reason I'm writing here is there are a bunch of files that are cut-off from before the fix went in. I'm not sure if someone wants to tell their authors, or delete them, or something. There is a list at https://quarry.wmcloud.org/query/80784# (Its possible there could be false positives on this list, but it seems like most are true positives). Bawolff (talk) 05:18, 5 March 2024 (UTC)
- thx a lot for fixing it.
- a few years ago such files have been added to Category:Incomplete JPG files (5 MB interruption). more recent buggy uploads over the last few years can be added to this too, ideally simultaneously with a reminder sent to their user talk pages.--RZuo (talk) 09:42, 5 March 2024 (UTC)
How to exclude redirects in search results?[edit]
https://commons.wikimedia.org/w/index.php?search=intitle:%22add+name+later%22 . i tried -insource, filesize, linksto, hastemplate. nothing works.--RZuo (talk) 09:42, 5 March 2024 (UTC)
- This is a discussion on the topic that might be helpful. —CalendulaAsteraceae (talk • contribs) 21:33, 10 March 2024 (UTC)
SDC duplicator?[edit]
is there a tool to copy sdc from 1 file to another file? use is for croptool uploads like File:Meiji Chelsea Yogurt Scotch 2011.jpg. RZuo (talk) 09:47, 5 March 2024 (UTC)
Background not showing up in SVG previews[edit]
For some reason the background is not showing up correctly in SVG files I recently uploaded, e.g. File:Finnish dialect location map - southwestern dialects.svg (and 6 others). They're supposed to have the water (light blue) as the background, and it shows up correctly when I open the SVG file in my browser, but not in any of the generated previews, where it is either transparent or solid black. I think it is an issue in the SVG file, but I'm not sure what it is. — SURJECTION / T / C / L / 15:23, 10 March 2024 (UTC)
- @Surjection:
- The background is created with
<rect class="sea background" width="960" height="1558" rx="" ry=""/>
- Which is not supplying a number for
rx
orry
. I removed the attributes and the sea appears. - The
class
information is also conflicting. The "sea" wants to be stroked, but the "background" does not. - Glrx (talk) 01:50, 11 March 2024 (UTC)
Tech News: 2024-11[edit]
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 12 March. It will be on non-Wikipedia wikis and some Wikipedias from 13 March. It will be on all wikis from 14 March (calendar). [14][15]
- After consulting with various communities, the line height of the text on the Minerva skin will be increased to its previous value of 1.65. Different options for typography can also be set using the options in the menu, as needed. [16]
- The active link color in Minerva will be changed to provide more consistency with our other platforms and best practices. [17]
- Structured data on Commons will no longer ask whether you want to leave the page without saving. This will prevent the “information you’ve entered may not be saved” popups from appearing when no information have been entered. It will also make file pages on Commons load faster in certain cases. However, the popups will be hidden even if information has indeed been entered. If you accidentally close the page before saving the structured data you entered, that data will be lost. [18]
Future changes
- All wikis will be read-only for a few minutes on March 20. This is planned at 14:00 UTC. More information will be published in Tech News and will also be posted on individual wikis in the coming weeks. [19][20]
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 23:02, 11 March 2024 (UTC)
TimedText select list loss[edit]
There is no Montenegrin language (crnogorski cnr
) in select language list of TimedText pages. how to fix this? ITZQing (talk) 11:02, 12 March 2024 (UTC)
- you need to write on phab:. you can make one for your language like phab:T354201. RZuo (talk) 12:55, 12 March 2024 (UTC)
Lossless crop assistance[edit]
File:MartzAction41A-1-.PNG has specific cropping instructions that I have never seen before with suggestion for lossless tools. I would like assistance in cropping this into 4:3 (630px wide) and/or 3:2 (560px wide) proportions using such a tool.-TonyTheTiger (talk) 11:16, 14 March 2024 (UTC)
- That file is a png, so cropping with pretty much any tool is going to be lossless. I assume that is why the template limits its recommendations for lossless tools with the note "if cropping a JPEG...". —RP88 (talk) 11:22, 14 March 2024 (UTC)
- I have extracted with Photo. What do I need to do regarding the metadata to follow the instructions?-TonyTheTiger (talk) 13:13, 14 March 2024 (UTC)
- I think you've already done it. Since the "copy this file metadata" link is just an edit link for the source file, I am pretty sure the template just wants to make sure you copy the contents of the {{Information}} from the source file to the new file. One quibble I would have is that the request was to "Crop to show the woman with the ball" but your cropped file shows both women. I think the goal of the requestor is to have a image of just Jennifer Martz that can be used at d:Q6178597 where it is not ambiguous as to which of the two women in the original image is Jennifer Martz. —RP88 (talk) 13:38, 14 March 2024 (UTC)
- User:RP88, Notice that my crop removed a front facing teammate of Martz'. I think that would be the more important secondary subject to worry about. I think considerations of the backward facing person are less relevant.-TonyTheTiger (talk) 00:04, 15 March 2024 (UTC)
- I think you've already done it. Since the "copy this file metadata" link is just an edit link for the source file, I am pretty sure the template just wants to make sure you copy the contents of the {{Information}} from the source file to the new file. One quibble I would have is that the request was to "Crop to show the woman with the ball" but your cropped file shows both women. I think the goal of the requestor is to have a image of just Jennifer Martz that can be used at d:Q6178597 where it is not ambiguous as to which of the two women in the original image is Jennifer Martz. —RP88 (talk) 13:38, 14 March 2024 (UTC)
- I have extracted with Photo. What do I need to do regarding the metadata to follow the instructions?-TonyTheTiger (talk) 13:13, 14 March 2024 (UTC)
- Thanks for the assistance. I am no longer watching here. Ping me on WP, if there is something I need to see on this issue.-TonyTheTiger (talk) 04:09, 16 March 2024 (UTC)
Images from Commons not being shown on Facebook[edit]
Hello. About two weeks ago Facebook seemed to stop showing images from links to Commons files. I do not know if that problem has been discussed here, but it still persists. For those of us who regularly post links in Facebook groups it is a great inconvenience, also given that all the existing links stopped showing images. Facebook obviously thinks that there is something wrong with the setup of Wikimedia Commons, but it is impossible for a common user as I to ask them what is wrong. Does anybody at Wikimedia Commons know what has changed? Cheers Rsteen (talk) 03:48, 16 March 2024 (UTC)
Tech News: 2024-12[edit]
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 notice "Language links are at the top of the page" that appears in the Vector 2022 skin main menu has been removed now that users have learned the new location of the Language switcher. [21]
- IP info feature displays data from Spur, an IP addresses database. Previously, the only data source for this feature was MaxMind. Now, IP info is more useful for patrollers. [22]
- The Toolforge Grid Engine services have been shut down after the final migration process from Grid Engine to Kubernetes. [23][24][25]
- Communities can now customize the default reasons for undeleting a page by creating MediaWiki:Undelete-comment-dropdown. [26]
Problems
- RevisionSlider is an interface to interactively browse a page's history. Users in right-to-left languages reported RevisionSlider reacting wrong to mouse clicks. This should be fixed now. [27]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 19 March. It will be on non-Wikipedia wikis and some Wikipedias from 20 March. It will be on all wikis from 21 March (calendar). [28][29]
- All wikis will be read-only for a few minutes on March 20. This is planned at 14:00 UTC. [30][31]
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 17:37, 18 March 2024 (UTC)
Logging usage of ajax quickdelete.[edit]
When using the speedy request in auditor, it generates a report in a log file, I was wondering how I could make a similar log for ajax quick delete CSD requests. Alachuckthebuck (talk) 20:15, 21 March 2024 (UTC)