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

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

Category:Free emulation software 74 categories (including files) need to be organized.

In files in the free emulation software category,

In 74 categories from A to Z,

Some files contain copyrights and PDs.

Copyright without the owner's permission and files with PD's permission

It's being left unattended.

The files are in Korean, Japanese, English, Chinese, German, Russian, French, and Italian.

In numerous documents, uploaded public files are being used without copyright discussion.

Here

Free emulation software (Category)

Subcategories This category has the following 74 subcategories, out of 74 total.

Free emulation software has 74 categories.

Duckstation, Joiplay, Redream, etc. that have been confirmed to be deleted.

Three needs to be deleted along with the category.

I think we need to consider whether to preserve or delete the remaining categories left empty.

Among these categories, it is important to check whether the uploaded files have copyrights and PDs.

There are dozens of files that need to be deleted and left unattended.

From 1964 (emulator) to ZSNES, we'll investigate everything in alphabetical order (A to Z)

All copyrighted and PD files must be deleted.

Out of the 74 categories,

Copyright and PD files without the owner's permission may be uploaded countless times.

End users should be prevented from uploading it.

Weki Media has copyrighted and strongly denied PDs.

If there's no way to solve this problem, Weki Media's public use will be damaged.

Unless this is resolved, damage can be repeated. 125.181.255.254 16:47, 2 December 2021 (UTC)

This user has posted the same message on multiple boards. To avoid splitting the discussion, I'd advise continuing the discussion at the Village Pump. I will mark this section as resolved. From Hill To Shore (talk) 17:03, 2 December 2021 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. From Hill To Shore (talk) 16:53, 2 December 2021 (UTC)

Categorizing problem

To get items properly categorized, I created several templates with the (main or side) function of categorizing. The unwanted effect is that since two years the categorizion does not occur, may be it will come never.

  • One possibility is to perform an "empty" edit for each of these files – but there are many hundreds.
  • Another idea is to use cat-a-lot or visual file change to make an edit (and to undo it afterwards); but it is against my intentions to make unuseful changes just for that effect.
  • When it is somehow possible to use one of the both mentioned tools for just an empty edit it would be fine; but both resist to work if there isn't a not-empty edit.

Is there any solution for this problem? -- sarang사랑 17:06, 10 December 2021 (UTC)

