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

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

Mld not collapsed

m:Meta:Language_select is on by default, but for example cat:snow shows me a long list of names. The gadget is supposed to collapse all foreign languages right?--Roy17 (talk) 10:41, 2 November 2019 (UTC)

So it seems to be browser/computer compatibility issue. I'm using win 10 firefox 70.0.1 (64-bit) and it's showing me all the langs. It's unrelated to adblocker i checked.--Roy17 (talk) 11:10, 2 November 2019 (UTC)
I am using 70.0.1 (64-bit) with U-block, not related to browser. -- Eatcha (talk) 11:24, 2 November 2019 (UTC)
Script blocker, I guess. Same issue here with JS blockers. -- Eatcha (talk) 11:29, 2 November 2019 (UTC)
You're right. I tried incognito and it worked. Problem is i dont have any js blocker...--Roy17 (talk) 19:50, 8 November 2019 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --Roy17 (talk) 19:50, 8 November 2019 (UTC)

can't figure out what's wrong with this png

I can't tell what's wrong with File:HD 40307g 39x27 CMYK-1.png - it's a png exported from Photoshop based on a tiff. I've tried reuploading and reexporting and embedding the color profile. I can't figure out what's wrong with it? — Rhododendrites talk19:12, 2 November 2019 (UTC)

What is what you expect and what happens instead? It's not necessarily happening for every browser, operating system, or machine. -- Rillke(q?) 00:37, 3 November 2019 (UTC)
@Rillke: The file doesn't display on the file page -- just a "broken" icon and a text link, but if I click that link the fullsize opens as normal. It also doesn't show up in an FPC nomination I started or in a Wikipedia article. No issue for you? — Rhododendrites talk04:30, 3 November 2019 (UTC)
Oh wait, weird. When I just wrote this, the problem was still there. But it's resolved now, seemingly spontaneously... — Rhododendrites talk04:41, 3 November 2019 (UTC)
This problem (not showing images properly) is something I have experienced before. I think this is a server-side problem, but I don't know why exactly this happens. Ahmadtalk 13:54, 3 November 2019 (UTC)

[VideoWiki tool] abusefilter-warning-review

Image 1

Hello, VideoWiki as some of you might already know takes text and images from Wikimedia Commons based on a user written script. Articles such created can be seen at Category:Videowiki. The project is in its nascent stage. It tool which generates these video files was previously working fine, but lately we have been encountering an error while attempting to upload to Wikimedia Commons. Currently we have an OAuth consumer key registered, we use that to authenticate users via WCommons and we store user's token keys to be able to upload the generated videos on their behalf when the video is generated, we run a script that initiate a request to upload the video to WCommons using the WCommons API action=upload. However when the application does so, we get the error "abusefilter-warning-review" (ref: Image 1) which causes the upload to fail. Please help us to resolve this issue, thanks in advance. Initially posting it here, not sure if this belongs here or on Phabricator. KCVelaga (VideoWiki) (talk) 11:00, 3 November 2019 (UTC)

You can see the description of the error by prefixing it with MediaWiki. So in this case, the page: MediaWiki:Abusefilter-warning-review. Basically, the tool is marking the image as reviewed, but the user does not have image-reviewer rights, so an error is generated. Bawolff (talk) 22:35, 4 November 2019 (UTC)

16:47, 4 November 2019 (UTC)

Google Code-In will soon take place again! Mentor tasks to help new contributors!

Hi everybody! Google Code-in (GCI) will soon take place again - a seven week long contest for 13-17 year old students to contribute to free software projects. Tasks should take an experienced contributor about two or three hours and can be of the categories Code, Documentation/Training, Outreach/Research, Quality Assurance, and User Interface/Design. Do you have any Lua, template, gadget/script or similar task that would benefit your wiki? Or maybe some of your tools need better documentation? If so, and you can imagine enjoying mentoring such a task to help a new contributor, please check out mw:Google Code-in/2019 and become a mentor. If you have any questions, feel free to ask at our talk page. Many thanks in advance! --Martin Urbanec 07:28, 5 November 2019 (UTC)

Why is July 30 and July 31 missing? --2A02:810D:6C0:2FB0:E09A:AD92:F0F8:CF90 16:24, 8 November 2019 (UTC)

Commons:Deletion requests/2019/07/30 doesn't exist, so not having it in the July DR board is normal, but Commons:Deletion requests/2019/07/31 does. I think this is a technical limit that automatically converts template transclusions into normal links after the page reaches a specific number of them (see also w:en:Wikipedia:Template limits). Ahmadtalk 18:57, 8 November 2019 (UTC)

Data dump with imageinfo

I am looking for a Database dump that contains the imageinfo data of every page(but is small enough for a regular computer), preferable in JSON format.
Or do I have make 180.000 API requests to get this? --GPSLeo (talk) 12:51, 7 November 2019 (UTC)

Does the -image.sql.gz of https://dumps.wikimedia.org/commonswiki/20191101/ work? --Zhuyifei1999 (talk) 22:26, 7 November 2019 (UTC)
Thanks. But unfortunately that database does not contain the entityid of the files, so I can not use this to add statements. --GPSLeo (talk) 22:00, 9 November 2019 (UTC)

