Commons:Village pump/Technical/Archive/2023/11

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Watchlists

Is there a way to set up a commons category page on your watchlist so that when someone adds a new image to the category, you can see that on your watchlist?

I keep an eye on the climbing area and have lots of climbing category pages on my watchlist, but when a new image is added under a climbing category I won't know unless I explicitly visit that category page and see it? thanks. Aszx5000 (talk) 12:04, 12 November 2023 (UTC)

Special:Preferences#mw-prefsection-watchlist untick "Hide categorization of pages".
then watch the cats you want to monitor. RZuo (talk) 15:32, 12 November 2023 (UTC)
Thank you so much for that! Aszx5000 (talk) 22:13, 12 November 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --RZuo (talk) 19:11, 18 November 2023 (UTC)

Upload Errors

I'm trying to upload a new version of File:October 2023 Gaza−Israel conflict.svg and it has continuously thrown errors. Either it says "Could not acquire lock. Somebody else is doing something to this file." or it gives an error screen that reads: "Request from 71.166.43.40 via cp1083 cp1083, Varnish XID 220586446 ; Error: 503, Backend fetch failed at Fri, 03 Nov 2023 00:09:46 GMT"

I'm getting pretty frustrated. -- Veggies (talk) 00:12, 3 November 2023 (UTC)

Yes, I had similar errors yesterday evening. But now it looks like it works smooth again, so you may try again? --PantheraLeo1359531 😺 (talk) 15:59, 3 November 2023 (UTC)

Help with a file

Hi. The file File:MetroPantitlanTerminalLAandL9.JPG was a street file originally. The file can be seen here subtitled "Exterior de la estación en Línea 9, donde cuenta con un CETRAM". For some reason, the file now displays the interior of another station, originally found at File:MetroLazaroCardenasLine9Platform.jpg. Can an admin restore the files as they were before September 2023? Thanks. Tbhotch 18:15, 5 November 2023 (UTC)

I had a look at the deleted file. It is the same as the one you linked. I can not find any other file there. GPSLeo (talk) 18:28, 5 November 2023 (UTC)

Other versions

The template {{Artwork}} is used on the file File:Edvard_Munch_-_Pikene_på_broen.jpg. The parameter "other_versions" is empty but three images are shown anyway. When adding an image to that parameter so it is no longer empty, then all other images disappear (at least in the preview). The documentation about the parameter "other_versions" does not describe which (or why) images are displayed when the parameter has no value. --Bensin (talk) 20:35, 8 November 2023 (UTC)

@Bensin: When the parameter has no value, the default is to use information from Wikidata (item for this work: The Girls on the Bridge (Q18891073)). There are several Wikidata properties used for this parameter, and I've added a few of them to the table in the documentation under the "Default" column. Anon126 ( ) 10:41, 10 November 2023 (UTC)
Thank you! That is helpful. --Bensin (talk) 19:47, 10 November 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --廣九直通車 (talk) 06:17, 4 December 2023 (UTC)

Always in ns Gallery

The user contacted me having a problem to create category or user subpage. The problem is, that when she types in e.g. Category:Foo in the search dialog and click enter, there is the notification, that the page doesnt exists. If she then clicks on that red link, she gets the Gallery page. Why? What setting have to be disabled, to be able to create Category? Or is it a flag or what? For example, in this category, she tried to add it to another catogory. I am looking on it and the page handles the is as a wikilink, while I think it should add it as a category. Juandev (talk) 21:33, 24 November 2023 (UTC)

ː is U+02D0 : MODIFIER LETTER TRIANGULAR COLON.
: is the correct one, U+003A : COLON. RZuo (talk) 06:54, 25 November 2023 (UTC)
I see, thx. Juandev (talk) 06:58, 25 November 2023 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --廣九直通車 (talk) 06:17, 4 December 2023 (UTC)

Commons app - Map views would work only with v4.2.1

Hello all,

