Commons:Village pump/Technical
Community portal introduction | Help desk | Village pump copyright • proposals • technical | Administrators' noticeboard vandalism • user problems • blocks and protections |
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.
- 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. |
Marking files superseded by a template?[edit]
I've reconstructed File:2007 US News Top 40 colleges.png as w:Template:U.S. News top 10. However, when I try to mark the 2007 file as {{Superseded}}, it wants to force me to use a filename. Is there any way to mark the file as superseded in the way I want? Sdkb (talk) 06:31, 5 August 2020 (UTC)
- @Sdkb: You have to state the new file that supersedes the old one.Jonteemil (talk) 20:20, 10 August 2020 (UTC)
- @Jonteemil: So I'm going to take that as indication that there's no current way to do what I want? That seems like something that should be fixed, since this isn't even the first time I've come across a file that was superseded by a graph. I'll put a pointer to here at the template's talk page. Sdkb (talk) 20:51, 10 August 2020 (UTC)
- @Sdkb: Sorry, but what is it that you want? Can you please elaborate?Jonteemil (talk) 21:33, 10 August 2020 (UTC)
- @Jonteemil: I created w:Template:U.S. News top 10, which is an updated/dynamic version of the old File:2007 US News Top 40 colleges.png. I want to mark the old file with a notice that anyone coming across it should probably use w:Template:U.S. News top 10 instead. Sdkb (talk) 21:36, 10 August 2020 (UTC)
- @Sdkb: I think the way to achieve what you want probably lies in creating a local description on enwiki. On en:File:2007 US News Top 40 colleges.png there's a link to "Add a local description". I've never tried using it, but it would seem to be the obvious way to add a statement of supersession that would only appear on enwiki. You might want to ask in en:Wikipedia:Help desk for guidance, though. --bjh21 (talk) 10:07, 11 August 2020 (UTC)
- @Sdkb: I've now created a local description on enwiki and moved the notice there. This seems to have worked properly, though I didn't find a dedicated template there either. --bjh21 (talk) 12:44, 20 August 2020 (UTC)
- @Jonteemil: I created w:Template:U.S. News top 10, which is an updated/dynamic version of the old File:2007 US News Top 40 colleges.png. I want to mark the old file with a notice that anyone coming across it should probably use w:Template:U.S. News top 10 instead. Sdkb (talk) 21:36, 10 August 2020 (UTC)
- @Sdkb: Sorry, but what is it that you want? Can you please elaborate?Jonteemil (talk) 21:33, 10 August 2020 (UTC)
- @Jonteemil: So I'm going to take that as indication that there's no current way to do what I want? That seems like something that should be fixed, since this isn't even the first time I've come across a file that was superseded by a graph. I'll put a pointer to here at the template's talk page. Sdkb (talk) 20:51, 10 August 2020 (UTC)
@Sdkb: You do realize that w:Template:U.S. News top 10 is not a file, right? Furthermore, since Wikimedia Commons is global project, and enwiki a local one, an enwiki file can't supersede a Commons file.
- I do agree that File:2007 US News Top 40 colleges.png would be considered superseded on enwiki but on Wikimedia Commons we also have to take into account all the other thousands of wikis that hypothetically might be in use of the file.Jonteemil (talk) 21:45, 10 August 2020 (UTC)
- How can a template on en-wiki supersede a file on Commons? The former is specific to en-wiki; the latter can be used by any wiki in our system.
- How can something that shows a "top 10" be considered as necessarily superseding something else that shows a "top 40"? They are clearly not interchangeable.
Prevent automatic section int:filedesc on upload[edit]
Hello,
because I have my own description template to simplify some useful informations (camera, location etc.), I use the blank upload form (&uploadformstyle=basic). My template already includes == {{int:filedesc}} ==
(and == {{int:license-header}} ==
, too), which was no problem so far. But newly the basic upload form automatically adds the section int:filedesc on top, which is very annyoing, because I have to edit each new file page and remove it manually. Isn't there a possibility to prevent this? I already use the basic form excactly to have no unnecessary additions, and for those who need the section they can use the button in the click-and-paste-bar below the text field.
By the way, why don't we have a preview here like at dewiki? Would be very useful.
Thanks and regards --MdE ✉ [de] [com] 09:19, 6 August 2020 (UTC)
- We have preview on basic upload, I use it all the time, but you have to select the file and the name of the file before it will work. Also keep in mind that it will show all the category links in blue, even if they do not exist, so it doesn't help to check if categories are typed correctly. Also for me the top header has been adding itself since I have started here. As I can see it works in the following way, it adds == {{int:filedesc}} == as th first line, unless your first line is exactly that text (with spaces in those spots, etc.) if your approach adds a slightly different string, then perhaps it is misdetecting it, make sure that you do that exactly. ℺ Gone Postal (〠 ✉ • ✍ ⏿) 15:16, 11 August 2020 (UTC)
- @Gone Postal: First, I ment a preview of the description, not of the image! In order to check article links etc. (categories are no problem, existing ones are suggested and non-existing ones become red). Second, the first line in the description will always be my template and not int:filedesc even though the first line inside my template exactly matches the string as you mentioned. Isn't there any possibility to disable automatic adding manually? --MdE ✉ [de] [com] 21:33, 11 August 2020 (UTC)
- @MdE: Yes, I meant the description. What are you talking about? You clearly read me talking about categories, and they are not on the file itself, but in the description. I am confused, did you read what I have written or not? As for the addition of the heading, it should be the first heading anyhow, it is quite a bad idea to add things before it. So simply remove that heading from whatever template you are using to fill in all the fields, and the problem is solved. ℺ Gone Postal (〠 ✉ • ✍ ⏿) 04:59, 12 August 2020 (UTC)
- @Gone Postal: You wrote “it will show all the category links in blue, even if they do not exist” and that is wrong. Links to not existing categories are red. There is a group box File description on the upload formular, containing Destination filename, Summary, some edit tools, Licensing and then Categories (looks the same like HotCat). And this Categories section is very user-friendly because you can check the spelling before upload. But that was not the problem. What I need would be a whole page preview for the summary to check article links to enwiki or dewiki, not categories.
- You also wrote “So simply remove that heading from whatever template you are using to fill in all the fields, and the problem is solved.” - But who or what then solves the problem, that hundreds of my files are missing the
== {{int:license-header}} ==
, which whas included by my template?! I asked how to get ridd of the line, and you suggest keeping it... --MdE ✉ [de] [com] 14:04, 20 August 2020 (UTC)- I am sorry, are you OK? Did you try the preview with a non-existent category? Please provide a video recording of you doing so and getting a red link, otherwise I will assume that you are wasting my time. ℺ Gone Postal (〠 ✉ • ✍ ⏿) 14:08, 20 August 2020 (UTC)
- @Gone Postal, MdE: After some experimentation, I think the confusion here is that Gone Postal has the ImprovedUploadForm gadget turned on, and MdE has it turned off. If it's turned on then even the basic upload form gets a "Preview" button, but the preview generated by that button gets the colour of category links wrong. You can turn the gadget on in Special:Preferences. --bjh21 (talk) 15:14, 20 August 2020 (UTC)
- @Bjh21: Thanks. Because I was thinking that either I was insane or the user was going in that direction. It felt like we were speaking a different language. @MdE: Sorry for probably sounding too grouchy, I really did not understand what was happening. ℺ Gone Postal (〠 ✉ • ✍ ⏿) 15:19, 20 August 2020 (UTC)
- @Gone Postal, Bjh21: Oh yes, thank you, this caused the big misunderstanding :-O Seems to be a very nice gadget, but still lacks some especially for me useful possibilities that my own template supports. So I'm still searching for a possibility to turn off the automatic insertion in the basic upload form that was intended to be a blank form for experienced users... --MdE ✉ [de] [com] 14:24, 22 August 2020 (UTC)
- @Bjh21: Thanks. Because I was thinking that either I was insane or the user was going in that direction. It felt like we were speaking a different language. @MdE: Sorry for probably sounding too grouchy, I really did not understand what was happening. ℺ Gone Postal (〠 ✉ • ✍ ⏿) 15:19, 20 August 2020 (UTC)
- @Gone Postal, MdE: After some experimentation, I think the confusion here is that Gone Postal has the ImprovedUploadForm gadget turned on, and MdE has it turned off. If it's turned on then even the basic upload form gets a "Preview" button, but the preview generated by that button gets the colour of category links wrong. You can turn the gadget on in Special:Preferences. --bjh21 (talk) 15:14, 20 August 2020 (UTC)
- I am sorry, are you OK? Did you try the preview with a non-existent category? Please provide a video recording of you doing so and getting a red link, otherwise I will assume that you are wasting my time. ℺ Gone Postal (〠 ✉ • ✍ ⏿) 14:08, 20 August 2020 (UTC)
- @MdE: Yes, I meant the description. What are you talking about? You clearly read me talking about categories, and they are not on the file itself, but in the description. I am confused, did you read what I have written or not? As for the addition of the heading, it should be the first heading anyhow, it is quite a bad idea to add things before it. So simply remove that heading from whatever template you are using to fill in all the fields, and the problem is solved. ℺ Gone Postal (〠 ✉ • ✍ ⏿) 04:59, 12 August 2020 (UTC)
- @Gone Postal: First, I ment a preview of the description, not of the image! In order to check article links etc. (categories are no problem, existing ones are suggested and non-existing ones become red). Second, the first line in the description will always be my template and not int:filedesc even though the first line inside my template exactly matches the string as you mentioned. Isn't there any possibility to disable automatic adding manually? --MdE ✉ [de] [com] 21:33, 11 August 2020 (UTC)
Bug in UploadWizard?[edit]
When I use UploadWizard, the first round is okay, but every next upload, proceeding from 'Upload more images', after starting the upload I always get the message "You are already uploading etc." (but in Dutch, in my case: "U bent het bestand xxx.jpg al aan het uploaden"). This happens every time and has been going on for months, if not a year or longer. At first I thought it was due to an oversensitive mouse button, but it's not. Do other people also have this problem, and if so: could this be fixed? Thanks, Eissink (talk) 11:58, 9 August 2020 (UTC).
- Is this it? Phabricator:T235542. — Sam Wilson ( Talk • Contribs ) … 21:35, 11 August 2020 (UTC)
- @Eissink: yeah! I'm not sure why not. I guess it's not that common to click 'Upload more files' — I use it all the time though, and it's really annoying! I'm not very familiar with the UploadWizard code, but I might try to fix it if no one does soon. — Sam Wilson ( Talk • Contribs ) … 04:34, 12 August 2020 (UTC)
Tech News: 2020-33[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
- FileImporter and FileExporter became standard features on all Wikis during the first week of August. They help you transfer files from local wikis to Wikimedia Commons with the original file information and history intact. [1]
Problems
- The mobile skin displays a message at the bottom of the page about who edited last. This message showed raw wikitext. This has now been fixed. Some messages in Structured Discussions and content translation may still appear as raw wikitext. Developers are working on it. [2]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from August 11. It will be on non-Wikipedia wikis and some Wikipedias from August 12. It will be on all wikis from August 13 (calendar).
Future changes
- All wikis will be read-only for a few minutes on September 1. This is planned between 13:30 and 15:30 UTC. More information will be published in Tech News and will also be posted on individual wikis in the coming weeks. [3][4]
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
16:06, 10 August 2020 (UTC)
Add to watchlist[edit]
Hello!
Can you make files that you request be renamed, with RenameLink, to be added to your watchlist automatically?Jonteemil (talk) 19:56, 10 August 2020 (UTC)
- Probably your request may get better feedback at the gadget's discussion page: MediaWiki talk:Gadget-RenameLink.js. – Ammarpad (talk) 06:40, 23 August 2020 (UTC)
Uploading duplicate file by wizard - bad message[edit]
When trying to wizard-upload a file which seems to be duplicate I get a buggy message with no variables expanded or links linkified:
A file identical to this file ([[:$1]]) has previously been deleted. You should check that file's [https://commons.wikimedia.org/wiki/Special:Log/delete?type=delete&page={{urlencode:$1|WIKI}} deletion history]. If you disagree with the reason for deletion, please make an [[Commons:Undeletion requests|undeletion request]] instead of re-uploading.
This obviously not helping, especially since I can't guess the name of the original, deleted file. Someone please give some love to the message, thanks! --grin ✎ 15:06, 13 August 2020 (UTC)
- special:upload should give you the name of the file. This is bug phab:T246879.--Snaevar (talk) 20:59, 15 August 2020 (UTC)
Tech News: 2020-34[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
- If you revert an edit using the undo link your edit is marked with an
undo
tag. This will now only happen if you don't change anything in the edit window before publishing the undo. This is to keep users from marking edits as undos when they actually do something else. [5] - The new OOUI version will not work with Internet Explorer 8. This means the wikis will look strange and not work well in Internet Explorer 8. This was reported in Tech/News/2020/17. This is because keeping the wikis working with very old browsers creates other problems. [6]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 18 August. It will be on non-Wikipedia wikis and some Wikipedias from 19 August. It will be on all wikis from 20 August (calendar).
Future changes
- All wikis will be read-only for a few minutes on September 1. This is planned between 13:30 and 15:30 UTC. More information will be published in Tech News and will also be posted on individual wikis next week. This is a reminder. You can help by translating the announcement message. [7][8]
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
20:40, 17 August 2020 (UTC)
'Noise' in samples...[edit]
I noted that the sample here contained a lot of background noise.
Whilst in some instances it's useful to retain this, generally audio vocal samples should ideally reduce 'noise' in the sample as much as possible.
Is there a tag for marking samples for 'audio-cleanup' so that contributors with the appropriate expertise and tools can produce "noise reduced" samples? ShakespeareFan00 (talk) 09:13, 21 August 2020 (UTC)
- Aside - It would also be nice to know if there are 'free' and unencumbered algorithms that could be used to accomplish noise reduction ( The best one I found was proprietary, and not entirely lossless.)
ShakespeareFan00 (talk) 09:13, 21 August 2020 (UTC)
Tech News: 2020-35[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 25 August. It will be on non-Wikipedia wikis and some Wikipedias from 26 August. It will be on all wikis from 27 August (calendar).
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
17:58, 24 August 2020 (UTC)
Language showcase about module translation[edit]
Hi!
It's not the usual yadda-yadda.
This Wednesday, August 26 at 12:00 UTC there will be an online meeting on the topic of localizing Scribunto Lua modules. Posting it here because the Commons wiki will be one of the wikis that will likely be most directly affected by this project.
More about this event: mw:Wikimedia Language engineering/Showcase.
All editors are invited, especially all those who:
- Develop modules and templates in any wiki, particularly the multilingual ones such as Wikidata, Commons, Meta, and mediawiki.org.
- Translate software and pages using the Translate extension on translatewiki.net, Meta, mediawiki.org, etc., and manage translatable pages.
- A little intro can be found at Phabricator task T238417, and much more information will be given at the meeting.
Thanks! --Amir E. Aharoni (WMF) (talk) 20:25, 24 August 2020 (UTC)
Time change[edit]
Hi,
I've been feeling very unwell today, and since I'm the main host and presenter in this meeting, I have to postpone this meeting to next week.
New time: Sep 2, 2020 02:00 PM UTC. Zoom link: https://wikimedia.zoom.us/j/95167235390
I am terribly sorry about the late notice and about the spam, but these circumstances are out of my control. Thanks for understanding, and I hope to see you at the new scheduled time! :) --Amir E. Aharoni (WMF) (talk) 08:42, 26 August 2020 (UTC)
Change that breaks layout[edit]
See m:Tech#Change_that_breaks_layout.--GZWDer (talk) 02:12, 27 August 2020 (UTC)
Mass undeletion[edit]
As a result of the COM:PDM update, there are now many candidates for mass undeletion, e.g. Commons:Deletion requests/Files found with hastemplate:"CC-BY" insource:flickr insource:/"reviewlicense=Public Domain Mark"/, where being licensed under the PDM was the sole reason for deletion. Is there a script to assist in this? -- King of ♥ ♦ ♣ ♠ 21:07, 27 August 2020 (UTC)
- @King of Hearts: There is a "Restore-a-lot" gadget (MediaWiki:Gadget-Restore-a-lot.js), have you tried it? Ahmadtalk 00:38, 29 August 2020 (UTC)
User:VICbot[edit]
Hi, it seems that this BOT is not doing its full job since the 25-08-20, it has stopped from to notify users, to extract nomination from the candidate list and to add the atgs to the images. A message have been put at the BOT operator talk page, but they are not very active, if someone has an idea they are welcome. Christian Ferrer (talk) 06:13, 30 August 2020 (UTC)
CSS fix for mobile Commons[edit]
Currently, the special:UploadWizard's layout is pretty much unusable with mobile devices which are using MinervaNeue skin. Biggest problems are Minerva's a two-column layout and fixed minimum width which can be fixed with custom CSS. Here is my attempt for it.
Currently, the missing pieces are the last tab for Structured data which almost works but it is a little bit too wide and navigational arrows are too big. However, with those changes, it is usable with a mobile web interface and this just for sharing the CSS for testing/comments.
Also, I would like to ask what we should do to fix it for everybody? Should we do the PHAB tickets to fixing the UploadWizard in upstream OR create CSS gadget (which may be enabled by default?) and then push the fixes to upstream? --Zache (talk) 12:04, 30 August 2020 (UTC)
I made a ticket for fixing the upload wizard to phab (phab:T261589). --Zache (talk) 02:20, 31 August 2020 (UTC)
Mirror images[edit]
Hi. Is there a tool like Rotatebot or CropTool to fix mirror images, i.e. flip them along the central horizontal or verical axis? Or perhaps a tag/template to indicate that an image is mirrored? For example: this one is correct, but this and this photo of the same scene are not (compare the rocky peaks with this 360° image). --HyperGaruda (talk) 14:53, 30 August 2020 (UTC)
Text Inconsistencies[edit]
There are two images on this page: https://en.wikipedia.org/wiki/Karl_Widerquist The first image is the one that has the problem: the description of the image 1 (Karl Widerquist, Al Jazeera interview, 2016) is not showing right underneath the image, even though it looks fine on Wikimedia. In the second image, the description is right underneath it. Can you please help me fix the first image description to show and look like the second image description? — Preceding unsigned comment added by Independent03 (talk • contribs) 2020-08-31T06:57:51 (UTC)
Tech News: 2020-36[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.
Problems
- This is a reminder. All wikis will be read-only for a few minutes on September 1. This is planned between 14:00 and 15:00 UTC. Please check on the details on the announcement message. [9][10]
Changes later this week
- There is no new MediaWiki version this week.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
20:07, 31 August 2020 (UTC)