specialchars

What are specialchars? Is it a WMC setting, extension, core, etc.? Juandev (talk) 01:30, 5 November 2019 (UTC)

Where did you see that? It's hard to give informed answer without context. – Ammarpad (talk) 01:54, 5 November 2019 (UTC)

I see that under edit window. Specialchars is its HTML div ID and it is surrounded by division called mw-editTools. --Juandev (talk) 23:45, 10 November 2019 (UTC)

So, than I can see its defined by MediaWiki:Edittools and MediaWiki:Edittools.css with appropriate JavaScript. So I wonder weather you need just to fill these to enable it working or how? --Juandev (talk) 23:50, 10 November 2019 (UTC)

22:02, 11 November 2019 (UTC)

Couldn't undo caption edit

I couldn't undo Special:Diff/375235550. (caption edit) I got this error (with header "Internal error"):

[Xc20pApAICgAAKGcgooAAABU] 2019-11-14 20:10:12: Fatal exception of type "InvalidArgumentException"

I now rolled it back instead, which was kinda acceptable in this case, but I'd rather have the option to undo and explain why I'm reverting. - Alexis Jazz ping plz 20:15, 14 November 2019 (UTC)

@Alexis Jazz: Please see #Internal error on File:HP-HP9000-425-Workstation 20.jpg and phab:T236320. It's currently impossible to "undo" a caption edit (though you can roll it back). Ahmadtalk 20:33, 14 November 2019 (UTC)
Damnit, I guess I just did a Srittau. - Alexis Jazz ping plz 20:52, 14 November 2019 (UTC)

How to massively remove watermark from images?

Hi,

I want to upload some books from National Central Library (Taipei) (e.g.,[3]). Is there a way to massively remove the watermarks? --維基小霸王 (talk) 12:26, 16 November 2019 (UTC)

Probably not. The watermarks are not added during the rendering process, but have been added to the base images. The viewer does not appear to be a zoomviewer, but downloads the full size scan which is already watermarked. Theoretically, you may be able to correct for the added watermark by deriving the watermark mask from multiple watermarked results, but this would be unique to the site and pretty (programmatically) hard image processing. -- (talk) 12:40, 16 November 2019 (UTC)
OK. I plan to upload them converted as PDFs. Let's wait to see if anyone could find a watermark-less source to replace them or could remove the watermarks using advanced technology.--維基小霸王 (talk) 12:50, 17 November 2019 (UTC)

20:16, 18 November 2019 (UTC)

Ogv files are not processed by Media Wiki

Hi,

Transcode status of these files doesn't look good to me. Will they ever be transcoded? Is there are any issue open for this on Phabricator. -- Eatcha (talk) 03:52, 9 November 2019 (UTC)

All these files got moved from .ogg to .ogv. --GPSLeo (talk) 10:21, 11 November 2019 (UTC)
When you move a file, it loses it's derivate transcodes, and it doesn't regenerate them automatically. It's a known limitation of the transcode system. phab:T156914TheDJ (talkcontribs) 09:41, 20 November 2019 (UTC)

A tool that helps easy editing of file descriptions?

Are there some built-in functions/gadgets/scripts that would let me click and edit and not have to load a page several times when I edit one file? Something like the slideshow gadget combined with VisualEditor.

W.r.t. https://commons.wikimedia.org/w/index.php?title=Category:Deletion_requests_November_2019&from=23%23File%3AMC , I am willing to help write down a brief description of what each photo shows, but opening every single file and clicking edit publish are way too tedious. AWB doesnt seem to offer photo thumbnails.--Roy17 (talk) 17:29, 23 November 2019 (UTC)

16:51, 25 November 2019 (UTC)

New video player beta feature updates

I've posted a quick note on upcoming changes to the "New video player" beta feature, which we're hoping to take out of beta soon. I've made some major changes to show a larger player, have less impact on JavaScript download size, and work more comfortably on mobile. Please keep giving feedback either through the feedback page there or as tasks on Phabricator; there's plenty to keep improving! --brion (talk) 22:00, 27 November 2019 (UTC)

when undo last edit (1 vandalism) or try to edit an old revision. It says:

[Xcax1ApAIC4AAApMqKIAAABG] 2019-11-09 12:32:20: Fatal exception of type "InvalidArgumentException"

Editor-1 (talk) 12:37, 9 November 2019 (UTC)
Please see phab:T236320. You can't currently "undo" a caption-related edit, but this will be resolved soon. Ahmadtalk 15:23, 9 November 2019 (UTC)
I have the same problem, but I know now that it will be resolved soon. - Richardkiwi (talk) (talk) 21:14, 28 November 2019 (UTC)

MassRename

"Leave a redirect behind" doesn't work while using massrename.js. Hanooz 15:45, 27 November 2019 (UTC)

+1 Pinging @Perhelion. 21:04, 22 December 2019 (UTC)