I just wanted to spread the word regarding a recent change in the Commons app with respect to map views. Due to some unforeseen circumstances, we had to revoke the Mapbox API key that we were using to render maps in the app. As a consequence all map views in v4.2.0 and below would fail to load i.e., they would get stuck with a blank screen. Kindly upgrade the app to version 4.2.1 in order to fix this issue and continue using features that need a map view. This update is available via Play Store and F-droid.

We regret the inconvenience that this may cause. Feel free to open an issue in our issue tracker or leave a message in our app's talk page for any assistance. We could be glad to help with any issues you may face.

Related thread in commons-l.

cc @Syced

-- Kaartic [talk] 18:38, 6 November 2023 (UTC)

Log In Error

When attempting to log in to Wikimedia Commons via non-incognito mode Google Chrome I receive the error: "No active login attempt is in progress for your session." I can still log in to Wikipedia via regular mode or Wikimedia Commons via incognito mode fine. I tried disabling all of my extensions in regular mode, but that didn't help. I had just updated Google Chrome before attempting to log in, so it would seem to be somehow related to changes made as part of the update. Any ideas what could be causing this and how to fix it? –Noha307 (talk) 20:03, 6 November 2023 (UTC)

Tech News: 2023-45

MediaWiki message delivery 21:03, 6 November 2023 (UTC)

Template:Wdib/doc

There's some error in the example usages in Template:Wdib/doc that is causing categories of the example items to be added to the categories of the template. I've temporarily commented it out at Special:Diff/819452047, but a proper solution is needed. Pi.1415926535 (talk) 20:30, 7 November 2023 (UTC)

Bad changes to the upload wizard

The new screen

When I used the upload wizard today, I encountered some changes that must've been made recently to the license release section. Before, if I remember correctly, it just assumed I wanted to use CC BY-SA 4.0 unless I specified otherwise, but now it asks me to actively choose between three different licenses. I cannot manage to find discussion of this (the "leave feedback" button leads to a page marked as inactive, which is something we probably want to fix); was it discussed centrally?

I think it's a terrible change. Choice paralysis is a huge thing, so to improve the upload wizard we want people to have to make as few choices/fill out as little as possible while still getting all the data/assurances we need. The old version did that very well: It offered CC BY-SA 4.0, which is a great license, by default, while still allowing people to choose a different one if they so desired. The new version, by contrast, requires an extra click and forces people to choose between three options that all look very similar (especially to someone inexperienced in copyright). Some number of newcomers are going to be confused enough by that choice that they're going to decide not to bother continuing their upload, and we're going to lose contributions. {{u|Sdkb}}talk 04:18, 7 November 2023 (UTC)

