Commons:Village pump/Technical/Archive/2019/12

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

Button to check license

I just wanted to check the license of File:Abilene Police Task Force (48695581313).jpg but couldn't find the button. Is that tool no more aviable? Or do I need to do in the code?--Sanandros (talk) 10:25, 2 December 2019 (UTC)

@Sanandros: I think that's because you use User:Rillke/LicenseReview.js, which is no longer maintained. The new script is User:Majora/LicenseReview.js. Ahmadtalk 14:01, 2 December 2019 (UTC)
Thx.--Sanandros (talk) 05:59, 3 December 2019 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Roy17 (talk) 14:08, 13 December 2019 (UTC)

Something weird about motd template

On File:198 days in Hong Kong (香港延時攝影 Hong Kong Time Lapse).webm I see the English caption only, but on File:Washlets (high-tech toilets) in Japan (video).webm I can see Czech, English and Polish. Why does the former show only the English?--Roy17 (talk) 04:03, 1 December 2019 (UTC)

Is there any way to make this template work with the MarkAdmins gadget? 1234qwer1234qwer4 (talk) 14:03, 1 December 2019 (UTC)

I want the link on Special:Contributions to be changed to "Patrol ALL the things!", in which "Dvaderv2" would be replaced with {{SUBPAGENAME}}. This can probably be achieved in common.js.. how? Innerhtml something.. how do I get the username? - Alexis Jazz ping plz 19:52, 1 December 2019 (UTC)

16:57, 2 December 2019 (UTC)

16:35, 9 December 2019 (UTC)

I tried to delete file:Negros Oriental State University.jpg per Commons:Deletion requests/Files of MarionPaulBaylado and got error message "Error deleting file: An unknown error occurred in storage backend "local-multiwrite"." The file should be deleted. Taivo (talk) 20:21, 6 December 2019 (UTC)

2013, looks like the filehistory bug. The null entry in the filehistory must break the standard delete process. This should be added on Phabricator, Phab:T239213. -- (talk) 20:26, 6 December 2019 (UTC)
Added to T239213 as an example failure. -- (talk) 14:34, 10 December 2019 (UTC)

Hi there! Is here anybody who could possibly help me to create a template for NZ Heritage buildings please? Similar to Canadian (see the link above). An example of an item in the NZ Heritage database is here. Best regards, --Podzemnik (talk) 02:35, 10 December 2019 (UTC)

@Podzemnik: Done. See example at File:Mission House at Kerikeri.jpg. But you should find the top level category of the buildings and replace "Category:Heritage Sites in New Zealand" with it at Template:Heritage Sites in New Zealand/en and any translation thereof. If there's none, then just create Category:Heritage Sites in New Zealand. – Ammarpad (talk) 06:25, 11 December 2019 (UTC)
@Ammarpad: This is just fantastic, thank you so much for this! --Podzemnik (talk) 07:12, 11 December 2019 (UTC)

wikidata in Template:Artwork

I put wikidata's number in templates. Templates don't work. (File:Konrad Krzyżanowski Portret Józefa Piłsudskiego 1920 Muzeum Śląskie Katowice.jpg; File:Maciej Bieniasz Autoportret z chlebem 1976 Muzeum Śląskie Katowice.jpg). What to do or how do it correctly? Abraham (talk) 14:06, 12 December 2019 (UTC)

Abraham, the issue should be Fixed now. --Jarekt (talk) 20:08, 12 December 2019 (UTC)
Jarekt, no, it is not. Look: Maciej Bieniasz Autoportret z chlebem 1976 Muzeum Śląskie Katowice.jpg ☹️ Abraham (talk) 21:22, 12 December 2019 (UTC)
Abraham, that file looks fine to me. Perhaps if you purge the page, or make some small edit to the text than it will refresh, for you. --Jarekt (talk) 02:26, 13 December 2019 (UTC)

Google search button

The useful button helping to run Google search in order to indentify copyvios disappeared a few days ago. It was located among edit, watch etc. buttons in file namespace. ~Cybularny Speak? 11:53, 13 December 2019 (UTC)

@Cybularny: it seems someone merged google and tineye gadgets. @~riley: might be able to explain.
honestly i prefer separate ones coz i dont use tineye.--Roy17 (talk) 14:08, 13 December 2019 (UTC)
  • My logged-in page UI (Monobook) is showing separate buttons for both services, as it ever did. However, I had recently to re-tick the checkbox for these gadgets in my preferences, for it has been somehow disabled. -- Tuválkin 14:37, 13 December 2019 (UTC)

User unfriendly user interface suddenly became the default

"User talk:Alexis Jazz" showing a user-unfriendly user interface.

As of a few minutes ago all user talk pages I load on Wikimedia Commons shows this interface. Prior to this the interface would only load like this if I was on "User:Example" and then clicked on "Discussion", but now it always loads by default. Is there a way that I can use the "wiki page" user interface back as the default? --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 20:32, 4 December 2019 (UTC)