@sarang: Try using en:User:Timotheus Canens/massedit.js (quite old, not sure if it's gonna work properly) or another one in these. BTW, your second solution may lead to a section at ANU, just like me, so don't. NguoiDungKhongDinhDanh 19:16, 10 December 2021 (UTC)
Thank you for the hint, User:Ahecht/Scripts/refresh.js works fine, a good solution. BTW, I never thought of really using deprecated mass edits. :This section was archived on a request by: ---- sarang사랑 09:30, 11 December 2021 (UTC)

Watchlist notices

I happen to have Commons:Administrators/Requests on my watchlist, and through this, I learned of a new request for adminship (don't get too excited: it's headed for a snow-close). I used to learn of these requests through watchlist notices. What happened to these notices? Brianjd (talk) 12:45, 2 December 2021 (UTC)

The user requested a watchlist notice here but it hasn't been actioned yet. From Hill To Shore (talk) 17:24, 2 December 2021 (UTC)

21:57, 6 December 2021 (UTC)

Wikidata page needs fixing - too complex for me - please help

The Wikidata page https://www.wikidata.org/wiki/Wikidata:Lists/cemetery/Czech_Republic/Ol%C5%A1any_Cemetery needs a bit of fixing so that the 'introduction' text at the top shows what the page is about; right now, it shows empty fields. This markup is way beyond my expertise - I tried to figure it out, and failed. If someone could either fix it or point me to instructions where I could fix it, I'd appreciate it. (The page seems to be OK, except for that top intro text). Thanks. Seauton (talk) 01:14, 7 December 2021 (UTC)

@Seauton: This should probably have been posted at the Wikidata Community portal, but there are probably users here who are also familiar with Wikidata; perhaps one of them can help. Brianjd (talk) 07:40, 7 December 2021 (UTC)

Removal of jquery.jStorage imminent; the default WatchlistNotice gadget is affected

Hey all,

I've noticed that the "WatchlistNotice" gadget is using (on MediaWiki:Gadget-WatchlistNotice.core.js) the old jquery.jStorage module, which has been deprecated for over five years and is being removed in next week's train. Switching over to mediawiki.storage is pretty trivial, but someone will probably want to do that pretty swiftly. (I'm not going to fix it as that'd cross the streams a bit, and personal-me isn't an IAdmin here AFAICR.) Jdforrester (WMF) (talk) 18:44, 3 December 2021 (UTC)

I've hacked in mediawiki.storage support for that gadget, it seems to be working. AntiCompositeNumber (talk) 23:18, 8 December 2021 (UTC)
Fixed MediaWiki:Gadget-VisualFileChange.js/cfg.js as well. AntiCompositeNumber (talk) 00:33, 9 December 2021 (UTC)

For some odd reason, the Draft namespace is not detected with this gadget, causing to show a misleading result. 1989 (talk) 08:59, 8 December 2021 (UTC)

Non-existent category Deletion requests December 2021

I nominated a file for deletion using the "Nominate for deletion" command on the side, and the file was placed into this non-existent category. Should it exist? Whose job is it to create it? 04:24, 1 December 2021 (UTC) — Preceding unsigned comment added by Brianjd (talk • contribs) 04:24, 1 December 2021‎ (UTC)

@Brianjd: Jeff G. created the category on 1 December. Normally these categories are created by a bot, but there may have been a malfunction. De728631 (talk) 16:09, 9 December 2021 (UTC)
(Edit conflict) @Brianjd: It looks like DschwenBot usually does that, but it hasn't made any edits since October. It seems that Dschwen has already been told about this: User talk:Dschwen#DschwenBot down? --bjh21 (talk) 16:33, 9 December 2021 (UTC)

Bulk removing DRs (Historical textbooks)

Hi, is there a way to bulk remove {{Delete}}s on the files in Category:Historical textbooks or works in the US National Library of Education/bad license/1925-9? They were nominated for deletion and deleted in Commons:Deletion requests/Files in Category:Historical textbooks or works in the US National Library of Education/bad license/1925-9, but then undeleted. The deletion tag linking to the closed DR is no longer valid. Thanks, -M.nelson (talk) 16:12, 11 December 2021 (UTC)

@M.nelson: Yes, bots can do it. You can ask the bot owners at Commons:Bots/Work requests. —Tacsipacsi (talk) 17:34, 11 December 2021 (UTC)
✓ Done No need for a bot. Yann (talk) 18:14, 11 December 2021 (UTC)
Thank you both -M.nelson (talk) 18:41, 11 December 2021 (UTC)

photos of Emmanuel Macron and Jesse Jackson

I searched for "Emmanuel Macron in Africa" expecting to see photos of the French president in Africa. Instead I see photos of Jesse Jackson. Can this be fixed? user:Megaugust 15:42, 26 October 2021

I can replicate. Maybe try looking through Macron's category directly? Arlo James Barnes 17:21, 12 December 2021 (UTC)

Categorising CJK Unified Ideographs

Reposting this for prominence, which I put on Commons talk:User scripts/Invisible charaters.

Hi - I've been trying to sort out CJK Unified Ideographs, given that they've often been uploaded in quite a piecemeal state, and it makes the most sense to follow the established convention of having a category for each character, which can then be placed within other supercategories as applicable. Currently, many are just dumped in vague groupings, which makes them difficult to find at best. For example, Extension G.

It seems that the title blacklist prevents characters from Extensions E through G from being used in article titles. That makes sense given the stated issues with file uploads, but could categories please be placed on the whitelist? It would be really irritating to have inconsistent categorisation just for these. Theknightwho (talk) 02:34, 9 December 2021 (UTC)

Yug and me are experiencing the same trouble, see File talk:𡦂-order.gif. It's time to update the blacklist to the current Unicode version, 14.0. OMG, the Unicode block CJK Unified Ideographs Extension E was introduced with Unicode 8.0 in June 2015, and now we're almost 2022. Love —LiliCharlie (talk) 14:33, 10 December 2021 (UTC)
I assume it's because (most of) Extension E isn't supported in the default font, and none of Extensions F or G are. In any event, I think the blacklist should be removed for categories (if not for files). Theknightwho (talk) 14:49, 12 December 2021 (UTC)

22:25, 13 December 2021 (UTC)

Simple file moving script, preferably Python

Is anyone aware of a simple script for renaming files across wiki pages? I ask as I contribute to OSM Wiki and we have there pretty bad file situation, involving thousands of pages where files need to be renamed (people uploaded Wikimedia Commons files under wrong licenses - I want to move existing usages to the Wikimedia Commons file name and delete downscaled local copies under bad licenses).

I found https://commons.wikimedia.org/wiki/User:Perhelion/justReplace.js ( from https://commons.wikimedia.org/wiki/Commons:File_renaming/Global_replace ) and https://bitbucket.org/magnusmanske/commons-delinquent/src/master/ but sadly it would require quite long time to get how it works.

Is anyone aware of a simpler script, preferably in Python? I am especially interested in part that parses page and renames file references (but not text that accidentally matched file name) Mateusz Konieczny (talk) 08:45, 13 December 2021 (UTC)

@Mateusz Konieczny: On Commons, User:CommonsDelinker (PHP source) does global replacements. It’s not in Python and does a ton of other things (works globally, handles Wikibase—which won’t work on OSM wiki as it assumes images are stored as CommonsMedia statements, not strings—, does logging etc.), but maybe you can simplify it to match your use case. —Tacsipacsi (talk) 08:00, 14 December 2021 (UTC)
CommonsDelinker is https://bitbucket.org/magnusmanske/commons-delinquent/src/master/ - sadly I found it already (and mentioned) and sadly on initial reading of code I even failed to find where it parses pages to replace images Mateusz Konieczny (talk) 09:56, 14 December 2021 (UTC)

Category Infobox says "no wikidata ID" but the Wikidata objects links to the category

I created Category:Rathaus Leutzsch some time ago and added a link to wikidata:Q48195473. I think I've done this successfully on other objects before.

The infobox on the category page still says "no wikidata ID found". Why is that?

Please mention me when replying.

--Frupa (talk) 11:58, 11 December 2021 (UTC)

@Frupa: Ich bekomme da keine Fehlermeldung. Hast Du mal versucht, Deinen Browsercache zu leeren? De728631 (talk) 15:12, 11 December 2021 (UTC)
Null edit fixed the problem. MKFI (talk) 08:11, 13 December 2021 (UTC)

✓ Done Now it works fine. --Frupa (talk) 11:28, 15 December 2021 (UTC)

How can I figure out the file url in the upload server?

For example, in the following page: https://commons.wikimedia.org/wiki/File:En-us-comment.ogg the actual media file url states as: https://upload.wikimedia.org/wikipedia/commons/b/b3/En-us-comment.ogg the directory "b/b3" seems to be a little random -- I can't figure out how it was assigned. So I cannot generate the actual media file url, even if I know the file name En-us-comment.ogg. Anyone can help me on this? I could not find any article discussing this. — Preceding unsigned comment added by Alanguonz (talk • contribs) 13:06, 16 December 2021‎ (UTC)

@Alanguonz You should not try to build media URLs yourself, you should always ask MediaWiki for them. This is because the URL format may change in the future. Instead, use {{filepath:En-us-comment.ogg}} or mw:API:Imageinfo. If you're curious, it's the first two characters of the MD5 hash of the filename. But like I said, you should not rely on that, the URL format may change in the future. The URL format is also more complicated for multi-page formats, video, etc.) AntiCompositeNumber (talk) 18:41, 16 December 2021 (UTC)

Template:Citation

Can we sync Template:Citation and Template:Citation/core with the more recent versions on en.Wikipedia, or otherwise update them with the functionality over there? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 20:36, 20 December 2021 (UTC)

22:03, 20 December 2021 (UTC)

Edit raw watchlist

I have a problem editing to edit raw watchlist in my preferences.

the error message:

If you report this error to the Wikimedia System Administrators, please include the details below.

Request ID: 37cfbb3b-b1a4-47f3-8ccf-efbcde05c57f

Allowed memory size of 698351616 bytes exhausted (tried to allocate 20480 bytes)

-- Geagea (talk) 12:51, 27 December 2021 (UTC)

@Geagea: How many pages do you have in your watchlist? Find that number at the header of Special:Watchlist ( pages are on your Watchlist (plus talk pages)). NguoiDungKhongDinhDanh 13:00, 27 December 2021 (UTC)
271,237 pages. -- Geagea (talk) 13:04, 27 December 2021 (UTC)

@Geagea: Then that's exactly the problem you were looking for. Since your watchlist is stored nowhere else than your preferences, we can hardly do anything. As far as I know, the watchlist itself doesn't have any limit, but you may need to remove a bunch of them (using some semi-automated tools) if you want to monitor it manually. Otherwise, just keep adding things as you normally do. See also Don't overload your watchlist!. NguoiDungKhongDinhDanh 13:28, 27 December 2021 (UTC)

"semi-automated tools" - can you provide link? I dont mind to remove the first 50000 from my watchlist but have to add manually som 30000 lines. -- Geagea (talk) 13:40, 27 December 2021 (UTC)
@Geagea: I'm afraid you'll need to remove at least 100000 to make the raw watchlist accessible. AWB has a feature that allows listing pages in your watchlist (even though I have never tried with 270000 pages – it is truly a huge number). All you need to do is order AWB to remove pages from your watchlist after null-editing them. Same goes with adding, excludes non-existent pages. NguoiDungKhongDinhDanh 13:50, 27 December 2021 (UTC)
@NguoiDungKhongDinhDanh: , I opened the AWB but couldn't find where ot how I can handle my watchlist. -- Geagea (talk) 18:42, 27 December 2021 (UTC)
@Geagea: See the "Make list" tab at the left of your screen? Click the drop-down bar, then "My watchlist". NguoiDungKhongDinhDanh 19:17, 27 December 2021 (UTC)

Tool for newest files in a category or campaign

Hello! I was wondering if there is a tool to find the newest/oldest files on some category, or uploaded via some campaign. e.g. if there is a file on Category:Uploaded via Campaign:wikivacaciones2018 uploaded this year. Thank you in advance, --·×ald·es 18:12, 20 December 2021 (UTC)

@XalD: The API can return this information, e.g. 10 most recently added files or 10 least recently added files (sorted by categorization date, not upload date, but at least for campaign categories the two should mostly be the same). This is not very user-friendly, though, and I don’t know of any tool that does this in a more user-friendly way—maybe time to write a new one? Or is there one that I don’t know of? —Tacsipacsi (talk) 19:02, 20 December 2021 (UTC)
Thank you! It really helps for what I was trying to find! ·×ald·es 19:08, 20 December 2021 (UTC)
@XalD and Tacsipacsi: https://commons.wikimedia.org/w/index.php?sort=create_timestamp_desc&search=deepcat%3A"Uploaded_via_Campaign%3Awikivacaciones2018"&title=Special:Search gives new files on top and old files on the last page. the dates shown in search results are last edit dates.
and... you can actually see them on Campaign:wikivacaciones2018. XD RZuo (talk) 18:14, 16 January 2022 (UTC)
Thanks! ·×ald·es 18:46, 16 January 2022 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. --RZuo (talk) 20:11, 26 January 2022 (UTC)

Community Wishlist Survey 2022 is coming. Help us!

The Community Wishlist Survey 2022 starts in less than two weeks (Monday 10 January 2022, 18:00 UTC). We, the team organizing the Survey, need your help.

Only you can make the difference

How many people will hear and read about the Survey in their language? How many will decide to participate? Will there be enough of you to vote for a change you would like to see? It all depends on you, volunteers.

Why are we asking?

  • We have improved the documentation. It's friendlier and easier to use. This will mean little if it's only in English.
  • Thousands of volunteers haven't participated in the Survey yet. We'd like to improve that, too. Three years ago, 1387 people participated. Last year, there were 1773 of them. We hope that in the upcoming edition, there will be even more. You are better than us in contacting Wikimedians outside of wikis. We have prepared some images to share. More to come.

What is the Community Wishlist Survey?

It's an annual survey that allows contributors to the Wikimedia projects to propose and vote for tools and platform improvements. Long years of experience in editing or technical skills are not required.

Thanks, and be safe and successful in 2022! SGrabarczuk (WMF) (talk) 03:15, 29 December 2021 (UTC)

disappearing file

See Commons:Help desk#No se ve la vista previa de la imagen. The file is there, but for some reason not displaying properly. Beeblebrox (talk) 23:13, 29 December 2021 (UTC)

Search in the deletion logs

Hello, is there a way to search for some selected key words in the deletion log. E.g. yesterday I deleted files such as File:Kris Kourtis photo shoot.jpg. Is there a way to access to a list of all files deleted (by all administrators) and that contain "Kris+Kourtis"? Christian Ferrer (talk) 20:07, 30 December 2021 (UTC)

Here you are quarry:query/61111: 269 files. 4nn1l2 (talk) 21:14, 30 December 2021 (UTC)
@4nn1l2: Very great thanks you. Is there a way to display additional infos for each files? such as the deleting administrator(s) or/and the uploaders. I ask because I blocked more than 15 socks who uploaded (some of) those files but I wonder if some socks have escaped me. If I can find quickly the files that were not deleted by me it will help me to find potential additional socks. Christian Ferrer (talk) 21:33, 30 December 2021 (UTC)
Deleting admin
Deleting admin
4nn1l2 (talk) 22:13, 30 December 2021 (UTC)
6 more socks blocked. Christian Ferrer (talk) 22:42, 30 December 2021 (UTC)

This one also lists uploaders: quarry:query/61113

Deleting admin and uploader

4nn1l2 (talk) 22:58, 30 December 2021 (UTC)

We should a filter preventing upload of such files. --Yann (talk) 16:57, 16 January 2022 (UTC)