OK, looking at the tech news above, this appears related to phab:T347756. I'll put pointers to here from there and other relevant places. {{u|Sdkb}}talk 04:22, 7 November 2023 (UTC)
I believe it's part of Commons:WMF support for Commons/Upload Wizard Improvements. I see a lot of copyvio files where the uploader just goes with the default license even though it's obviously incorrect, so I'm glad to see something that forces users to actually make a decision. I do understand it may be an inconvenience for experienced users; perhaps a setting could be made for users over a certain threshold to select a default. Pi.1415926535 (talk) 04:28, 7 November 2023 (UTC)
Yeah, there's absolutely some element of productive friction we'd like to reduce copyvios. But this ain't it. People who are encountering this choice have already declared that the file is their own work, so this is a next step that doesn't really add anything.
Regarding the inconvenience, I'm more concerned about inconvenience for new users than I am about inconvenience for experienced folks, since we're going to upload no matter the hassle, but they won't. More broadly, I object to the "just add friction until we get rid of copyvios" mentality (not saying your comment is this, Pi, just that I've observed it more generally here). At Wikipedia, as awful as the experience is for newcomers, there's at least a recognition that the project needs all the help it can get, so it's a good thing that they're present. But here, where the community is mostly patrollers of one sort or another, we too often make choices that add big hurdles for uploaders with zero awareness of the cost we're paying in terms of abandoned contributions. To retain our position as a centralized repository of images, we need to make it easy enough for people to upload that they choose to upload here and we maintain a strong collection. If we don't, people looking for free images will just go to Flickr instead. And needless hurdles like this one are not how we make it easy to contribute. {{u|Sdkb}}talk 04:56, 7 November 2023 (UTC)
The default license that is setup in the preferences is also used in the new dialogue. So this is still a one click step of those who changed the default to be asked every time. The difference to Wikipedia is that if people do not read the guidelines there it is only an editorial problem, here it can have serious legal implications. GPSLeo (talk) 06:44, 7 November 2023 (UTC)
@Sdkb: Thanks for involving us in this discussion, and we definitely thank you for raising this issue.
We did this change to increase intentionality in users in choosing a particular license when uploading medias to Commons. Also, while we run the usability tests for the changes we made, users didn't seem to get confused when it came to choose a license. We acknowledge there might be still some possibility for users to get confused, but the estimate seems to be small.
Maybe, to reduce friction, we can evaluate a possibility for people to know how to input a default license for own works in their preferences or giving some extra links to Commons guidelines for licenses. Would it help, in your opinion, reduce the issue you're suggesting? Sannita (WMF) (talk) 13:39, 7 November 2023 (UTC)
@Sannita (WMF), can you describe/point me more specifically to the user research you did on this issue? I'd find it persuasive if e.g. you did an A/B test of having a default own work license vs. not and found it made no difference in the rate at which newcomers completed uploads. But I would be surprised, since everything I know about UX indicates that when you make a form longer, fewer people fill it out.
Regarding the suggestion of something in user preferences, that wouldn't hurt, but again, that doesn't help newcomers, who will be starting with the default preferences. I'm not coming at this from the angle of being annoyed for myself at having to make an extra click; I'm concerned about it reducing the number of contributions we get from new users. I've had multiple experiences of suggesting to non-Wikipedian friends who have taken photos that they upload them to Commons, only to have them come back and say "well, I tried, but the upload form was so complex, how about I just send it to you instead". Ensuring that uploaders mean it when they declare something their own work is absolutely essential, but I'm not convinced that this particular change does that (again, did an A/B test indicate it resulted in fewer copyvios?), or that there are not other things we could introduce for the price of one click that'd be far more effective at that goal. And overall, the "let's throw friction at the wall until it sticks" approach without concern for the impact it has on contributions is a dangerous path. If we end up at the point where we're increasing intentionality by requiring uploaders to take a lie detector test and then sign a notarized form and then submit to a 30-minute Zoom interview where an AI grills them about their work,[hyperbole] we're no longer going to have contributors. {{u|Sdkb}}talk 15:47, 7 November 2023 (UTC)
@Sdkb I asked the designer to give me the data you requested, and I hope to follow soon with the answer. Anyway, our scope is try to strike a (very delicate, indeed) balance between increasing intentionality in users and not discouraging them from uploading because of too many options to tick, so we do share your point. Sannita (WMF) (talk) 16:37, 8 November 2023 (UTC)
@Sdkb I just came out of a meeting with the designer, and I have some answers for you: we conducted two separate tests, one on the old UI (you can find a summary of the findings at pages 14 to 17 of this report) and another one on the new UI that we introduced with the latest changes. While I cannot share with you publicly (yet) the full findings of the second test, I can tell you that all of the participants to the test were able to select the license of their liking without hesitation, and the UI didn't influence their choice. As soon as there is a public report on this test, I'll ping you.
Anyway, our plans are to rework the whole experience of uploading medias on Wikimedia Commons, always with having in mind the objective of striking the balance I told you about in my last message. While I can't make any precise promise about what will change, one of the hypothesis we're working on is to make other steps of the process easier for new users, in order to rebalance the slight improvements we made on the "release rights" step. I hope this sounds sufficient as an answer for you. Sannita (WMF) (talk) 18:01, 8 November 2023 (UTC)