Donald Trung, what did exactly change/ how did it look like before/ how did the user friendly interface look like? (I try to avoid mobile browsing at all because adds risk for the phone to be compromised -- and many phones stores important secrets these days.) Also note that Microsoft ended support for Windows Phones. Using such a device will be unfortunately increasingly insecure. (Personally, I am also concerned by the short times of support for mobile devices and the resulting pollution.) -- Rillke(q?) 21:46, 16 December 2019 (UTC)
@Rillke: , just an expandable list of items / subjects, you could click on this link 🔗 to see this page, now imagine that but then all title headers were collapsed by default, if you clicked on the "pencil" or "pen" it would show you the normal editing interface. I understand avoiding the mobile environment, it's often user unfriendly. --Donald Trung 『徵國單』 (No Fake News 💬) (WikiProject Numismatics 💴) (Articles 📚) 22:00, 16 December 2019 (UTC)

00:15, 17 December 2019 (UTC)

Help needed with migrating some infobox field names to translatewiki

There is bunch of infobox field names which I would like to move from I18n pages on Commons to translatewiki site. Can someone help me with that? Some that come to mind are:

Anybody knows how to do it? --Jarekt (talk) 04:45, 23 December 2019 (UTC)

20:03, 23 December 2019 (UTC)

New files not being added in a category

I have been uploading many files under the category Category:Scans from the China Academic Digital Associative Library. However, it always shows "out of 112,346 total". What's wrong?--維基小霸王 (talk) 02:32, 28 December 2019 (UTC)

OK. There is a time lag. It has increased now.--維基小霸王 (talk) 11:06, 28 December 2019 (UTC)

Photograph template problem

Having just uploaded File:ANVIL (FindID 799083).jpg which is part of a mass upload of more than 500,000 files, I see that the {{photograph}} template has failed in an unexpected way, just displaying The ID "M0" is unknown to the system. Please use a valid entity ID.. Could someone familiar with recent template discussions take a look? -- (talk) 08:55, 24 December 2019 (UTC)

The indecipherable message appears to have been caused by the inclusion of a shortcut link. After expanding the link, the info box displayed correctly. -- (talk) 09:02, 24 December 2019 (UTC)
, it seems like you observed a very rare and not reproducible issue mentioned in phabricator:T237746, when once in a blue moon {{PAGEID}} returns "0", and PAGEID is used to access SDC. --Jarekt (talk) 03:12, 29 December 2019 (UTC)

I'm attempting to restore File:Richard Branson.jpg (deleted to remove copyvio overwrite by LTA) but am getting an error with this message: "Error undeleting file: The file "mwstore://local-multiwrite/local-public/3/34/Richard_Branson.jpg" is in an inconsistent state within the internal storage backends." Thoughts? Эlcobbola talk 16:12, 16 December 2019 (UTC)

I think that has something to do with the "Some jobs are not being processed / are processed slowly" T240518 issue. --GPSLeo (talk) 16:20, 16 December 2019 (UTC)
@Elcobbola: ✓ Restored 1989 (talk) 16:05, 1 January 2020 (UTC)

language-pt

{{Language}}портуґальськапортугальська. І don't know to change this.--Чорний Кіт (talk) 01:21, 17 December 2019 (UTC)

What do you want to do? – Ammarpad (talk) 07:36, 17 December 2019 (UTC)
@Ammarpad: I'm guessing they are saying that the display for "Portuguese" in their language, Ukrainian, is incorrect. {{Language|pt|uk}} should display португальська when it displays португальська instead. Both of which Google Translate to Portuguese so I don't know if they are correct or not but that is what they are saying. I have no idea how to fix that, provided it is actually incorrect, since the base language displays are part of the system itself. So maybe translatewiki? --Majora (talk) 22:12, 17 December 2019 (UTC)
Thanks Majora. That makes things clear. The string is not incorrect. {{Language|pt|uk}} is correctly displaying португальська. To display what he wants, he has to use Brazilian dialect code {{Language|pt-br|uk}} which displays Brazilian Portuguese, though with additional parenthetical qualifier. – Ammarpad (talk) 23:58, 17 December 2019 (UTC)
I don't claim to know Ukrainian, Ammarpad, but wouldn't it stand to reason that the prefix of both pt and pt-br be the same? (Бразилія) translates to (Brazil), per Google Translate, so the starting part of both of those should be Portuguese. Why does one use ґ while the other uses г? If they are the same word it would stand to reason that they should be the same letters. The fact that pt-br shows it one way while pt shows it the other is rather odd when the prefix, pt, is the same either way. --Majora (talk) 01:25, 18 December 2019 (UTC)
Yes! Only correct one португальська dictionary, other incorrect.--Чорний Кіт (talk) 08:13, 1 January 2020 (UTC)