A problem I have with the new Upload Wizard is that I can no longer add license information to every upload at once if it deviates from the three options you're given at the start. Even if I use the "Copy information to all uploads" function and then check the box "Copy other information" it doesn't apply copyright information to all the files. ReneeWrites (talk) 11:13, 8 November 2023 (UTC) EDIT: The option is still there, it shows up if I pick the option that I'm uploading someone else's work. I should've just looked around for a bit longer, disregard my complaint. ReneeWrites (talk) 01:02, 9 November 2023 (UTC)

@ReneeWrites Thanks for reporting this, have you already opened a Phabricator ticket for this? If not, I can do it, but then I might ask you some more details about the problem you're having with uploads, in order to help the developers understand what's going on. Sannita (WMF) (talk) 16:38, 8 November 2023 (UTC)
Where can I open the ticket? I'm fine with you doing it for me and me then answering questions, though. ReneeWrites (talk) 16:39, 8 November 2023 (UTC)
@ReneeWrites I'll contact you on your talk page with the necessary questions, so that we don't occupy too much space here. Sannita (WMF) (talk) 18:06, 8 November 2023 (UTC)

Lost access to structured data

I seem to have lost access to structured data. When I look at an image, I no longer see the caption, or the tab to view and edit the other structured data. As far as I can tell I havn't accidentally changed any of my settings. This happened in the last couple of hours, as I was happily seeing and editing them earlier today. Is this an expected change, or can anybody suggest what I might have snafued. -- Chris j wood (talk) 12:40, 8 November 2023 (UTC)

Same with me, and the edits where I added structured data are still shown on my contribution list (and I can undo them). Ymblanter (talk) 12:58, 8 November 2023 (UTC)
And bots are still adding the structured data. Ymblanter (talk) 13:17, 8 November 2023 (UTC)
appears normal for me (firefox win10).
can you give an example where you dont see the sdc tab? RZuo (talk) 13:24, 8 November 2023 (UTC)
I am on Firefox Ubuntu, do not see it on my recent uploads (checked a few of them). Ymblanter (talk) 13:31, 8 November 2023 (UTC)
It is back now, may be it was a glitch. Ymblanter (talk) 13:31, 8 November 2023 (UTC)
Yes, back for me too. And I was using Chrome, so not browser related. -- Chris j wood (talk) 15:58, 8 November 2023 (UTC)

Upload bug

The file has uploaded with a strange gray stripe at the bottom. It seems that it hasn't uploaded completely. Anyone has the same problem? Юрий Д.К 17:34, 9 November 2023 (UTC)

Yes, it happens sometimes. The second upload always was successful in my case. Ymblanter (talk) 20:11, 9 November 2023 (UTC)
how wonderful... now we will have a new category to work on after Category:Incomplete JPG files (5 MB interruption), yeah!--RZuo (talk) 20:59, 9 November 2023 (UTC)

Tech News: 2023-46

MediaWiki message delivery 23:49, 13 November 2023 (UTC)

Mobile-frontend-return-to-page

this seems to be a system message, from https://translatewiki.net/wiki/Special:PrefixIndex/MediaWiki:Mobile-frontend-return-to-page . somehow it's not displaying correctly anymore, as you can see if you use MediaWiki:Gadget-Cat-a-lot.js or MediaWiki:Gadget-Restore-a-lot.js. anyone knows why and how to fix it? or if we can find another system message to put in place of this? RZuo (talk) 08:34, 12 November 2023 (UTC)

@RZuo: Until the issue is resolved at Translatewiki I have locally forced an English language version for the while. I cannot see that we have made any changes locally to have made a difference, so wondering whether there has been a change over there. (said without particularly looking) I would suggest lodging a phabricator: request to see if someone can look and resolved as it would seem that the connection between here and there has been terminated, and possibly due to system code changes.  — billinghurst sDrewth 09:19, 17 November 2023 (UTC)

Flickr2Commons

F2C stucking to "Loading..." when I just open the tool. Only I have the problem? Юрий Д.К 22:14, 15 November 2023 (UTC)

i had the same problem a few days ago. but now the tool shows up normally for me. i didnt make any special attempts in between to get it work.--RZuo (talk) 19:11, 18 November 2023 (UTC)

File:North Dawu Mountain - Goat.jpg Conflict between Modules

The two modules en and WDPA are interacting strangely in the Description of File:North Dawu Mountain - Goat.jpg causing WDPA to be kind of splayed as code. Geographyinitiative (talk) 17:15, 19 November 2023 (UTC)

{{WDPA}} is based on a table, which cannot be used anywhere. For example, it cannot be used in {{En}}. But it doesn’t need to be used in {{En}} either, since it’s an internationalized template on its own, so I just removed the unnecessary wrapping. —Tacsipacsi (talk) 21:38, 19 November 2023 (UTC)

Tech News: 2023-47

MediaWiki message delivery 00:52, 21 November 2023 (UTC)

Another SVG bug?

File:Full Adder using reversible Fredkin gates.svg is now rendered with a very incorrectly sized font (for the brace). It appeared correctly in the article until I've edited it slightly (to change the styles of some other text elements), which wasn't expected to affect the currently broken part. But now even for that old version the thumbnail in the file history looks wrong. The file itself seems to be correct, as it passes the W3C SVG validator without any issues and is also rendered as expected when opened directly in browsers or Inkscape.

@Glrx: does this problem look familiar? Can it be circumvented easily, if nobody is going to repair the render despite its many problems? — Mikhail Ryazanov (talk) 23:05, 19 November 2023 (UTC)

Seems like phab:T43425 which would be fixed with https://gerrit.wikimedia.org/r/c/operations/software/thumbor-plugins/+/920760 . Follow both links for updates. For an hotfix, you could change the file so all css font values have quotations. Snævar (talk) 07:23, 20 November 2023 (UTC)
That bug report is about "the 'font' property", not really mentioning specifying font-family and font-size separately. I've tried quoting the font-family values, and it didn't help. (Quoting font-size breaks local rendering and, I suppose, is not valid.) — Mikhail Ryazanov (talk) 07:43, 20 November 2023 (UTC)
I do not recall seeing this problem.
An absolute font-size is set with CSS for an outer group. The font-size for all text elements are set with CSS to a relative em value. I changed the CSS to specify an absolute font-size in pixels.
I also added a generic font fallback.
Glrx (talk) 19:35, 20 November 2023 (UTC)
Thanks! BTW, I've checked (locally) that rsvg-convert version 2.54.7 renders this file (as is was, with relative font sizes) correctly, so it's probably indeed a bug in the currently deployed outdated rsvg. Do I understand correctly that Wikimedia is finally going to do an upgrade soon? Could you please then check that this bug isn't present in the rsvg version that will be used? — Mikhail Ryazanov (talk) 21:17, 20 November 2023 (UTC)
I do not know what to say.
WMF should upgrade rsvg, but I do not know its plans.
The technical side. My understanding of containers says upgrading Ubuntu's rsvg from 2.44.10 to a recent version should be simple. The code to make Thumbor handle the accept language command line argument correctly is simple. The management/political side. I do not have a clue.
Glrx (talk) 18:16, 21 November 2023 (UTC)

Tech News: 2023-48

MediaWiki message delivery 23:06, 27 November 2023 (UTC)

悉請熟悉過濾器的人協助

正如User_talk:そらみみ#您好所述,過濾器對於道路相關的分類是非常敏感,造成顯示紅色訊息:An automated filter has identified this edit as potentially unconstructive, and it has been disallowed. If this edit is constructive, please report this error. 然而,照片確實是有顯示道路標誌或道路有關的標示牌,若是因為過濾器問題而阻止添加分類,可能會給讀者找尋照片時,錯失可以使用的照片。有鑑於此,悉請熟悉過濾器的人協助,看能否更改設定或修復故障。謝謝。--125.230.90.21 14:52, 5 November 2023 (UTC)

一張圖片不能編輯而已,算了吧。除非有更多的疑似誤判,否則編輯過濾器並非必須修改。 RZuo (talk) 15:11, 5 November 2023 (UTC)
不是一張,而是很多張。因為只要是照片有拍攝到道路相關的標示牌及標誌,甚至是圓環設施,所有的分類都會被過濾器給阻擋。這些分類僅止於道路相關的分類,比如圓環夜景、禁止標誌、道路龍門架,而且還有更多分類,未能一一列舉,我已經算不清被擋了多少個分類。我只能說太多照片會受到影響。可是,按照そらみみ回答來看,似乎只有非註冊帳號的IP才會受到阻擋。此外,我連照片名稱寫在這裡也會受到過濾器阻擋 (使用維基file連結會被阻擋),包含User_talk:そらみみ也是會被阻擋。因此,我懷疑是過濾器有問題。--125.230.90.21 18:08, 5 November 2023 (UTC)
RZuo,你可以前往Special:Contributions/125.230.90.21查看,我對照片是如何添加分類,如此就能清楚知道我反映的過濾器問題是否屬實。--125.230.90.21 18:13, 5 November 2023 (UTC)
上次圓環是在這張照片遇到,我是取最後一次編輯給你看。關於更多的編輯,可以前往Special:Contributions/125.230.87.246查看。--125.230.90.21 18:19, 5 November 2023 (UTC)

有沒有人可以幫忙?我又被過濾器阻擋了。「國六埔里端.jpg」這張照片不能添加道路有關的分類。--125.230.90.219 18:26, 14 November 2023 (UTC)

大哥注册个号吧,IP用户的编辑确实是很受限制,达到编辑数量成了确认用户就会好很多。 Whisper of the heart 19:02, 29 November 2023 (UTC)

Problem with SVG map

In File:Visa policy of Benin.svg and File:Visa policy of the Philippines.svg, Hong Kong and Macau have different colors from Mainland China. However, the colors of HK and MO display the same color as Mainland CN at thumbnails. How to solve this problem? Thanks!--Whisper of the heart 18:55, 29 November 2023 (UTC)

How would I go about writing a script that affects video?

Hi, I asked this question at the help desk, and a user suggested I ask questions here in the future.

How would i go about writing a script that affects the video that appears when you click on a video to play it? Like make it so the time display at the bottom left corner also shows the milliseconds? insne (talk) 16:53, 30 November 2023 (UTC)

App not working?

I'm getting a generic "upload failed" error message when I try to use the Commons Android app. Persists across multiple files and attempts. Is this a frequent or known issue? {{u|Sdkb}}talk 22:48, 30 November 2023 (UTC)

if no one else answers you here promptly, you might wanna try https://github.com/commons-app/apps-android-commons/issues .
i dont use the app so i dont have an answer. RZuo (talk) 08:36, 1 December 2023 (UTC)

Missing Full Name Attribution Option in Photo Upload Form

In the new photo upload form, there is a missing option to enter one's own first and last name. I publish photos under the Creative Commons 4.0 Attribution license. I should have the ability to specify how I am credited under these photos. I, Jakub Hałun, am the author of these photographs, not 'jakubhal,' which is a technical and arbitrary account name for me. ---- Jakubhal 14:08, 18 November 2023 (UTC)

@User:Sannita_(WMF).--RZuo (talk) 19:11, 18 November 2023 (UTC)
I completely agree that you should be able to state how you wish to be attributed. @Jakubhal: may I assume that you know you can do any of the following as a workaround:
Special:Preferences#mw-prefsection-uploads is better. RZuo (talk) 21:16, 18 November 2023 (UTC)
Thank you very much. The preference setting works. As for VFC, I have already fixed existing uploads, but I will install it and try it in the future. Thanks also for that tip. -- Jakubhal 09:16, 19 November 2023 (UTC)
@User:Udehb-WMF. RZuo (talk) 12:36, 19 November 2023 (UTC)
Thank you, @RZuo for call my attention to this, I will bring this up to the team. Udehb-WMF (talk) 09:11, 20 November 2023 (UTC)
Would definitely like to re-iterate that removing this option from the Upload Wizard is a big setback. I always change my attribution to my real name and am frustrated to have to manually change it after the upload. Thanks, IagoQnsi (talk) 08:10, 3 December 2023 (UTC)