Commons:Bots/Work requests/Archive 15

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

CommonSense / Automatic categorization

There used to be bots that would categorize uncategorized files using SommonSense. CommonsSense has been discontinued (https://tools.wmflabs.org/wikisense/CommonSense.php) yet I think it would be really good if automatic categorization could be resumed. Any chance? Cheers --Cwbm (commons) (talk) 09:20, 16 March 2019 (UTC)

BBC YourPaintings -> ArtUK

The BBC no longer host the "YourPaintings" project; some years ago it became independent, as "ArtUK".

We still have a number of links to the former (more here). These need to be updated, and, where that is not possible, converted to archive.org links, as done recently on en.Wikipedia. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 09:48, 29 March 2019 (UTC)

I'd like to try my bot on this. It already did the same work on Enwiki. It's never worked in Commons so I will need to get bot flag. Also no guarantees this will even work, as it may be too difficult to adapt to Commons, but I suspect it will be possible. Will open a bot request soon. -- GreenC (talk) 15:52, 29 March 2019 (UTC)

Bot account misuse, revisiting COM:BP

Raising this question here, as this noticeboard probably has the most bot-experienced and technically minded people occasionally reading it.

Rereading COM:BP for other reasons, I remembered my discomfort at the way this sentence is given as a rationale to block someone's account (whether main or a subsidiary):

Unauthorized or non-responsive bot accounts. Bot accounts not authorized by the Commons community are not allowed to operate on Wikimedia Commons, and questionable bot-like editing that cannot be explained by the user should be blocked until discussion takes place. Bot proposals can be discussed at Commons:Bots or Commons:Village pump. Bots may not be operated on Commons without advance permission (which can be sought at Commons:Bots/Requests).

The discomfort comes from the implication that any automation ("questionable bot-like editing") might become a rationale to block an account unless the user has "advance permission" from Commons:Bots/Requests. In practice this is factually incorrect.

  • Many users make extensive use of various tools like VFC or cat-a-lot, or write command lines with Pywikibot (which they are encouraged to do via MediaWiki help pages), literally making several thousand changes in a session.
  • Many users run non-controversial maintenance tasks using legitimate accounts which do not require a bot flag and have never required "advance permission".
  • Many user have a separate "project" account for things like GLAM related uploads, these do not require "advance permission", even when uploading 100,000 files.

I would like to consider rewording this paragraph in the blocking policy, and some thoughts about how far to go with trimming back the bureaucracy would be appreciated. I am aware of fringe cases, but where someone is making 10,000 edits or 10,000 uploads which are controversial, these are quite effectively covered by other parts of the policy for disruption, rather than failing to get a bot account authorized. Thanks -- (talk) 11:39, 5 April 2019 (UTC)

I don't think that documented batch upload projects qualify as "questionable". OTOH, this is not a work request and there are more appropriate venues for discussing any trimming of COM:BP.   — Jeff G. please ping or talk to me 11:55, 5 April 2019 (UTC)
Yes, raising here for initial thoughts. If there is enough enthusiasm, I or someone else can then put a proposed specific wording change forward on the policy talk page or VP. I believe that most batch upload projects are undocumented or only briefly discussed, i.e. without project pages, especially for GLAM related contributors with sub-100,000 file upload projects. This thread is also linked to at COM:BN. -- (talk) 12:01, 5 April 2019 (UTC)
What about those tools, tasks, and projects do you think might be considered "questionable"? Is someone questioning your edits? Please feel free to continue on Commons talk:Blocking policy.   — Jeff G. please ping or talk to me 12:23, 5 April 2019 (UTC)
There have been past cases where this was raised, but it would be a tangent to dig in to those, when the mismatch between the specific wording of policy and what happens on the project in practice is as summarised. The discussion is here to benefit from "the most bot-experienced and technically minded people occasionally reading it". Let's give it a couple of days or more before suggesting wording at BP, there is no especial hurry. -- (talk) 12:32, 5 April 2019 (UTC)
Ok, but would simply replacing "questionable" with "disruptive" suffice?   — Jeff G. please ping or talk to me 12:36, 5 April 2019 (UTC)
No, "bot accounts" really means accounts which are flagged as bots by a bureaucrat. These may be temporarily blocked without advance discussion if they start doing things outside their agreed scope, or the bot actions are in conflict with system changes, new consensus, or causing damage, and the operator is (or appears to be) unavailable to handle it themselves.
We should drop the "bot-like" stuff, as mass edits of any kind that are disruptive has literally nothing to do with policies for bots. This is old wording created before most of our most popular current tools existed and long before tools that may support large changes, like Petscan, became part of how we get stuff done.
The section on blocking bot accounts only needs to address bot accounts.
It might be more justifiable to change the "Unauthorized" section to wording that does not mention bots, but makes a very similar statement that any account making disruptive mass editing may be blocked. This then automatically includes anyone using tools, automation, or even persisting with large numbers of disruptive manual edits for which there is no consensus and the user is making no effort to establish a consensus before continuing. This then also would explicitly cover things like controversial mass category changes, or making mass edits that others cannot easily revert, such as those with complex interactions to unpick. Small numbers of edits like this may be contentious but not be blockable, however persisting with very large numbers of such edits would be. Non-controversial changes can safely remain at the "do what you will" level, though clearly when the number of changes become systemic, say more than a million, we might expect a consensus to be established but that's more of a positive norm than a block rationale. -- (talk) 11:54, 6 April 2019 (UTC)
The main rationale behind special requirements for actions performed under a bot flag is that they would be harder to spot (in recent changes), discuss and stop if needed, as well as tedious or even impossible to reverse: so this should be the criterion, if there is a way to formalise it. It's true that the same problem, or even worse, can arise with "ordinary" manual or semi-automated tasks, but the number or speed of edits is rarely a significant indicator. For instance, moving thousands of files from a category to another may be annoying and disruptive, but it's easily reversed with the same tools. Nemo 16:21, 6 April 2019 (UTC)

Categorizing prints from the Cleveland Museum of Art

I’ve been categorizing a lot of files from the Cleveland Museum of Art with VFC, but could use some automated help in the following categories:

The task is to categorize the images in these categories, creating new categories where necessary, by reading the contents of the artist = field of the Artwork template.

Example: File:Agostino Carracci - Aeneas and His Family Fleeing Troy - 1963.456 - Cleveland Museum of Art.tif in Category:Engravings in the Cleveland Museum of Art. The field reads artist = Agostino Carracci. If that field is empty, skip the file. Next, check if the root category Category:Agostino Carracci exists. If not, skip the file (I’ll deal with these manually). Then check if Category:Engravings by Agostino Carracci in the Cleveland Museum of Art exists. If it does, edit the file to remove Category:Engravings in the Cleveland Museum of Art and add Category:Engravings by Agostino Carracci in the Cleveland Museum of Art.

If it doesn’t, create Category:Engravings by Agostino Carracci in the Cleveland Museum of Art, making it a subcategory of Category:Engravings in the Cleveland Museum of Art and, if this exists, Category:Engravings by Agostino Carracci (with the sort key Cleveland Museum of Art). If the latter doesn’t exist, check if Category:Prints by Agostino Carracci exists. If it does, make Category:Engravings by Agostino Carracci in the Cleveland Museum of Art a subcategory of that instead. If it doesn’t, check if Category:Works by Agostino Carracci exists. If it does, make Category:Engravings by Agostino Carracci in the Cleveland Museum of Art a subcategory. If it doesn’t, make Category:Engravings by Agostino Carracci in the Cleveland Museum of Art a subcategory of Category:Agostino Carracci. After creating Category:Engravings by Agostino Carracci in the Cleveland Museum of Art, edit the file to remove Category:Engravings in the Cleveland Museum of Art and add Category:Engravings by Agostino Carracci in the Cleveland Museum of Art

Note, in case this is not obvious, drop the of France or from France when creating new categories. In other words, Category:Lithographs by Adlophe Lalauze in the Cleveland Museum of Art not Category:Lithographs from France by Adlophe Lalauze in the Cleveland Museum of Art.

Bonus points: if {{Creator:Agostino Carracci}} exists, change artist = Agostino Carracci to artist = {{Creator:Agostino Carracci}}. Additionally, if the file has an associated Wikidata item, add the qid to the wikidata = field of the Artwork template.

Thanks! Rrburke (talk) 04:17, 14 April 2019 (UTC)

500px files review

Can we get a bot to review 500px files needing license review like FlickreviewR 2? I have found over 1300 from one user and I'm sure there are more. You can use Commons:500px licensing data and this GitHub page to see that there is a line in the page for the photo's code that can help us find which license the photo is under. --Elisfkc (talk) 15:37, 28 April 2019 (UTC)

There is no need to that, and you Elisfkc should stop right now including {{Licensereview}}. The tool already those the bot work, you are just creating a massive problem to solve, that is including an unnecessary template. -- Rodrigo Tetsuo Argenton m 19:57, 28 April 2019 (UTC)
Ok, then the tool needs to provide a {{Licensereview}} template. --Elisfkc (talk) 22:35, 29 April 2019 (UTC)
No, also not needed, the archieved version is already at the archieve.org, no one will be able to change the license, we already have a fix version.
That's the why the flickr2commons create this, set a point in time that the Flick User choose a CC-by license, as Flickr license can be changed to a more restricted.
So, Elisfkc, there is no need to this template for the 500px. Again I'll request you to revert your massive edit, as you create a not necessary 1k entries to license reviwers check. You are creating a rework.-- Rodrigo Tetsuo Argenton m 05:14, 7 May 2019 (UTC)

Request of transferring files from one category to another

Hi. Please note that all images in Category:Metropolitan Museum of Art by department - Egyptian Art should be moved to Category:Department of Egyptian Art, Metropolitan Museum of Art. Thank you in advance. Kintaro (talk) 23:03, 13 May 2019 (UTC)

@Kintaro: . Do you want to try yourself with the help of Help:Gadget-Cat-a-lot? Please let me know. --Schlurcher (talk) 07:31, 16 May 2019 (UTC)
Thank you @Schlurcher: , do I need to know Javascript if I want to use that tool? Kintaro (talk) 10:00, 16 May 2019 (UTC)
The tool will be integrated into your browser experience and comes with an interface. You will not require any understanding of the actual program or write any code. It's a great tool to empower you to perform these changes directly. Also note that the tool will perform the actions with your account. All your actions are logged. So even if something goes wrong, it will be easy to understand what happend and fix it. If you still feel uncomfortable doing it or simply don't want to, please let us know and someone else (that could be me) will do it. --Schlurcher (talk) 11:55, 16 May 2019 (UTC)
@Schlurcher: Thank you for your kind response, I will try this very shortly! thank you! Kintaro (talk) 01:44, 17 May 2019 (UTC)

Adding city category to images using exif geocoordinates

Please add city categories to images using exif coordinates. Capankajsmilyo (talk) 06:09, 16 May 2019 (UTC)

I'm not sure this is a good thing to do as stated because there are some many photographs that, while taken in a city, don't usefully depict that city and therefore shouldn't be in the category (for example, most photos of items or people indoors). BMacZero (talk) 14:38, 16 May 2019 (UTC)

Hello! If it's possible, I ask for the Category:Cosplay at Lucca Comics & Games to be emptied via bot, by sorting out the photos in the categories by year; it's some 300 files. I have prepared a list of the files, divided by year, in User:Syrio/Cosplay. Thanks in advance. -- Syrio posso aiutare? 15:56, 17 May 2019 (UTC)

✓ Done - Alexis Jazz ping plz 18:12, 17 May 2019 (UTC)
Thak you! :) -- Syrio posso aiutare? 21:56, 17 May 2019 (UTC)
@Syrio: for the future, you may find Cat-a-lot useful. - Alexis Jazz ping plz 07:12, 18 May 2019 (UTC)
I'll look into it, thanks! -- Syrio posso aiutare? 07:44, 18 May 2019 (UTC)

Category:Files from the MassDOT flickr stream needing curation

This might be doable with VFC, but I don't have the expertise to do so (but glad to learn!). Category:Files from the MassDOT flickr stream needing curation (~2200 files) was uploaded with {{PD-author}} (which is probably valid, but {{PD-MAGov}} is the true license). Some files have been license reviewed, but some have not. This creates a need for two tasks:

Thanks! Pi.1415926535 (talk) 20:13, 29 May 2019 (UTC)

Corrupt jpg

Watch uploads and find corrupt files, notify uploader and tag file, if unchanged 7 days later, tag for speedy deletion.

Search all jpg files already uploaded, and notify uploader and tag file, then tag for speedy delete 30 days later if unchanged.

  1. File:OS GATOS DA CONA DA TUA CASA.jpg
  2. File:Krishna Ramchandani .jpg
  3. File:ViBIM office 2019.jpg
  4. File:ViBIM office 2019.jpg
  5. File:Vietcorset7.jpg
  6. File:Kodak Brownie Starlet.jpg
  7. File:Campus EMBA.jpg
  8. File:Rodriguesalves1.jpg.--BevinKacon (talk) 18:16, 30 April 2019 (UTC)
Is there a way to check for corrupt files without downloading them first? If not, I would consider this basically unfeasible, as it would mean to download all files first. --Schlurcher (talk) 07:36, 16 May 2019 (UTC)
@BevinKacon: Programmatically, File:OS GATOS DA CONA DA TUA CASA.jpg and File:Kodak Brownie Starlet.jpg appear to be valid JPG images? Do you know how you would expect a script/bot to be able to tell if they are not valid? I was able to verify both with pillow. --TheSandDoctor (talk) 23:47, 26 May 2019 (UTC)
@TheSandDoctor: I just tested with Embedded Data Bot code:
>>> detection.detect('testfiles/OS_GATOS_DA_CONA_DA_TUA_CASA.jpg')
Traceback (most recent call last):
  File "detection/by_ending/pillow.py", line 35, in detect
    image.tobytes()
  File "[...]/venv/lib/python2.7/site-packages/PIL/Image.py", line 733, in tobytes
    self.load()
  File "[...]/venv/lib/python2.7/site-packages/PIL/ImageFile.py", line 232, in load
    "(%d bytes not processed)" % len(b))
IOError: image file is truncated (19 bytes not processed)
image.tobytes() should do. --Zhuyifei1999 (talk) 22:01, 28 May 2019 (UTC)
That worked, thank you Zhuyifei1999! Does that work properly for other image formats (ie png, gif etc) or just jpg? I tried it on a png I know is good and it returned as such. I just don't have many corrupt images to check ;) --TheSandDoctor (talk) 02:15, 29 May 2019 (UTC)
I forcibly made my own corrupt png (opening in text processor and deleting chunks) and the code appeared to work correctly. The more frequent error I was able to generate was unrecognized data stream contents when reading image file, however. Would images like that also be tagged as something (different, I assume)? --TheSandDoctor (talk) 02:19, 29 May 2019 (UTC)
@Schlurcher: you could only download the thumbnails and filter by new users only. For already uploaded files, get a tool to run directly on server. @TheSandDoctor: those images are over half of a single solid mass of color, a tool should be able to detect that. It would be almost impossible for a real photograph to have that.--BevinKacon (talk) 08:17, 1 June 2019 (UTC)

Tagging protected pages

I have noticed that many protected pages, including some fully protected pages, do not have the protection template. I request, therefore, that a bot with the administrator flag carry out a task, indefinitely, to automatically tag pages that are protected with the {{Protected}} tag. Perhaps the Category:Unprotected pages using protection templates could also be automatically emptied. –LaundryPizza03 (d) 23:13, 18 June 2019 (UTC)

I'm not sure the protected template should be added to each and ever protected page. If so it should be rather a mediawiki feature than a template. I think to remember that there is a commons or mediawiki proposal to make the lock symbols display on protected/semi-protected pages as a default. Currently I understand that {{Protected}} is used if needed, i.e. for prevention of vandalism, but not for heavy used templates that are protected from accidental changes. It makes sense to remove the template from all media files in Category:Unprotected pages using protection templates. I do currently have a bot request open that can handle this. Please see [1] --Schlurcher (talk) 08:22, 19 June 2019 (UTC)

Scraping POTY descriptions into FILE's descriptions

Hi guys. As you know, for each picture of the day many descriptions in different languages are being created. But what I'd like to see is that these descriptions don't get wasted (read "get used only for 1 day") but actually end up in the file's descriptions. Let me give you an example:

  • Template:Potd/2019-06-20 - descriptions in 11 languages, but the picture iself has only three. So all these descriptions in other languages were used just during 1 day for targeted language version of Commons.

In the files, English descriptions are usually created by a file's creator and other descriptions are usually inserted but those who do the translation for the POTD. At Commons talk:Picture of the day were no objections so I reckon it's a reasonable proposal :) If somebody could program a bot that would take all of these descriptions, let's say, a day after the picture appears as the POTD, that'd be fantastic. It'd also be wise to tell the bot to insert all the other language descriptions BUT not for those languages that are already presented in the file. So the bot doesn't overwrite eg. an English description if it's already there. The reason for this is that sometimes POTD descriptions are shorter than the actual file's descriptions. Regards, --Podzemnik (talk) 21:58, 24 June 2019 (UTC)

I would like to request a bot that will automatically categorise the files with bad names into the mentioned category from Category:Aviation files (check needed) and also those that are already categorised but the file name isn't descriptive enough (or at all), such as File:9V-SKA@PEK (20170309171423).jpg, File:M 330.JPG & File:380CHANGI.jpg.

If this can done, the files can also be further categorised into sub cats such as Category:Images of aircraft registered in "country" with bad file names by detecting the registeration prefix if it is in the file name.

My point is that the bot can detect the difference between the prefixes of the country that the aircraft was registered in. (Talk/留言/토론/Discussion) 16:48, 3 July 2019 (UTC)

Remove categories "XX (number)" from categories "Roads numbered XX"

Hi,

All categories "Roads numbered XX" (for example, Category:Roads numbered 52) are included into respective categories "XX (number)" (in my example, Category:52 (number)). This is over-categorization, because each category "Roads numbered XX" is included into the respective category "Items numbered XX", which in its turn is included into category "XX (number)". Hence, categories "XX (number)" must be removed from pages of categories "Roads numbered XX".

I started removing these categories myself and then saw that there are more than 2000 categories "Roads numbered XX", so I decided to ask a bot to do this job.

Thank you. --Michgrig (talk) 19:45, 3 July 2019 (UTC)

List of Wikidata items without image

I'll be great to generate list of Wikidata items without image property, but with Commons link and non-zero files at that category. It'll be reasonable to split such list by subjects type, so improvements could fit particular wiki-project. Images should be added manually, ideally best available (featured, quality, valuable). In first place I'm interesting in flora and fauna items. --EugeneZelenko (talk) 15:25, 26 July 2019 (UTC)

Other useful report will be Wikidata items with image property that use non best available image. --EugeneZelenko (talk) 14:19, 27 July 2019 (UTC)
@EugeneZelenko: counterpoint: not all categories with entries should have an item on Wikidata. One that comes to mind: artists whose work is on Commons, but for whom we have no image. For example, Category:Francis Alleyne. Magog the Ogre (talk) (contribs) 19:38, 4 August 2019 (UTC)

Add category based on filename

There's a large number of US locality maps that have a certain filename syntax and that aren't in any locality categories. The files in question are entitled "COUNTYNAME County STATE Incorporated and Unincorporated areas PLACENAME Highlighted" — for example, File:Westmoreland County Pennsylvania Incorporated and Unincorporated areas Adamsburg Highlighted.svg. As far as I know, these files are all in Category:Maps of Incorporated and Unincorporated areas by county in the United States. I'm wondering if someone could run a bot to add relevant categories if necessary. Ideal process:

  • Bot opens each file in Category:Maps of Incorporated and Unincorporated areas by county in the United States and checks the categories applied to each one.
  • Bot checks for the existence of a category called "Maps of PLACENAME, STATE", and if it exists, checks to see whether the file's in the category.
  • Bot checks for the existence of a category called "Maps of COUNTYNAME County, STATE", and if it exists, checks to see whether the file's in the category.
  • Bot checks for the existence of a category called "PLACENAME, STATE", and if it exists, checks to see whether the file's in the category.
  • Bot checks to see whether the file's in a category called "COUNTYNAME County, STATE". [No point in checking, since all 3000+ US counties have categories.

Whenever the bot runs a check, if the checked-for category exists and the file's not in it (and not in a subcategory), the bot should place the file in the category. If the file is in the checked-for category, the bot should stop checking the file and go to the next one. One caveat: if the first word of PLACENAME or COUNTYNAME is "St.", "Ste.", "Saint", or "Sainte", the bot should also check alternate forms of this word before concluding that the category doesn't exist.

Nyttend (talk) 03:28, 22 September 2019 (UTC)

Sorting uploads from flickr account Joe Haupt (51764518@N02)

It's a huge flickr account, >15k photos there, which were uploaded here in many installments by different users, and are now in a sort of disarray. Some bot requests:

TIA, Retired electrician (talk) 12:10, 26 October 2019 (UTC)

Sorry that I sort the request. Is there a category to get all uploads from flickr account Joe Haupt? --Kanashimi (talk) 22:08, 26 October 2019 (UTC)
This will be Category:Collections by Joe Haupt (flat list), which now has 4,637 files but there are certainly more. Retired electrician (talk) 22:28, 26 October 2019 (UTC)
Should we traversal Category:Collections by Joe Haupt (from Flickr stream), or search all links to Joe Haupt? And is the method get complete list of >15k photos? --Kanashimi (talk) 00:23, 27 October 2019 (UTC)

Notification of deletion tags for the uploader when the tagger didn't notify

There are cases when files are tagged for deletion, but the uploader doesn't get notified. This happens when the talk page of the uploader is protected and the notification is rejected or whenever someone tags a file manually. I do it quite often when tagging files as {{Duplicate}}. (there must be a script to tag files as duplicate, but I don't know where) Here's another example.

Could a bot track deletion taggings (@Majora: I think we could use an AF to tag deletion taggings?) and check whether or not the same user/IP has also edited the talk page of the uploader? And if not, notify the uploader? - Alexis Jazz ping plz 12:35, 8 November 2019 (UTC)

@Alexis Jazz: You can use AjaxQuickDelete and customize the gadget by putting appropriate code in your common.js. Masum Reza📞 13:10, 8 November 2019 (UTC)
@Masumrezarock100: you mean to tag duplicates? I don't speak JS.. Anyway, it's no solution for IPs who nominate files whose uploader has a protected talk page. - Alexis Jazz ping plz 13:12, 8 November 2019 (UTC)
Yes. See my common.js to see an example! Regarding the second issue, I suppose KrdBot or a similar bot can be modified to do it but there is a chance that it may be abused. Masum Reza📞 13:14, 8 November 2019 (UTC)
@Masumrezarock100: Every bot edit requires a user edit, so it can't be abused any more than SignBot. I am far more afraid of the potential abuse of spurious DRs that the uploader can't defend against because they're not notified due to their talk page having been vandalized and now protected. - Alexis Jazz ping plz 13:52, 8 November 2019 (UTC)
@Alexis Jazz: The abuse filter could certainly tag additions of {{Delete}} but it cannot check whether anyone was notified of that addition. The filter is only designed to check one edit at a time in isolation. It cannot check an edit, trip a filter, and then check a subsequent edit by the same account/IP. That would definitely be more of a bot task. --Majora (talk) 21:29, 8 November 2019 (UTC)
However, now that I'm thinking about this, the filter could probably be used to disallow manual deletion requests providing Ajax is modified to always add a specific phrase to the edit summary whenever it adds {{Delete}} to a file page. You could set the filter to look for the addition of the delete template and then look for the phrase in the edit summary. If that is not there, trigger a warning telling them to use the "Nominate for deletion" button on the side bar. --Majora (talk) 22:08, 8 November 2019 (UTC)
@Majora: I meant more like just tagging the edits so a bot could track that. But perhaps that's not the best solution. Alternatively a bot could scan deletion categories for new additions or check all edits. Though I think AF could probably handle it, and it might sometimes help human users as well. The filter would only have to scan in the File: namespace. It could skip page creations, bot edits and anything tagged with Cat-a-lot, HotCat, mw-new-redirect, OAuth CID: 593 (croptool), OAuth CID: 1277 (quickcategories), OAuth CID: 1351 (quickstatements), OAuth CID: 1077 (Lingua Libre), OAuth CID: 496 (locator tool), Undo, mw-rollback and ACDC. - Alexis Jazz ping plz 23:14, 8 November 2019 (UTC)
That's not really how the abuse filter works. It doesn't "scan" namespaces. Every edit that is made is run through the list of active filters looking for one that matches a set of defined rules. So, for example:

action = "edit"

& page_namespace = 6

& added_lines irlike "\{\{delete.*?\}\}"

could be used to trigger on any edit that adds the delete template in the file namespace. There are only specific commands that can be looked for (see mw:Extension:AbuseFilter/Rules format. It cannot look for tags but it can add them. It would be redundant to adds tags if a bot is just going to look for those tags since a bot can just watch the recent changes list and cut out the abuse filter entirely. --Majora (talk) 23:26, 8 November 2019 (UTC)

Listing Fars news received galleries

Turns out that Fars News Agency (CC-BY 4.0) "receives" some galleries, but only keeps a list of newly received galleries and there is no archive of them. The use of "received" photos is generally unacceptable in Commons (see 1, 2, and some other DRs and discussions that I can't remember at the moment). With Fars removing old received galleries from the list, a license reviewer might pass the suspicious photo without even being aware that it isn't taken by Fars photographers.

So, Fars lists them all on [2], with a maximum of 12 galleries on each page. After checking the page's source code, I found that each link is in the following format: <a class="" href="/photo/DATE/TITLE" target="_blank">, (DATE and TITLE represent the date the gallery has been uploaded, and the gallery's title, respectively.) The regex would be: \<a class\=\"\" href\=\"\/photo\/[0-9]+\/(.*?)\" target\=\"\_blank\"\>. A bot shoud be able to get the source code of the received board, analyze it, get each gallery's link out of it using, and list it on a page here. It also needs to be updated regularly (~ once a month). Thank you. Ahmadtalk 16:33, 1 December 2019 (UTC)

update redirected wikidata items used by SDC

As I mentioned in Phabricator:T237899, merging 2 items on Wikidata results in one item redirecting to the other item. On Wikidata d:user:KrBot updates statements in other items that link to redirected items that replaces them with the target item ID. We need similar bot updating entities on Structured data on Commons. For example, I merged Portrait of Prince A.B.Kurakin (Q18689466) and Portrait of Prince A.B.Kurakin (Q30007380). File:Borovikovsky_portrait_of_Kurakine_A_1802.jpg has Structured data with digital representation of (P6243) set to Portrait of Prince A.B.Kurakin (Q30007380). There should be some process to replace that item ID with Portrait of Prince A.B.Kurakin (Q18689466). --Jarekt (talk) 01:57, 8 December 2019 (UTC)

I was trying to write a query to find redirects in P6243:
SELECT ?commonsItem ?wikidataItem ?target
WHERE 
{
  ?commonsItem wdt:P6243 ?wikidataItem.
  ?wikidataItem owl:sameAs ?target.
}
limit 100
Try it!
However I could not get it to work. Any ideas? --Jarekt (talk) 05:10, 8 December 2019 (UTC)
More examples:
SELECT ?commonsItem ?wikidataItem ?target
WHERE 
{
  #VALUES ?commonsItem { sdc:M50692878 }
  VALUES ?wikidataItem { wd:Q57935507 }
  ?commonsItem wdt:P6243 ?wikidataItem.
  OPTIONAL { ?wikidataItem owl:sameAs ?target. }
}
Try it! run on SDC query service does not find redirects, while
SELECT ?wikidataItem ?target
WHERE 
{
  VALUES ?wikidataItem { wd:Q57935507 }
  OPTIONAL { ?wikidataItem owl:sameAs ?target. }
}
Try it! run on Wikidata query service does. Any ideas? --Jarekt (talk) 19:51, 9 December 2019 (UTC)

False coordinates

Please rename false coordinates {{Location dec|49.744771|13.375506|source:Flickr}} from 100 Flickr photos from Plzeň by Donald Judge. --ŠJů (talk) 15:48, 21 December 2019 (UTC)

 Comment@ŠJů: You can repair by yourself using Help:VisualFileChange.js ديفيد عادل وهبة خليل 2 (talk) 08:45, 22 December 2019 (UTC)

iNaturalist review bot

Will be great to have bot to review uploads from https://www.inaturalist.org if site's API allow easy license query. --EugeneZelenko (talk) 16:25, 16 December 2019 (UTC)

@EugeneZelenko: They've got a nice API for retrieving data about observations, which includes license information for the photos in the observation. That API endpoint requires an observation ID (https://www.inaturalist.org/observations/<id>). If the observation includes multiple photos, then the photo ID would also be required to get the license information for that specific photo. There isn't an API to directly get photo metadata from a photo ID without the observation ID. We could always ask them to implement a photo metadata endpoint or submit a pull request for one. I'd try to do it but iNaturalist is written in Ruby.
iNaturalist does have a weekly data dump of media information that includes the photo ID, observation ID, copyright holder, and license. That data only includes research-grade observations licensed under CC-0, CC-BY, or CC-BY-NC. That restriction means that the bot wouldn't be able to mark any invalid ARR, CC-BY-ND, CC-BY-NC-ND, or CC-BY-NC-SA images, any valid CC-BY-SA images, or any photos not rated "research grade".
The last option is scraping the rendered HTML. That's not usually a great idea, but it would be possible. I think asking for an API endpoint would be the best solution. --AntiCompositeNumber (talk) 17:27, 17 December 2019 (UTC)
Probably https://forum.inaturalist.org is best place to ask for API changes. Sure, bot should check photos where direct iNaturalist URL is specified as source. See https://commons.wikimedia.org/wiki/File:Coca_(Erythroxylum_coca)_en_Meta_(Colombia)_1.jpg as example. --EugeneZelenko (talk) 17:46, 17 December 2019 (UTC)
@EugeneZelenko: I've started working on the code for a bot, and I'll reach out to iNaturalist about the API soon. There isn't a template or category for iNaturalist images, which needs to happen before I can finish the bot. The {{FlickreviewR}} template is a complex one, and I don't know if this template needs to be as complex. Storing the reviewer, result, author, iNaturalist license, link, and date of review seems sensible. The template would sort into needs review, needs human review, failed verification (deletion), and passed categories. The current logic for the bot is here, and I'll put the code up on the same repo once I've tested it.
Here's what still needs to be done:
  • Write a template similar to {{FlickreviewR}} to handle review status
  • Set up categories for the template
  • Put the template on existing unreviewed images
  • Finish writing the bot, test, and get approval
  • Start running on images with /observations/ links, ignoring images with /photos/ links
  • Reach out to iNaturalist about a potential /photos/ API endpoint
  • Update the bot to either handle /photos/ links or to flag them for human review
--AntiCompositeNumber (talk) 17:56, 18 December 2019 (UTC)
@EugeneZelenko: I've put together {{INaturalistreview}}. Would it be better to have the failed template set Category:Copyright violations or to have the bot add {{Copyvio}} to failed files in addition to the review template? --AntiCompositeNumber (talk) 18:27, 22 December 2019 (UTC)
I think it's reasonable to replicate other review templates behavior. --EugeneZelenko (talk) 15:41, 23 December 2019 (UTC)

Twitter bot

Upload, or list images that have higher resolution available from Twitter by adding :orig to URL. Samples I already did today..

  1. File:Montgomery_Mall,_Maryland_(1973).jpg
  2. File:London_Underground_circa_1900.jpg
  3. File:Zoe_Quinn_Car_2014.jpg
  4. File:Sedimentation_around_South_Florida_and_Bahamas_after_Hurricane_Irma.jpg
  5. File:Salomé_con_la_cabeza_del_Bautista_(Caravaggio).jpg
  6. File:Koca_husrev.jpg
  7. File:Ömer_Fahrettin_Türkkan.jpg
  8. File:La_Plaza_partida_Eugenio_Lucas_Velazquez.jpg
  9. File:Ted_Garrish_official_portrait.jpg
  10. File:Sunda_strait_tsunami.jpg
  11. File:Le_Livre_noir_du_communisme.jpg
  12. File:Roda_de_conversa_sobre_Wikipédia_na_Fonte_Nova_01.jpg
  13. File:Roda_de_conversa_sobre_Wikipédia_na_Fonte_Nova_04.jpg
  14. File:Rampurva_bull_in_Presidential_Palace.jpg
  15. File:Gianni_Rivera_-_AC_Milan_(San_Siro,_January_1971).jpg
  16. File:Lee_County_Alabama_Tornado_Damage.jpg
  17. File:Venanzio_Ortis.jpg
  18. File:InfantKubrick.jpg
  19. File:Opening_ceremony_DVo-tC7U0AAPyz3.jpg

There's up to 4000 files to check.--BevinKacon (talk) 15:16, 24 December 2019 (UTC)

Date from exif

Could you please replace value of line "date" in description template of user GALAXY 2018 A7 by the creation date retrieved from the exif?--MIGORMCZ (talk) 13:23, 23 December 2019 (UTC)

Hi User:GALAXY 2018 A7, this seems to be a request to edit a single file date field, which is not bot work, so I am closing this request.--BevinKacon (talk) 11:14, 31 December 2019 (UTC)
Hi @BevinKacon: , MIGORMCZ has asked for this change to be robotically done in all files uploaded by User:GALAXY 2018 A7... Is it more clear now what he has asked for? :-) --Vojtěch Dostál (talk) 17:14, 31 December 2019 (UTC)

Categorizing duplicates

Should there be a category where newer duplicates should go to for checking and replacement? The number of duplicated files currently stands at 3,116 files and tagging/checking them 1 by 1 is very tedious and tiresome to do. Minoraxtalk (formerly 大诺史) 07:30, 31 December 2019 (UTC)

Note that a later uploaded duplicate is not always the one to delete. Descriptions, categorization and live sources are all factors in deciding which image page is authoritative. -- (talk) 11:33, 31 December 2019 (UTC)
That's the use of the category (if created). If anyone wants to check it, it'll certainly be easier than using this. Minoraxtalk (formerly 大诺史) 11:40, 31 December 2019 (UTC)
Have a look at Category:Faebot analysed duplicates ready for review. This has been running for a couple of years, but this style of effectively spoon feeding an admin with a recommended deletion has never caught on. It could be generalized, probably for the majority of duplicates.
Not that I'm especially available to experiment at the moment. -- (talk) 12:20, 31 December 2019 (UTC)
This really isn't much of a big issue that has to be immediately dealt with. Taking a quick look, it really does seem to be a better option but I believe that it will be a pain to maintain? For me, a simple bot to do the following will suffice.
When files are identified as dupes and listed on Special:ListDuplicatedFiles, a bot can:
Check for global usage.
Check if the cats on the newer file matches the target
If the newer file does not meet the above conditions (can have stricter conditions), the bot will put it into a "human review" cat (something like Flickr files needing human review). Else, the bot will tag the file for speedy. Minoraxtalk (formerly 大诺史) 12:41, 31 December 2019 (UTC)

Patrol edits from autopatrolled users

Counterintuitive title.

I noticed that while Idéalités was made autopatrolled at my request, I still see the "Mark as patrolled" link at Special:diff/374823811, a contribution made before the user was made autopatrolled. Makes sense, but that's no use. - Alexis Jazz ping plz 08:19, 26 November 2019 (UTC)

@~riley: your bot can patrol edits if I'm not mistaken? - Alexis Jazz ping plz 08:28, 26 November 2019 (UTC)
Patrolled by RileyBot. ~riley (talk) 08:34, 26 November 2019 (UTC)
Alexis Jazz Is this resolved ? If not there is a ready-to-patrol-script available. -- Eatcha (talk) 09:23, 26 November 2019 (UTC)
@Eatcha: I think so, not sure how I could check. @~riley: thanks! Will RileyBot continue to patrol all unpatrolled edits from users who are granted the autopatrol flag? - Alexis Jazz ping plz 09:41, 26 November 2019 (UTC)
No, sorry, this would require a brand new script that I am not looking to take on as it wouldn't be worth the result. Much easier for patrol.py or RTRC to be run after assigning new permissions. The problem with patrol.py is that it runs based off Recent Changes so if the edits are old, it will not patrol them. ~riley (talk) 15:44, 26 November 2019 (UTC)
As we agreed, Rileybot will continue to patrol edits by nonautopatrolled users who don't want this right. So ~riley, when you are putting up a BRFA? Masum Reza📞 10:38, 26 November 2019 (UTC)
Happy to make one if it seems at all necessary - as it stands though, the task of patrolling edits by non-autopatrolled users who do not want the right is 1 user - it is unlikely to grow past 2, maybe 3 users. ~riley (talk) 15:44, 26 November 2019 (UTC)
@~riley: I thought I had seen this before, but I was wrong:
No words. - Alexis Jazz ping plz 17:14, 26 November 2019 (UTC)
I get your point. I know just what we need. A script to automatically patrol all edits by a user. I know RTRC already does this. But it is slow because it automatically opens diffs when mass-patrolling. Rillke created MediaWiki:PatrolPageRevisions.js. Perhaps he can create a similar one? Masum Reza📞 21:37, 26 November 2019 (UTC)
What is the issue of using RTRC patrol.py? Only recent-enough edits can be patrolled at all. The whether-a-change-is-patrolled status is stored with recentchanges, not revision. --Zhuyifei1999 (talk) 22:58, 26 November 2019 (UTC)
I have no idea how to set up the patrol.py script on PAWS. I am not really educated in Python. Is there any manual out there? Masum Reza📞 23:17, 26 November 2019 (UTC)
mw:Manual:Pywikibot/PAWS --Zhuyifei1999 (talk) 02:00, 27 November 2019 (UTC)
@Zhuyifei1999: I am not sure why I am getting the "STIMULATION: patrol action blocked" error in the terminal. I was using my main account per instructions at User:Masumrezarock100/How_to_patrol_Commons_using_patrol.py. Did I do the last step correctly? Masum Reza📞 10:17, 27 November 2019 (UTC)
-simulate prevents ("blocks") all writing actions, including patrol. --Zhuyifei1999 (talk) 16:44, 27 November 2019 (UTC)
Oh, I see. As I said, I am not educated in Python. It's working now. Thanks! Masum Reza📞 17:05, 27 November 2019 (UTC)
Any idea how to patrol every edits to a specific page using patrol.py? I tried to use the user field with a wildcard character (*) but it doesn't seem to work. I mean how can I whitelist a specific page? Masum Reza📞 23:11, 27 November 2019 (UTC)
@Masumrezarock100: Might be relevant: https://github.com/wikimedia/pywikibot/blob/master/scripts/patrol.py#L172 --Zhuyifei1999 (talk) 18:20, 30 November 2019 (UTC)
@~riley: I'm now running RTRC masspatrol on Vahurzpu who was just granted autopatrol. It's taking absolutely forever and will probably ruin my SSD given how many pages it is loading. - Alexis Jazz ping plz 21:34, 2 December 2019 (UTC)
@Alexis Jazz: Ok. Stop running it. I can patrol their edits using patrol.py. Masum Reza📞 21:41, 2 December 2019 (UTC)
It finished before I saw your comment, but clearly it's not ideal. My SSD is obviously unlikely to die from patrolling one user, but if I need to deal with every user that is granted autopatrol like this, it'll probably take a hit. - Alexis Jazz ping plz 21:58, 2 December 2019 (UTC)
You can run patrol.py script if you want. Or you can just add those users to User:Masumrezarock100/patrol_whitelist or User:RileyBot/patrol_whitelist. And ping me or Riley to run the bot for you. Masum Reza📞 22:14, 2 December 2019 (UTC)
FYI, I just noticed my crontab wasn't working (runs bot on an hourly schedule to see if there are any unpatrolled) - working with wmflabs people as it is through their server to figure out the problem. I can still run manually, but my apologies if you have been expecting it to run more frequently. ~riley (talk) 16:08, 3 December 2019 (UTC)
(should be fixed) --Zhuyifei1999 (talk) 16:32, 3 December 2019 (UTC)
I wrote a very simple script for patrolling. This version is just manually but give new assigned rights as input should also be possible. I think I would first run it manually once a day, it is definitely better then using RTRC for this. --GPSLeo (talk) 18:04, 14 December 2019 (UTC)

As at the bot request there was seen a need for a proposal for this I started one. --GPSLeo (talk) 11:56, 2 January 2020 (UTC)

Categorize all videos that are << sound only >> and those are << mute >>.

This should be useful categorization. --- Eatcha (talk) 08:55, 14 January 2020 (UTC)

English: Hi! Need remove files from the Category:Media needing categories (cyrillic names) that contain the categories. Example 1, 2, 3.
Русский: Приветствую! Нужно удалить из категории Category:Media needing categories (cyrillic names) файлы в которых есть обычные категории. Пример 1, 2, 3

--Mitte27 (talk) 06:02, 14 January 2020 (UTC)

@Mitte27: I think not the good idea. It should be done manually. Many times the categories are put quite randomly and there is needed users who knows Russian or other Slavic languages--Estopedist1 (talk) 08:07, 15 January 2020 (UTC)
@Estopedist1:
English: Files in Category:Media needing categories (cyrillic names) added from the categories "Media needing categories as". This category is automatically deleted if you put categories (Example File:Церква Шевченка пам'ятна дошка.png), but Category:Media needing categories (cyrillic names) is not deleted.
Русский: Файлы в Category:Media needing categories (cyrillic names) попали из категорий "Media needing categories as". Данная категория автоматически удаляется если поставить категории (пример File:Церква Шевченка пам'ятна дошка.png), но категория Category:Media needing categories (cyrillic names) не удаляется.
--Mitte27 (talk) 11:30, 16 January 2020 (UTC)
@Mitte27: categories "Media needing categories as" are added automatically, but category "Media needing categories (cyrillic names)" are added manually by user. Hence the principal difference. Actually, I think we don't need this category ("Media needing categories (cyrillic names)") at all, because much better are "Uncategorized media with description in Belarusian language", "Uncategorized media with description in Russian language" etc. But the overcategorization is enormous work (over 25 000 files)--Estopedist1 (talk) 13:51, 16 January 2020 (UTC)
@Estopedist1:
--Mitte27 (talk) 15:36, 16 January 2020 (UTC)
@Mitte27: yes, these 3 files are quite well categorised. I removed the category in question--Estopedist1 (talk) 17:06, 16 January 2020 (UTC)
@Estopedist1: This is an example. There are hundreds of such files. File:Павільйон Флори парк «Софіївка».jpg, File:Па́мятник Столы́пину — скульптурная композиция..jpeg, File:Палац К.Розумовського. Батурин.jpg, File:Палац Орловських, вигляд ззаду.jpg, File:Палац, Жищинці.jpg, File:Пам'ятка архітектури. Проскурівська, 2. Фото 4.jpg, File:Реформатська церква .jpg, File:Реформатська церква, Берегуйфалу.jpg, File:С.Буряки - panoramio.jpg and many others. Therefore, you need to delete files with categories from Category:Media needing categories (cyrillic names). --Mitte27 (talk) 17:32, 16 January 2020 (UTC)

Wikidata Infobox

Hello.Wikidata Infobox is a brief and better alternative to other templates.Previous discussions took place to remove other templates from pages that contain "Wikidata Infobox" (1-2).Please make a bot remove templates containing data that appear automatically from Wikidata from all pages in Category:Uses of Wikidata Infobox

Templates that need to be removed are located in Category:Biology templates and Category:Language templates.Thanks ديفيد عادل وهبة خليل 2 (talk) 13:36, 19 December 2019 (UTC)

I agree that in many cases {{Wikidata Infobox}} is better than the older templates and takes less space, and some templates can be removed. Here is my list:
I am less familiar with Category:Biology templates and Category:Language templates. @Mike Peel: FYI. --Jarekt (talk) 03:35, 21 December 2019 (UTC)
I've been writing some bot scripts that can remove simple templates (like monument IDs that match Wikidata), but templates that contain more complicated information are rather more tricky. It would be nice to see bots run by other people that do this work! Thanks. Mike Peel (talk) 15:32, 22 December 2019 (UTC)
"make a bot remove templates containing data that appear automatically from Wikidata"? No, and I would ask crats to remove the bot flag from any account that does. This hides information from commons searches, and makes changing displayed information impossible from within this project ana a crazy difficult thing for newbies to tackle.
This is a move to run commons from Wikidata, and breaks this project. -- (talk) 16:58, 22 December 2019 (UTC)
, Commons is great for curating images and Wikidata is great for curating data. In most cases data on wikidata which is used by many projects is of much better quality than data stored in individual images or categories, because there are much many people who review it. Also system of references allows you to quickly verify the claim (if used), while much of data on Commons comes from unknown places. This proposal is for clearing some redundant text from categories that use {{Wikidata Infobox}}, which is pretty standard for categories connected to Wikidata, and by hovering to the side allows you to actually see the images on the first screen as oppose to have to scroll down the pages of text to see them. I do not feel like we need {{Object location}}, {{Creator}}, {{Artwork}} or {{Book}} template blocking your view of images, if the same information can be displayed using {{Wikidata Infobox}} template without blocking the view. Also I do not remember the last time when I looked at {{Wikidata Infobox}} template and felt that I need to change displayed information. --Jarekt (talk) 20:47, 22 December 2019 (UTC)
Sure, these pro Wikidata talking points have become well worn. This does not fix either of the issues I raised, and mass bot changes which break future searches would be a misuse of the bot flag. -- (talk) 21:08, 22 December 2019 (UTC)
@: Can you back up your two issues with examples, please? I don't think either is the case. Information in the infobox does appear in commons search, for example searching for the NHLE ID "1239087" in categories [3] finds Category:Buckingham Palace - plus the infobox includes some multilingual search engine optimisation, so if you search for the Korean "버킹엄 궁전" then you'll still find the correct commons category [4]. For the other one, whether having a GUI rather than wikitext is easier or not for newbies is arguable, however having an edit interface in your language rather than in English (which all the parameter names for those templates are) must be quite a lot easier for non-English new editors. Thanks. Mike Peel (talk) 08:22, 23 December 2019 (UTC)
 Support and we can add {{IWM}} to the mix - I've just nominated it for deletion. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 14:30, 19 January 2020 (UTC)

A help-desk bot ? ? Answer queries in no time. Should be extended to Village pump if successful

A lot of data is publicly available, most of the questions are usually similar and a simple bot can easily reply to them in no time. Sometimes new users feel frustrated If they don't get an ASAP reply. If anyone is interested in doing this useful task, don't forget to ping me. Of course reply from users with special rights like rollbacker and patrollers should be the bottom line for selecting replies. I prefer users with bigger hats than autopatrollers + never blocked, for professional replies. FAQ page has a lot of static data. -- Eatcha (talk) 17:30, 21 January 2020 (UTC)

Not really a good task for a bot. The amount of ML/AI training work that would be required to build an effective bot massively outweighs the potential time savings. https://xkcd.com/1319/ --AntiCompositeNumber (talk) 19:32, 21 January 2020 (UTC)
The amount of ML/AI can be reduced if we train for popular language like English, users can manually translate the answers if they wish. I prefer using a translation API to match keywords. -- Eatcha (talk) 06:41, 22 January 2020 (UTC)
Completely agree with the above comment and the linked comic. I would rather not have the newbies confused by a bot replier. A angry newbie needs a help from a human, not from a bot who doesn't know what emotion is. Besides Commons is multilingual, just supporting English language is not enough and non-latin languages in Latin characters (i.e. romaji) can confuse the bot. Masum Reza📞 19:56, 21 January 2020 (UTC)
Commons is multilingual, just supporting English language is not enough and non-latin languages in Latin characters (i.e. romaji) can confuse the bot. It's upto the bot operator not anyone else, most of the bot owners are volunteer so staements like not enough are not helpful. And non-Latin-characters are not known to confuse any bot that are properly trained. BTW: There are translation API's that can support more than 50 languages. Just translate non English to English match keywords, search the databases for the question language, if found return it else return the English answer. -- Eatcha (talk) 06:38, 22 January 2020 (UTC)
Noobs have no idea how to search the VP or hd archives for keywords. A dynamic search page might work better, or capture answers in a faq database. -- (talk) 22:49, 21 January 2020 (UTC)
: Similar to that of google's help page : https://support.google.com/?hl=en . TBH: The sidebar has a link to Help center that links to Help:Contents, that page is way too confusing to a new user. The biggest issue is "not a single image" all text, we should follow Apple's help page https://support.apple.com/ -- Eatcha (talk) 06:50, 22 January 2020 (UTC)
  • I agree with that development time graphics, but you should admit that our replies are too slow and many users don't check back. In fact seasoned users forget to ping these new users and these new users don't know what's a watch list is. My first question was "How can I upload a MP4 video ?" What I was replied ? I'm not aware of MP4 files ever having been supported. As far as I know, it is not a free format. @Eatcha: are you saying that at some point in the past this was supported?. I am not saying it was a bad reply It was excellent considering the response time, but I would love get a link to Video2Commons without explaining why commons doesn't support MP4 files and what kind of videos are allowed. -- Eatcha (talk) 06:20, 22 January 2020 (UTC)
    • Given that the help desk and VP + sub-noticeboards have been running for years, it would be darn handy if "good" answers to questions were marked as such. If archived sections were specially picked out as "good" responses to keywords in a search, like "videos", "mp4", "maximum file size", "how do I list my uploads", then a special dynamic search page could potentially be a great self-help tool. This could even be a GSoC project if the use case were written up. -- (talk) 14:06, 22 January 2020 (UTC)
  • I don't object to anyone figure out how to write the ML code for this, train the bot, and test out the results, however, note that Wikimedia Cloud Services / Toolforge does not have specialized GPU power, so whatever you write you might have to run on your own hardware or some other hosting service. --Zhuyifei1999 (talk) 14:16, 22 January 2020 (UTC)

Gathering images in Category:License review needed used in other wikis

Like User:SteinsplitterBot/DR/kowiki, It would be useful gathering images in Category:License review needed used in other wikis. Files used on other wiki should have priority on license review process. – Kwj2772 (talk) 15:58, 29 January 2020 (UTC)

@Kwj2772: I threw https://quarry.wmflabs.org/query/41718 together to get an idea of what the data is like. The query runs quickly enough that I could do it as a web-based tool or as a gallery page. Is there something other than the number of pages where the file is used that you'd like to see? --AntiCompositeNumber (talk) 00:20, 30 January 2020 (UTC)

Review all files in Category:License review needed

How ? Download all images available on outbound external URLs, match checksum. If a match is found, pass the file with that link included in template. You should check Internet archive, before add license review failed. How do you check the license ? Search for license URLs similar to listed at User:Eatcha/sanbox64. -- Eatcha (talk) 06:11, 1 February 2020 (UTC)

I don't have time for next 3 months to work on this, If no one implements this I will but after next 3 months. -- Eatcha (talk) 06:20, 1 February 2020 (UTC)

Hi, File:Weltkarte tropen.png is outdated (1992) and the equator is placed wrong. File:Koppen-Geiger Map A present.svg uses current data (2016) and has the correct equator. Can some bot please change all uses of the old one for the new please? TIA --h-stt !? 14:07, 10 February 2020 (UTC)

@H-stt: it should be work for User:CommonsDelinker--Estopedist1 (talk) 06:52, 13 February 2020 (UTC)
THX --h-stt !? 14:26, 13 February 2020 (UTC)

Adding license info to the Beeld en Geluid wiki

This isn't for Commons, but it'll help us and it is a MediaWiki installation.

See for example https://wiki.beeldengeluid.nl/index.php/Bestand:FTA001008499_010_con.png. There is a list of 18885 files at User:Alexis Reggae/FTA-afbeeldingen BenGwiki. Could a bot prepend a template to all 18885 files on the Beeld en Geluid wiki?

See Commons:Deletion requests/Files in Category:Eurovision Song Contest 1980 photo sessions for related discussion. Pinging @85jesse. - Alexis Jazz ping plz 15:35, 13 February 2020 (UTC)

@Alexis Jazz: I'm no expert but I tried to see if I can edit the wiki and the <questycaptcha-edit> gives me troubles. I do not speak Dutch so most of the times I have no idea what to answer. Also the bot can't work when it have to answer questions. --MGA73 (talk) 14:04, 15 February 2020 (UTC)
@MGA73: I got the question "Welk zoogdier miauwt en rijmt op bad?" at least twice.. the answer to that one is kat. ("what mammal meows and rhymes with bath")
@85jesse, SRientjes, and Beeld en Geluid Collecties: I created https://wiki.beeldengeluid.nl/index.php/Sjabloon:Cc-by-sa-3.0-nl for you, adjust it as needed. If you want all images listed on https://files.beeldengeluid.nl/documenten/FTA-afbeeldingen_BenGwiki.xlsx to be tagged you need to add https://wiki.beeldengeluid.nl/index.php/Gebruiker:MGA73 to https://wiki.beeldengeluid.nl/index.php/Speciaal:GroepsrechtenWeergeven#bot. - Alexis Jazz ping plz 16:55, 15 February 2020 (UTC)
Nice the Danish word for cat is also "kat" :-) I got 2 answers right: snake/slang and 10. --MGA73 (talk) 17:02, 15 February 2020 (UTC)
Also if you have a database or a list of info about each file perhaps it would be possible to add it the same time the license is added. --MGA73 (talk) 18:35, 15 February 2020 (UTC)

Flying1004's upload

Large number of uploads are from YouTube but do not have {{LicenseReview}}. Kindly add it in with a bot. Minoraxtalk (formerly 大诺史) 03:25, 5 February 2020 (UTC)

Also maybe add all uploads into Category:Files uploaded by Flying1004 for easy tracking. Minoraxtalk (formerly 大诺史) 03:26, 5 February 2020 (UTC)
This is about 426 files: https://paws-public.wmflabs.org/paws-public/User:AntiCompositeBot/Flying1004.ipynb --AntiCompositeNumber (talk) 04:55, 5 February 2020 (UTC)
@Minorax: Should it not be {{YouTubeReview}}? --MGA73 (talk) 17:28, 5 February 2020 (UTC)
If I’m not wrong, the one you’ve mentioned is for videos. Minoraxtalk (formerly 大诺史) 18:18, 5 February 2020 (UTC)
@MGA73: Minoraxtalk (formerly 大诺史) 18:19, 5 February 2020 (UTC)
@MGA73 and Minorax: I don't see anything about {{YouTubeReview}} that would prevent it from being used on images extracted from videos, other than the fact that the bot can't review them. That said, {{LicenseReview}} isn't wrong either. I think I'd go with YouTubeReview. --AntiCompositeNumber (talk) 20:07, 5 February 2020 (UTC)
I forgot that my bot no longer have a bot flag. So I will let someone else fix it :-) --MGA73 (talk) 20:43, 5 February 2020 (UTC)
Generally, screenshots should use LR instead of YR as different parts of the video might have different issues such as FOP and DW which can’t be checked by the bot. Minoraxtalk (formerly 大诺史) 00:17, 6 February 2020 (UTC)
Also “confirmed” by bot owner that YR is for videos, see [5] (second last thread) Minoraxtalk (formerly 大诺史) 00:29, 6 February 2020 (UTC)
Yes but humans can do YR review too. We have the same issue with Flickrreview. The bot fixes 99.9 % but the last 0.1 % humans need to check. I think it would be nice if the YR bot is changed so it verify the license even if it can't tell if the screenshot is from the video. That way we are sure the license was ok when the bot checked the file and if uploader change the license later the file is safe if a human can verify that the screenshot came from the video. I think that is what the flickrreview bot does when the license is good but the image does not match. --MGA73 (talk) 07:23, 6 February 2020 (UTC)
Actually I just need to add the category but do you guys think it's fine for the bot to review them cuz it's sometimes hard to tell if a picture was ever part of a video if the video is lost. I don't have any problem in handling images. If most of the community is in favor, I can start handling images now. -- Eatcha (talk) 11:06, 6 February 2020 (UTC)
PS: It's legally worse than videos, there are various hidden factors in a YouTube source page that proves that the videos are same but it's not always true for images cropped out of YouTube video. I can use our user hierarchy system for more appropriate reviews. -- Eatcha (talk) 11:32, 6 February 2020 (UTC)
@Eatcha: Yes I think the bot should work on images too. If the license is unfree then we should add "no permission" or start a DR. If the link does not work or the video is deleted then we should add "no source" or start a DR. If the license is good then we are half way through the review because then we know the license is good and we just need to verify that the still image came from the video. Personally I think it would help us a lot if bot could check. It is much easer to work on files from the same source and the same problem. --MGA73 (talk) 16:23, 6 February 2020 (UTC)
@Eatcha: Hello again. I think you can fix this request any way you think is best per other discussions about review. --MGA73 (talk) 19:07, 12 February 2020 (UTC)
MGA and Minorax ✓ Done -- Eatcha (talk) 09:55, 15 February 2020 (UTC)

@Eatcha: the LR script is not compatible with {{YouTubeReview}} (see Special:Diff/395469289, Special:Diff/395469558 & Special:Diff/395469591), Majora seems to be busy IRL so I'm not gonna bother them about it. I would appreciate if you can revert back everything to {{LicenseReview}}.

cc. @MGA73: Minoraxtalk (formerly 大诺史) 15:28, 17 February 2020 (UTC)
✓ Done Minorax SideNote: Commons doesn't have enough users maintaining JS user scripts, there are at-least 5 important user scripts I can remember that lack volunteer developers. Anyone knows how can we encourage more developers to contribute ? -- Eatcha (talk) 04:33, 18 February 2020 (UTC)
To be honest, I suggest moving core user scripts to MediaWiki namespace (i.e. make it a gadget). Minoraxtalk (formerly 大诺史) 04:38, 18 February 2020 (UTC)

Rename request: Category Gazeta de Caracas files

I would like to request, as the uploader of the files, the move of all the files in Category:Gazeta de Caracas. The request consists in changing the format from "Gazeta de Caracas [date]" to "[date] Gazeta de Caracas" in order to have a chronological order and to make the search of the files easier. For example, the original title of "Gazeta de Caracas 13 de enero de 1809.pdf" to "13 de enero de 1809 Gazeta de Caracas.pdf"

The reason why I making this request in the noticeboard is because the category currently contains 86 files, and I think a centralized request would be better than requesting each one of them individually. --Jamez42 (talk) 17:16, 25 February 2020 (UTC)

@Jamez42: If you want I can make a rename request at each file using VFC. {{Rename|1={{#invoke:string|sub|{{PAGENAME}}|i=19|j=-5}} Gazeta de Caracas.pdf|2=1|3=Fecha primero|user=Jamez42}} should work for every file that follows the syntax "Gazeta de Caracas [date].pdf". Should I do that? In that way each file doesn't have to be requested for renaming manually.Jonteemil (talk) 05:48, 19 March 2020 (UTC)
@Jamez42: .Jonteemil (talk) 16:16, 28 March 2020 (UTC)
@Jonteemil and AntiCompositeNumber: Hi! Sorry, I think I didn't notice the message until now. I'm not familiar with VFC or any other renaming processes, but it'd go with the easiest and most practical one. Yes, I'd been advised to order them chronologically, YYYY-MM-DD is possibly the best format for this and I'm planning to upload more files in the category if I have the change. --Jamez42 (talk) 19:44, 28 March 2020 (UTC)
Alright, they're all tagged. Thanks in advance to the file mover that handles them. --AntiCompositeNumber (talk) 02:36, 29 March 2020 (UTC)
@AntiCompositeNumber: Thank you so much! Best regards! --Jamez42 (talk) 21:52, 30 March 2020 (UTC)
If you actually want them in chronological order, the dates would have to be converted to ISO format (YYYY-MM-DD). Since the titles are all in the same format, it doesn't matter where the date is in the title. VFC isn't really up to the task of doing date conversions. While a bot could be thrown at this, it's only 68 files. It'll be easier and faster to just do it by hand. I think it would actually be a better idea to leave the files where they are and just adjust the sortkey for the category, so you get the sorting without having to bother a file mover. --AntiCompositeNumber (talk) 18:45, 28 March 2020 (UTC)
Files have all been moved, thanks to Richardkiwi for actually performing the moves. --AntiCompositeNumber (talk) 15:07, 29 March 2020 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. AntiCompositeNumber (talk) 15:07, 29 March 2020 (UTC)

Country/date photograph categories

I would like a bot to create and maintain categories like this:

  • Category:<country> photographs taken on <yyyy>-<mm>-<dd> -> {{<country> photographs taken on navbox|<yyyy>|>mm>|<dd>}}
    • A category will be created only if there is at least one photo inside.
  • Category:>month> <yyyy> <country> photographs -> {{countryphotomonthyear|<country>|<yyyy>|<month>}}
    • A category will be created only if there is at least one category inside.
  • While there are countries with a "the" in the name (United Kingdom and United States), the categories' naming makes "the" unnecessary.

There's so much of them in Special:WantedCategories that this task is (especially long-term) better suited for a bot. ミラP 20:44, 30 March 2020 (UTC)

@Rudolphous: Could you look into this, as your bot is doing similar tasks? --Schlurcher (talk) 20:05, 2 April 2020 (UTC)

Removal

Hello!

I replaced {{{4}}} with Special:MyUploads in {{Speedynote/en}} and all the other language versions of the template, see Special:Diff/408627045. I also removed {{{4}}} from {{Speedynote}}, see Special:Diff/408630560. This now makes the 4= redundant and can be removed by bot. A search for User talk: insource:/autotranslate\|base\=Speedynote has about 14.5 thousand files so it would be too much to do manually. What's need to be removed is everything from '|4=' to (not including) '}}' or '|'.Jonteemil (talk) 21:08, 1 April 2020 (UTC)

I really don't see the point in editing 14,500 talk pages to remove a deprecated parameter. No one's going to notice it or care about it, so it's not harming anything by being there. --AntiCompositeNumber (talk) 22:59, 1 April 2020 (UTC)
@AntiCompositeNumber: Well, you're not wrong. If anyone despite it not really having an impact on the output wants to do it anyway, he/she is welcome to do it :).Jonteemil (talk) 10:03, 2 April 2020 (UTC)
Okay, it seems as only 9,581 of the 14,500 files using {{Speedynote}} have 4=: user talk: insource:/\|\4\=\/\/commons\.wikimedia\.org\/w\/index\.php\?title\=Special\:Log\&user\=[^\]]+\&type\=upload \}\}/. The remaining 4,892 don't seem to have it: user talk: insource:/autotranslate\|base\=Speedynote/ -insource:/\|\4\=\/\/commons\.wikimedia\.org\/w\/index\.php\?title\=Special\:Log\&user\=[^\]]+\&type\=upload \}\}/.Jonteemil (talk) 11:41, 2 April 2020 (UTC)

Help needed to categorize images from Commons:Wiki Loves Africa 2020

We have an issue listed here

Not tagged images are images collected as part of Wiki Loves Africa, categorized in Images from Wiki Loves Africa 2020 in COUNTRY X but not in Category:Images from Wiki Loves Africa 2020.

All images must be in at least two categories (they MUST be in BOTH categories).

But due to some users not using the dedicated upload wizard, some images are not taggued with the general category.

We did some of them manually, but we would really need some help to do more...

It means every image listed here should see added

Countries concerned are Brazil (yeah...), Ghana, Guinea, Mali, Nigeria, Sudan.

Can someone help us here ? It would be awesome

Anthere (talk) 18:59, 17 April 2020 (UTC)

@Anthere: I did a few hundred special cases with VFC, but will have to do the rest with a bot task. https://quarry.wmflabs.org/query/44057 is what I'm working off of. It checks for files in a subcategory of Category:Images from Wiki Loves Africa 2020 but are not themselves in that category. The bot request is here and I'm going to do a few test edits from User:AntiCompositeBot. --AntiCompositeNumber (talk) 00:19, 18 April 2020 (UTC)
Wonderful ! Thank you for your help ! Anthere (talk) 11:34, 18 April 2020 (UTC)
@Anthere: Bot is running now. --AntiCompositeNumber (talk) 20:52, 26 April 2020 (UTC)
✓ Done. Let me know if you need it to be run again. --AntiCompositeNumber (talk) 05:14, 27 April 2020 (UTC)
THanks ! Then we can proceed to next step in selecting best images. Thank you. I added you at our m:Wiki Loves Africa 2020/Tools page where I list my helpful links ! Anthere (talk)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. AntiCompositeNumber (talk) 05:13, 27 April 2020 (UTC)

1300 file pages purge request

Good Morrow, we uploaded ~1,300 files on Commons, after community discussion, the files were renamed from English to Bengali script. After that the audio player was not visible at all on the Category page or on the File pages. I reported it on Phabricator at phab:T249467. They suggested these files should be purged using a bot (see the last response at the Phab discussion)

Files of this category need to be purged Category:Lingua Libre pronunciation by Titodutta

Could you please do the necessary things to solve this? Regards. --Tito Dutta (talk) 05:20, 9 April 2020 (UTC)

Titodutta ✓ Done // Eatcha (talk) 06:16, 9 April 2020 (UTC)
Code @ User:Eatcha/resettrans -- Eatcha (talk) 06:23, 9 April 2020 (UTC)

User template

Hello,
I would like to request that the "Author" field of {{Information}} for all files in this category lists the following code:

[[User:Moumou82|Mourad Ben Abdallah]]<br>{{User:Moumou82/Credits}}

Regards Moumou82 (talk) 12:37, 2 May 2020 (UTC)

@Moumou82: Hello. This should be done now; but a bot is usually not needed for tasks like this. I used COM:VFC; I suggest you give it a try! Ahmadtalk 13:14, 2 May 2020 (UTC)
@Ahmad252: Thanks! I noted a few instances like this where my user name has no link. Can this be done there too? Moumou82 (talk) 13:21, 2 May 2020 (UTC)
@Moumou82: Yes, but I think it's better if you do it yourself, so that you can use the tool in the future. You can enable it here. When it's enabled, go to the category page, click "Perform batch task" on the sidebar, choose all the files, and use the "custom replace" function to replace every Moumou82 with [[User:Moumou82|Mourad Ben Abdallah]]{{User:Moumou82/Credits}}. If you have any problems, let me know. Ahmadtalk 14:39, 2 May 2020 (UTC)
@Ahmad252: It looks to work but if I want to replace every Moumou82 with [[User:Moumou82|Mourad Ben Abdallah]]{{User:Moumou82/Credits}}, it gives me bugs like this one. How can this be avoided? Moumou82 (talk) 17:56, 2 May 2020 (UTC)
@Moumou82: Try replacing every |Author=Moumou82 with |Author=[[User:Moumou82|Mourad Ben Abdallah]]{{User:Moumou82/Credits}}. This should do it. Ahmadtalk 19:27, 2 May 2020 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Moumou82 (talk) 19:28, 2 May 2020 (UTC)

Include template in every "YYYY in Italy by city" like categories

I need to overwrite all categories like "YYYY in Italy by city" with the new template Italycityyear with correct parameters. So in the category "2020 in Italy by city" the only content will be {{Italycityyear|202|0}}.

As example see this category Category:2020 in Italy by city. --DnaX (talk) 11:13, 30 April 2020 (UTC)

✓ Done.Jonteemil (talk) 14:43, 30 April 2020 (UTC)
@Jonteemil: I know that can be destructive, but I was mean to overwrite completely the category content because there are old categories and some wrong templates still there. Could you do it? Thanks! --DnaX (talk) 15:35, 30 April 2020 (UTC)
@DnaX: ✓ Done.Jonteemil (talk) 16:08, 30 April 2020 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Jonteemil (talk) 04:38, 5 May 2020 (UTC)

Renaming

Hello!

I request all files in Special:Search/intitle:/tif jpg\.jpg/ -intitle:/2\.jpg/ be renamed to {{#invoke:string|sub|{{FULLPAGENAME}}|j=-13}}.jpg under Criterion 6 (fix double extensions (or in this case triple)). I was advised not to do a batch request with VFC so here I am.Jonteemil (talk) 09:45, 7 April 2020 (UTC)

@The Squirrel Conspiracy and ~riley: Thanks!Jonteemil (talk) 15:27, 12 April 2020 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Jonteemil (talk) 17:33, 9 May 2020 (UTC)

Users per month in category

Hello, could you list me the uploaders user names per month in these categories (separately per category)? Ideally as a CSV or MS Excell tab to my e-mail. We would like to see the usage, statistics of the usage and thus the importance of these tools.

Many thx. --Juandev (talk) 08:00, 11 April 2020 (UTC)

@Juandev: Hello. This isn't exactly a bot work I think; it can be done with an SQL query. Just one question: when is the start and end date? January 2019 to January 2020? Ahmadtalk 23:49, 16 April 2020 (UTC)
✓ Done for all time: Commonist Pattypan VicuñaUploader --AntiCompositeNumber (talk) 02:44, 17 April 2020 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Jonteemil (talk) 17:33, 9 May 2020 (UTC)

'Do not crop' template

Please can someone's bot tag all the images in Category:Type specimens of the Natural History Museum, London, and other categories listed at Commons:Digital Collections Programme, Natural History Museum, London, with {{Do not crop}}? While they should probably all be croped before being used in Wikipedia or Wikispecies pages, that should be done by way of making separate files, so as not to lose the scientifically significant scale and colour charts, and original labels. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 10:18, 22 April 2020 (UTC)

What about the images that have already been cropped (and uploaded as a new file)? --AntiCompositeNumber (talk) 15:16, 22 April 2020 (UTC)
They can be ignored or, if easier, I'll manually remove the template when the bot is done - there are not many. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 22:35, 22 April 2020 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Jonteemil (talk) 17:32, 9 May 2020 (UTC)

Add Kept template to large number of file talk pages

Greetings. A likely well intentioned but misguided user nominated a large number of files for deletion using VidualFileChange. I've closed the nomination, but I don't know an easy way to get {{kept|2=Commons:Deletion requests/Files uploaded by WikiNameBaks}} on to the talk pages of all the files at Commons:Deletion requests/Files uploaded by WikiNameBaks. Can someone please assist? The Squirrel Conspiracy (talk) 07:54, 5 May 2020 (UTC)

@The Squirrel Conspiracy: Try installing MediaWiki:Gadget-DelReqHandler.js manually by copying the code below to your common.js:
importScript('MediaWiki:Gadget-DelReqHandler.js');
Then, hit the [keep] button next to each file's name on the DR page. I just tested it on some of them (e.g. File talk:Ceda Jovanovic Crop.jpg); works fine. Ahmadtalk 08:15, 5 May 2020 (UTC)
@Ahmad252: I am not an administrator (anymore... I was from 2012 to 2015 before going inactive for several years), and it looks like there's some sort of check in the code ("Enable the whole shebang only for sysops."). Can you do this one? The Squirrel Conspiracy (talk) 22:02, 5 May 2020 (UTC)
Sorry, I wasn't aware of the check. This should be ✓ Done now. Ahmadtalk 00:13, 6 May 2020 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Jonteemil (talk) 17:29, 9 May 2020 (UTC)

Name of rooms in category "Islam art in the Louvre - Room 185"

Hello, I would like that a bot could rename "Salle A" or "salle A" by "Salle 185" and "Room A" or "room A" by "Room 185" in all the descriptions of files that are in the category Islam art in the Louvre - Room 185 Thank you --Faqscl (talk) 16:00, 17 April 2020 (UTC)

Help needed to remove specific template {{Uncategorized Foo}}

All related files are here: User:Estopedist1/Sandbox2. The template {{Uncategorized Foo}} is redundant here because all files already have "category:Media needing categories (cyrillic names)". Some removing I did in semi-automated way with AutoWikiBrowser. I used regex: \{\{Uncategorized\|year=2015\|month=[A-Z]{8}\|day=[0-9]{1,2}\}\}--Estopedist1 (talk) 09:44, 18 April 2020 (UTC)

If they are all categorized, then why not use {{.ncategori.ed.*?}} to pull out all possible variations of this template? As you use AWB you don't really need someone else to do it. -- (talk) 10:30, 18 April 2020 (UTC)

Change category about "Japan post box"

Since there are many target pages, I have submitted a bot work request.

  • Request content:Change category below
  • Comment: Currently, I am reorganizing the categories related to Japanese post boxes. Japan Post has a standard. I plan to classify accordingly. Since Japanese posts are basically red, it seems that categories by color are unnecessary. Since Japanese posts are basically red, it seems that categories by color are unnecessary. Also, there is a category for each region only in Tokyo, and it is considered unnecessary.

Based on the above points, please change the category to "Japan Post" to make it easier to reorganize the category later.--Mario1257 (talk) 14:58, 20 April 2020 (UTC)

@Mario1257: Please establish consensus to merge these categories by opening a discussion at Commons:Categories for discussion. --AntiCompositeNumber (talk) 15:22, 20 April 2020 (UTC)
@AntiCompositeNumber: Thank you for your reply. I have launched a discussion in Commons:Categories for discussion/2020/04/Category:Post boxes in Japan.--Mario1257 (talk) 16:05, 20 April 2020 (UTC)

Batch crop and overwrite

This corresponds to the following inputs to CropTool: Top: 51, Left: 50, Width: 1000, Height: 661, Rotation: 0. Can you batch CropTool?- Jonteemil (talk) 14:10, 19 March 2020 (UTC)
This would not be a difficult task, however, I have not completed it because of the potential copyright issues. The watermark contains a statutory copyright notice (Copyright (c) 2012 Darren Wilkinson for which removal is possibly prohibited by the CC licenses according to meta:Wikilegal/Removal of watermarks from Commons images. --AntiCompositeNumber (talk) 16:39, 11 April 2020 (UTC)
These are external borders added to the original photos, not watermarks.--BevinKacon (talk) 19:56, 2 May 2020 (UTC)

There is a high number of files in that category. I assume that many errors are caused by pipes in the text. Could someone please have their bot fix such errors (example)? --Leyo 13:08, 2 June 2020 (UTC)

Yes that is a lot of errors and 96k files with errors have DPLA in the file name. User:Dominic can you adjust your bot so it does not add any descriptions with the "|" character? I can try to see if I can fix those. --Jarekt (talk) 02:25, 3 June 2020 (UTC)
Working on it. See here. --Jarekt (talk) 02:55, 3 June 2020 (UTC)
✓ Done I fixed ~ 100k files so now we are back to ~100 files which might have to be done by hand. @Dominic: can you make sure not to fill that category with your uploads? --Jarekt (talk) 23:25, 5 June 2020 (UTC)
Thank you. --Leyo 20:44, 8 June 2020 (UTC)
@Jarekt: Thanks for letting me know, and for fixing these. I have to escape that character with <nowiki> tags, I suppose. I did not really expect it, but one of the DPLA contributing institutions in particular was apparently using it in most of their descriptions. Dominic (talk) 18:34, 10 June 2020 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Jarekt (talk) 23:25, 5 June 2020 (UTC)

Replace US state templates with national template

We have tons of built-in-state-in-year categories, and they're populated by a convenient set of templates, e.g. the code for Category:Built in Ohio in 1900 is {{OhioArc|190|0}}. However, there's no fundamental need for specific state templates; we could do a single national template with a state parameter, e.g. {{USStateArc|Ohio|190|0}}. If I created a series of national templates, could someone run a bot to replace the old templates with the new? Here are the templates I was envisioning:

Of course, this isn't just Ohio; I'm envisioning doing the same with the categories for 47 states. (The exceptions are Georgia, New York, and Washington, whose categories use disambiguators that are beyond my very basic template-coding ability.) I'm sure we have some categories that consist of more than just a template like I'm describing; in order to avoid false positives, let's skip everything that has anything more than the template. Of course, I've not yet created the national templates, but if someone offers to help, I'll be happy to create the templates and do everything other than replacing old with new. If you'd like to see how it would work, look at Category:Churches in Ohio built in 1893, which uses {{USStateChurchArc}}, which I recently created; we've never had a churches-in-state-by-year tree until this month.

Thanks! Nyttend backup (talk) 12:48, 8 May 2020 (UTC)

@Nyttend backup: The replacement task itself is not a problem. --Kanashimi (talk) 01:23, 16 May 2020 (UTC)
So if I create the appropriate templates and give you details of what to do, would you be ready to start programming? Nyttend backup (talk) 10:50, 16 May 2020 (UTC)
Sure. :) Please ping me when you are ready. --Kanashimi (talk) 00:30, 17 May 2020 (UTC)
Hi, Kanashimi, and thank you. All the categories appear in this revision of the sandbox — for each of the 47 states in question, it's the five categories I mentioned above, plus {{OhioBridgesArcDecade}}. There should be 282 templates to replace (6 per state, 47 states) but there are really 278, because four templates don't exist: HawaiiBridgesArcDecade, NebraskaHousesArcDecade, NorthCarolinaBridgesArcDecade, and OklahomaBridgesArcDecade. I've made a sample edit for each of the six templates, again using Ohio:
(Note that OhioHousesArcDecade requires two edits; that's because I messed up on #1, not because the bot needs to make two edits.) Please let me know if you have any questions. Thanks! Nyttend (talk) 14:53, 17 May 2020 (UTC)
@Nyttend backup: The edits for each of the six templates of Ohio is all finished. Please check and tell me if it is OK. And looking for the code kanasimi/wikibot/blob/master/replace/20200518.Replace%20US%20state%20templates%20with%20national%20template.js#L15 on GitHub, please tell me the states_list, thank you. --Kanashimi (talk) 12:31, 18 May 2020 (UTC)
Kanashimi, I checked a number of Ohio pages, and they all look fine. Thanks! I don't understand your final sentence. All the templates that need replacement appear in this revision of the sandbox — is that not sufficient? If it's not, I can dump a list of templates into this page, but of course they'll be collapsed to save space. Nyttend backup (talk) 14:35, 18 May 2020 (UTC)
@Nyttend backup: It seems NG for Category:Houses built in New Jersey in 1790... --Kanashimi (talk) 13:43, 19 May 2020 (UTC)
All changed categories for states with names containing spaces have this same problem. Since the state-specific template did not contain a space, but the state name in its respective categories does, the string substitution generated non-existent category names. Waz8 (talk) 17:49, 19 May 2020 (UTC)
 Thank you. I will fix the mistake. --Kanashimi (talk) 21:36, 19 May 2020 (UTC)
I've spot-checked at least one category from each state that uses the new template, and they all look fine. Thanks to you for writing the code to do the replacement and to Nyttend backup for suggesting and compiling the list of state templates. Waz8 (talk) 01:49, 23 May 2020 (UTC)
@Nyttend backup: ✓ Done Please check and tell me if there are anything wrong. --Kanashimi (talk) 23:19, 19 May 2020 (UTC)
Thanks! I've checked WhatLinksHere for all the templates, and they're all good. I've spot-checked a number of individual categories, and while I found a few errors, they were all things like this that predated the bot run. Aside from errors like NewJersey that you've fixed already, I've found zero errors by your bot, and zero pages where it should have run but didn't. Nyttend backup (talk) 14:15, 20 May 2020 (UTC)

Files without licenses

Based on my experience with User:OgreBot/Notable uploads, I see a lot of files without license tag(s) even a month after upload. We definitely had bot that performed this task in past, so will be great if new owner will take over this task. --EugeneZelenko (talk) 15:13, 16 May 2020 (UTC)

I put https://quarry.wmflabs.org/query/44935 together, looking for files in Category:Files_with_no_machine-readable_license uploaded in the last 2 months and not already tagged for deletion. This is a fairly simple task, so I'll start coding it. --AntiCompositeNumber (talk) 21:01, 16 May 2020 (UTC)
Thank you for looking into task! It makes sense to dig deeper into history. --EugeneZelenko (talk) 17:24, 17 May 2020 (UTC)
I've just noticed that MifterBot is already approved and running on this task. I don't know what the operation details are for that bot, perhaps Mifter could provide more information. I'm just about ready to move toward testing and a request for approval if no issues are raised. --AntiCompositeNumber (talk) 02:55, 20 May 2020 (UTC)
@EugeneZelenko: Bot request filed: Commons:Bots/Requests/AntiCompositeBot 4 --AntiCompositeNumber (talk) 05:09, 2 June 2020 (UTC)
Bot is active, marking as ✓ Done --Mdaniels5757 (talk) 15:39, 15 June 2020 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Mdaniels5757 (talk) 15:39, 15 June 2020 (UTC)

Upload a set of PDF files based on a list of Internet Archive identifiers.

Task Summary: Upload a set of PDF files based on a list of Internet Archive identifiers.

Frequency; One shot (as required.)

Details:

In https://paws-public.wmflabs.org/paws-public/User:AntiCompositeBot/CatCoprEntries.ipynb is a list of IA identifiers for scanned volumes of the Catalog of Copyright Entries, which were not yet present on Commons.

During the import of related volumes, these an issue arose with large files, meaning the volumes listed had not yet been uploaded to Commons, and I think it would be a reasonable task for a bot to grab and upload the PDF versions (of the remaining volumes) using the appropriate API's on the respective sites.

At present this relates specifically to the list linked. but it may be advantageous to have a bot that can use an IA style query in order to copy across 'series' of volumes to Commons, for multi-volume works, that are independently confirmed as public domain. ShakespeareFan00 (talk) 12:53, 7 June 2020 (UTC)

Refer to Phab:T254459 for the PDF upload apparent bug for these files. (talk) 14:20, 7 June 2020 (UTC)

Update PD-Russia template for files uploaded before Jan. 1, 2017

Please, for URAA-compliance for {{PD-Russia}}-files uploaded before Jan. 1, 2017:

Alex Spade (talk) 14:59, 14 June 2020 (UTC)

Reseting transcode of many audio files

Hello.

I noticed that there was a problem transcoding some audio files coming from the Lingua Libre application. It appears, randomly, that some files indicate "Added to Job queue" as transcode status and consequently, they cannot be played on projects that reuse them. Would it be possible for a bot to check all files under Category:Lingua Libre pronunciation to update the status when necessary? Seb en Résidence (2IF) (talk) 08:13, 15 June 2020 (UTC)

Undated but out-of-date template

I have just removed a version of {{NoUploads}}, which had no date parameter (and so said "the artist is still living or has not been dead for at least 70 years") from the category of an artist who died in 1948. Is it possible to have a bot check all such cases, and remove any where the death is before 1950? The task could then usefully be run every 1 January, incrementing the year. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:26, 27 June 2020 (UTC)

@Pigsonthewing: What about having a bot adding (and checking) the date instead? I just checked a random one and according to the Wikidata box the person died in 1971. I got so excited that I closed the window before I could copy the name. Or perhaps it is possible to update the template to get the death year automatically? --MGA73 (talk) 21:13, 1 July 2020 (UTC)

Pl@ntNet import

Pl@ntNet has 1794096 photos of 27909 species released in the Creative-Common Attribution-ShareAlike 2.0 license.[1] It would be great if all of them are imported in Wikimedia Commons. Apparently, its API does not provide a way to download photos.[2] --Pere Orga (talk) 21:59, 1 July 2020 (UTC)

User renamed

Hello,

I had to rename my user account and would like to avoid accounts to be linked (so no redirect).

Would it be possible to rename any occurence of my old usernames to my new one ? Example : diff.

Since I have reviewed a lot of files (OTRS, Flickr, etc.) this is tedious to be done by hand. Sorry if this type of request gets declined, I am not used to it

Best regards

NoFWDaddress (d) 22:22, 8 July 2020 (UTC)

I see 824 occurrences in the file namespace. That's more than I'd want to do with VFC, which would mean another semi-auto tool (like AWB) or a bot task. I've also found that updating usages of a username after a privacy rename generally creates more noise than just leaving it between the approval request, task description, edit summaries, etc. Someone else might be able to help with a semi-auto tool though. --AntiCompositeNumber (talk) 03:54, 9 July 2020 (UTC)
Hello AntiCompositeNumber. Isn't the issue more about having the OTRS (or review) templates linked to an nonexistent user? I get that the Streisand effect could be an issue, but as long as it's not in search engines it wouldn't be a problem for me. NoFWDaddress (d)

@NoFWDaddress and AntiCompositeNumber: I tried to edit 1 page. Does that look good? I'm not sure if any filters will feel offended that my bot messes with an OTRS tag. I should perhaps have left a link in edit summary to this request? --MGA73 (talk) 14:22, 25 July 2020 (UTC)

@NoFWDaddress: If User:CH-Bot is your bot then you can use replace.py to do the job. --MGA73 (talk) 08:04, 27 July 2020 (UTC)
MGA73: Thank you and sorry for the delay, I was off for an extended weekend. Sure for replace.py, or it can be done with AWB. I have requested the bot flag to perform this task since there is a lot of occurrences and I am pending approval: see Commons:Bots/Requests/CH-Bot. NoFWDaddress (d) 12:17, 27 July 2020 (UTC)
@NoFWDaddress: Great! Just ping me if you don't get a flag and fix it yourself. --MGA73 (talk) 12:25, 27 July 2020 (UTC)

Flag acquired temporarily. Starting edits now. NoFWDaddress (d) 11:42, 11 August 2020 (UTC)

This section was archived on a request by: NoFWDaddress (d) 17:11, 11 August 2020 (UTC)

Feasibility inquiry

How long would it take to move 23000 files to a subcategory? (hours? weeks?) Category:SVG Deutsche Einheitskurzschrift How long would it take to move 46.000 files? How long would it take to rename (e.g. "File:DEK Deutsche Einheitskurzschrift - Verkehrsschrift - foo.svg" to "File:DEK 1968 VK Steno - foo.svg") and move all files? (The file names are all uniform, they differ only in there last part?) --Thirunavukkarasye-Raveendran (talk) 16:27, 18 July 2020 (UTC)

The category move can be requested at User talk:CommonsDelinker/commands. If approved, I don't know how long it would take for the bot to finish the task. The renaming I will leave for someone else to answer.Jonteemil (talk) 18:29, 18 July 2020 (UTC)
My guess is that it will take max 2½ day to move 23000 files and much less if it gets high priority. --MGA73 (talk) 14:09, 25 July 2020 (UTC)

Checking/fixing about 3000 files moved from ja.wiki to Commons

Japanese Wikipedia have more than 1500 files like ja:ファイル:Demography01100.svg that is used via templates. When they were moved to Commons the names was changed to something like File:Population_distribution_of_Sapporo,_Hokkaido,_Japan.svg. There are also about 1500 files like ja:ファイル:基礎自治体位置図 40381.svg that was renamed to something like File:Ashiya in Fukuoka Prefecture Ja.svg.

I wonder if someone can make a bot check that all the relevant information have been transferred to Commons including the license.

The files should all be build up the same way on ja.wiki. I checked a random number of files. But as a part of the job it would be relevant to check if all files use the same template or there are some that uses other templates. --MGA73 (talk) 14:03, 25 July 2020 (UTC)

export data about artworks sold at Christie's to Wikidata

@Multichill and Jarekt: we have quite a few images of artworks that were sold at Christie's and use Template:Christie's. I think the data could be moved to Commons. At the same time, it may be a good idea to add support for Christie's object ID (P3783) to the reference field of of template:Artwork. -Zolo (talk) 20:00, 12 July 2020 (UTC)

Currently the tracker category Category:Sold at Christie's contains about 3600 files. If I intersect that with Category:Paintings without Wikidata item I get 1400 hits. That would be a good starting point. Jarek has a bit more experience than I have with importing data from Commons to Wikidata. Multichill (talk) 20:30, 12 July 2020 (UTC)
@Poulpy: ^ is this something you want to pick up? Multichill (talk) 20:35, 12 July 2020 (UTC)
I looked at ~20 files. None of them had Wikidata item and many had very minimal information on Commons. It might make sense to scrape info straight from Christie as they have more information. I Agree about adding Christie's object ID (P3783) to the artwork template. I should rewrite that part of the code as we could be adding references using great many more properties. --Jarekt (talk) 12:18, 21 July 2020 (UTC)
@Jarekt: if scraping Christie's is doable, that would certainly be better (their database is good). There are also quite a few images on Commons that come from Christie's and don't use the template. Some may be catchable using regexes See for example https://www.christies.com/lotfinder/lot_details.aspx?intObjectID=5458837 in File:2011 CSK 01242 0035 edouard vuillard le parasol sur la plage en normandie and la route).jpg. Some like File:Renoir - Vase de roses et orange, 1910.jpg do not have accurate links and may need to be linked manually. -Zolo (talk) 11:10, 31 July 2020 (UTC)

Tabular data

Is there a bot that currently works in the data namespace, or a any place where I could find any guidance about crating one ? It seems like a massively underutilized namespace, and I may need to move some data from frwiki to there. --Zolo (talk) 13:09, 8 August 2020 (UTC)

Fix some file descriptions

Recently, I did an AWB run of about 1000 edits, but I figured a bot would be more suitable for this task. There are quite a few file descriptions that contain nothing but &nbsp;, which is actually displayed by the {{Information}} template, thus preventing {{Description missing}} from being shown, and, consequently, Category:Media lacking a description from being added. This should be fixed by clearing the description field (example) from all files with that "description". Thanks! 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 11:06, 28 October 2020 (UTC)

Hi, I can add this to my bot which screens all new uploads. Is there a search command that can return the already existing files? --Schlurcher (talk) 13:00, 28 October 2020 (UTC)
@Schlurcher: Thanks! Special:Search/insource:"description=nbsp" (restricted to file namespace) should list all those that have it as the HTML mnemocode (not sure if the nbsp is still displayed when entered directly), although it returns some false positives that contain some more text after the space (I had encountered two of them in my AWB batch). 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 13:07, 28 October 2020 (UTC)
@1234qwer1234qwer4: Kindly mention your username in your signature to effectively enable pinging and mentioning.   — Jeff G. please ping or talk to me 19:24, 28 October 2020 (UTC)
Thanks. This is now implemented. The ~5000 identified by the search are now screened. My bot per default does only change file namespace and instances where text if after the space will be ignored. Moving forward the fix will be applied to all new uploads. --Schlurcher (talk) 19:28, 28 October 2020 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Schlurcher (talk) 19:28, 28 October 2020 (UTC)
@Schlurcher: What about cases with multiple nbsps? 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 15:35, 2 November 2020 (UTC)
Not yet, but I have added this to my feature request list. Will implement in the next couple of days. --Schlurcher (talk) 16:57, 2 November 2020 (UTC)

Replace WLM 2019 with 2020

Hi, I have sent a mass message on behalf of WLM global team for WLM 2020 Participant Survey. However, I made mistake by keeping 2019 in the message title. I thought of AWB initially, but a bot would be better for this task. This needs to fixed as we also ran a survey last year with the same title, and participants might get confused. It is a simple find and replace task for all the pages listed at Commons:Wiki Loves Monuments 2020/Uploaders (approx 7000).

The text to find is:
== Thank you for participating in Wiki Loves Monuments 2019! Please help with this survey ==

[[File:LUSITANA WLM 2011 d.svg|120px|Wiki Loves Monuments logo|link=Commons:Wiki Loves Monuments 2020|right]]

and replace is:

== Thank you for participating in Wiki Loves Monuments 2020! Please help with this survey ==

[[File:LUSITANA WLM 2011 d.svg|120px|Wiki Loves Monuments logo|link=Commons:Wiki Loves Monuments 2020|right]]

Example at User_talk:Romaine#Thank_you_for_participating_in_Wiki_Loves_Monuments_2019!_Please_help_with_this_survey. Please match until the end of file syntax - that is only way to differentiate 2019's message from 2020's on talk pages having both. Please let me know if you have any questions, thank you. KCVelaga (talk · mail) 09:02, 23 November 2020 (UTC)

Could this be done with Help:VisualFileChange.js? Sincerely, Hansmuller (talk) 11:06, 26 November 2020 (UTC)
@Hansmuller: Unfortunately, it only detects files on a page/category, which is not the case here. KCVelaga (talk · mail) 14:34, 26 November 2020 (UTC)
It seems there are some talk pages deny bot-editing. Please check the pages manually. (Search "denied" in User:Cewbot/log/20190913/Archive_2) --Kanashimi (talk) 20:07, 27 November 2020 (UTC)
@Kanashimi and Cewbot: Thanks a lot, I will check the pages. KCVelaga (talk · mail) 03:30, 29 November 2020 (UTC)

Adding 15k images to a category

There are over 15K hits for the search term (with quotes) "Photographer Surrey County Council, David Williams". I would like to add them all to Category:Photographs by David Wynn Williams (archaeologist).

Rather than ploughing through them 500 or 1,000 at a time with Cat-a-Lot, can someone do this with a bot, or alternatively recommend a tool that will let me do them in one go, please? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:15, 2 December 2020 (UTC)

I'll run a command line in a bit.
Running, so considering this is ✓ Done -- (talk) 17:50, 2 December 2020 (UTC)
Many thanks, . The category now has 6,460 entries; is the job still running, or was the search returning duplicate hits?
I find another 10K for "Birmingham Museums Trust, Angie Bolton" (again, with quotes); please can those be added to Category:Photographs by Angie Bolton? There may be others to come.
Incidentally in case you hadn't noticed, these are PAS FLOs. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 10:01, 3 December 2020 (UTC)
The task appears to have stopped without finishing and without errors. Re-running as it is picking up more files. This may be related to the WMF bugs that are hampering API searches. Why the WMF don't think these are important is beyond me. The bugs have completely f*cked up tools and bot jobs, proving that Commons is hacker's amateur hour, not the work of a $200 million a year foundation for open knowledge.
I'll take a look at your other request after finishing my coffee. -- (talk) 11:06, 3 December 2020 (UTC)
@: How's that from your PoV now? I currently see 11,274 files in the category for Williams and 9,632 for Bolton - for which thank you again. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:22, 4 December 2020 (UTC)
It appears that the add_text.py module which is part of the Pywikibot package, is not working as documented. In particular the 'exclude' element seems unreliable, so many files now have repeated categories added. Again this might be down to search and category reporting bugs that the WMF has known about for over 2 years (see phab:T255981). Rather than using a command line, I'm writing this into a special housekeeping job which has some belt and braces built in.
It'll be a magnitude slower to run but will sweep up fixing the duplicate cats. Writing it in Agile stages. I wish the WMF genuinely ..., rather than it being a forever beta test playground. It's tiring having even basic stuff become completely unreliable and break for undocumented reasons.
(Update) Williams gives no more matches. "Winchester Museum Service, David Williams" exists and "Surrey County Council, David Williams" exists, but have not been included.
Put these into an long retry loop until the search gives no meaningful returns. Clearly the search function via the API (which should be identical to the on-wiki search) gives fairly unreliable returns, meanwhile getting category listings remains broken per the above Phab ticket. Not good. -- (talk) 13:19, 6 December 2020 (UTC)
Sounds rough, on both a technical and personal level. I hope things are soon looking brighter for you. Meanwhile, please could I trouble you to add >13K results for "Photographer York Museums Trust, Rebecca Griffiths" to Category:Rebecca Griffiths (archaeologist)? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:41, 6 December 2020 (UTC)
@: And now ~10K for ""Sussex Archaeological Society, Liz Wilson"", to Category:Photographs by Liz Andrews-Wilson, please. (Shall we move this to your talk page?) Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:27, 10 December 2020 (UTC)
As these are not running separately, and new photographs are being added, it would make sense if you could work out a list with text to match and the photos by cat. They then just get added to the array. By all means start a thread on my user page, it's full of DRs right now. If I forget, it's for batchfinds_housekeeping. -- (talk) 14:09, 10 December 2020 (UTC)
@: SchlurcherBot seems to be fixing them anyway. 𝟙𝟤𝟯𝟺𝐪𝑤𝒆𝓇𝟷𝟮𝟥𝟜𝓺𝔴𝕖𝖗𝟰 (𝗍𝗮𝘭𝙠) 15:43, 12 December 2020 (UTC)

Please move 218 files from Category:Stolpersteine in Freiburg‎ --> Category:Stolpersteine in Freiburg im Breisgau

  • Category:Freiburg im Breisgau = Official name
  • Name in Templates etc., for example "Stolpersteine in Stadtkreise in Baden-Württemberg" --> "Freiburg im Breisgau":

Greets Triplec85 (talk) 12:29, 17 December 2020 (UTC)

@Triplec85: ✓ Done.   — Jeff G. please ping or talk to me 18:11, 17 December 2020 (UTC)
@Jeff G.: Triplec85 (talk) 06:47, 18 December 2020 (UTC)
@Triplec85: You're welcome. Look into using Cat-a-lot yourself.   — Jeff G. please ping or talk to me 14:49, 18 December 2020 (UTC)

Add category to scans of the San Antonio Express

Thanks to an import from the Abilene Library Consortium, we have over 80,000 scans of pages of the San Antonio Express newspaper (see search results). A bot should at least add the Category:San Antonio Express so that we have them all in one place. Further ordering into years, issues etc. would be necessary, but this would at least be a first step, so we can link from the Wikipedia article etc. -- Discostu (talk) 13:25, 23 March 2021 (UTC)

@Discostu:  Doing…   — Jeff G. please ping or talk to me 16:42, 23 March 2021 (UTC)
@Discostu: ✓ Done, sorry for the delay (RL and unexplained limitations of API, software, and hardware).   — Jeff G. please ping or talk to me 04:58, 25 March 2021 (UTC)
Thank you very much! ––Discostu (talk) 07:29, 25 March 2021 (UTC)
@Discostu: You're welcome, but please read COM:OVERCAT.   — Jeff G. please ping or talk to me 12:59, 25 March 2021 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Discostu (talk) 08:12, 25 March 2021 (UTC)

Replace outdated file in infoboxes

File:Wappen der Gemeinde Tostedt.jpg by File:Wappen der Gemeinde Tostedt.svg. Thanks. --23PowerZ (talk) 14:31, 27 March 2021 (UTC)

@23PowerZ: ✓ Done in this edit.   — Jeff G. please ping or talk to me 14:47, 27 March 2021 (UTC)
Oh, yes. I guess I'm too old school to get used to Wikidata. Cheers. --23PowerZ (talk) 01:55, 28 March 2021 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. 23PowerZ (talk) 01:55, 28 March 2021 (UTC)

The Dublin Progress and Telephone

Another imported newspaper. Please add all 2,500 scans of The Dublin Progress and Telephone into Category:The Dublin Progress and Telephone. Thanks! - Discostu (talk) 07:47, 30 March 2021 (UTC)

@Discostu: ✓ Done with COM:VFC.   — Jeff G. please ping or talk to me 16:55, 30 March 2021 (UTC)
Thank you. -- Discostu (talk) 07:32, 31 March 2021 (UTC)
@Discostu: You're welcome.   — Jeff G. please ping or talk to me 04:03, 7 April 2021 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Discostu (talk) 07:32, 31 March 2021 (UTC)

Adding Flickr stream category

To files, where author is "https://www.flickr.com/people/22539273@N00" please add category Files from Guilhem Vellut Flickr stream. There can be 30 943 files by this author, so it's hard to do it with Tools by hand. Matlin (talk) 20:12, 6 April 2021 (UTC)

✓ Done @Matlin: I think I found them all. I you stumble upon more, let me know on mhy talk page. Not all have the user id from Flickr, some have just the photo url. Cheers! --Hedwig in Washington (mail?) 18:09, 11 April 2021 (UTC)
This section was archived on a request by: Hedwig in Washington (mail?) 18:09, 11 April 2021 (UTC)

El Paso Daily Times

Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. TheSandDoctor (talk) 01:10, 3 May 2021 (UTC)

Please add images from the El Paso Daily Times (18,300) to Category:El Paso Daily Times. Too much for Visual File Change -- Discostu (talk) 13:23, 7 April 2021 (UTC)

Coding. --TheSandDoctor (talk) 16:34, 7 April 2021 (UTC)
@Discostu: Filed Commons:Bots/Requests/TheSandBot 3. --TheSandDoctor (talk) 17:56, 7 April 2021 (UTC)
@TheSandDoctor: Approved since Monday. I don't want to be impatient, but will you find the time to run the but soon? -- Discostu (talk) 09:47, 16 April 2021 (UTC)
@Discostu: Yes, I just had some technical difficulties that have now been resolved. I have started a larger run now and plan to run through it this weekend. My back of the napkin math says it will take at least 24 5 hours to go through them all, if not more. Something tells me that this will take a bit haha. --TheSandDoctor (talk) 04:29, 17 April 2021 (UTC)
@Discostu: Should be done very shortly now. Apologies for the delay. I will mark this section completed when the search is empty. --TheSandDoctor (talk) 00:01, 3 May 2021 (UTC)
@Discostu: I have now run through everything, but it appears that it is going to take commons some time to catch up caching wise. --TheSandDoctor (talk) 00:14, 3 May 2021 (UTC)
@Discostu: ✓ Done . Please let me know if you have any others that need doing. --TheSandDoctor (talk) 01:10, 3 May 2021 (UTC)

Wiki Loves Africa

I would need a bot to add a collection of templates and categories to files.

The files are all images uploaded by User:Max MBAKOP on April 27th 2021.
The elements to add to all those images are :

{{Wiki Loves Africa 2021 country|CM}} {{Wiki Loves Africa 2021}} [[Category:Laquintinie hospital]] [[Category:Health workers in Cameroon]]

Can someone help ? Thanks

12:31, 29 April 2021 (UTC) — Preceding unsigned comment added by Anthere (talk • contribs)

I can @Anthere: but 27th April or 28th April? Thanks. --Vanbasten 23 (talk) 18:03, 1 May 2021 (UTC)
@Vanbasten 23: Uploads were in the range 22:54 to 23:58 on 27 April 2021 (UTC), the only uploads in April.   — Jeff G. please ping or talk to me 19:42, 1 May 2021 (UTC)
@Jeff G.: yes i see, thanks, but all of them have the categories, then it´s done, no? --Vanbasten 23 (talk) 19:45, 1 May 2021 (UTC)
@Vanbasten 23: It seems Serieminou has been busy.   — Jeff G. please ping or talk to me 19:48, 1 May 2021 (UTC)
Yes Serieminou did it... I think the diff between the 27th and the 28th was timezone... Anthere (talk) 22:14, 2 May 2021 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. EpicPupper (talk) 01:42, 17 May 2021 (UTC)

Problem with category

In Category:Images provided by Fundación Joaquín Díaz there are audios and photographs, but I need only photographs because when they were categorised it was done wrong. Thank you. --Rodelar (talk) 19:13, 1 May 2021 (UTC)

@Rodelar: I changed the template, i think it´s enough. --Vanbasten 23 (talk) 20:41, 1 May 2021 (UTC)
@Vanbasten 23 and Rodelar: Thanks, it will take some time for all 25819 transclusions of {{By courtesy of}} to be processed in the background.   — Jeff G. please ping or talk to me 20:48, 1 May 2021 (UTC)
@Vanbasten 23 and Rodelar: I got it down to 2763 images with null-edits.   — Jeff G. please ping or talk to me 01:17, 2 May 2021 (UTC)
@Vanbasten 23 and Jeff G.: Great, thanks. --Rodelar (talk) 11:15, 2 May 2021 (UTC)
@Rodelar: You're welcome.   — Jeff G. please ping or talk to me 11:43, 2 May 2021 (UTC)
@Rodelar: Is this resolved? --TheSandDoctor (talk) 01:11, 3 May 2021 (UTC)
Marking this as resolved for now.
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. EpicPupper (talk) 01:08, 17 May 2021 (UTC)

Please add all 54,685 files of this search to Category:The Galveston Daily News -- Discostu (talk) 14:28, 3 May 2021 (UTC)

doing... --Kanashimi (talk) 06:24, 4 May 2021 (UTC)
✓ Done I can only find 54,002 files. --Kanashimi (talk) 01:08, 8 May 2021 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. EpicPupper (talk) 21:49, 16 May 2021 (UTC)

Correction of author for photography competition

The photographs of this photography competition should have the photographer as author= but have the library instead. Author information is provided in description field ("By $name"). Would it be possible that a bot takes the author from the description and overwrites the author information with it? -- Discostu (talk) 14:01, 5 May 2021 (UTC)

@Discostu: Is this the intended result?Jonteemil (talk) 21:51, 6 May 2021 (UTC)
@Jonteemil: Yes, thank you --Discostu (talk) 06:23, 7 May 2021 (UTC)
@Discostu: ✓ Done, with VisualFileChange.Jonteemil (talk) 21:14, 8 May 2021 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. EpicPupper (talk) 21:51, 16 May 2021 (UTC)

Please add pictures from this search (appr. 30.000 files) to Category:Abilene Daily Reporter -- Discostu (talk) 11:26, 10 May 2021 (UTC)

There is Category:Abilene Daily Reporter (Abilene, Tex.), Vol. 11. Do you plan to create all Category:Abilene Daily Reporter (Abilene, Tex.), Vol. xx? --Kanashimi (talk) 01:12, 11 May 2021 (UTC)
This category was not created by me. I don't plan to do anything further with this, I just thought that this is a starting point. But of course, if it doesn't make this task much more complicated, the bot could add the files to volume sub-categories instead. -- Discostu (talk) 07:14, 11 May 2021 (UTC)
doing... --Kanashimi (talk) 03:43, 12 May 2021 (UTC)

In Category:Files with no machine-readable license there are thousands of false positive redirects. Each just needs a nulledit to get out of the category. Could a bot can do this work? --JuTa 20:17, 14 June 2021 (UTC)

When I try to generate the list with both VFC and JWB the current filenames are used, but you have to nulledit the actual redirect pages for it to work. Sorry but I don't know how to generate the list.Jonteemil (talk) 23:52, 15 June 2021 (UTC)
Nevermind, I did come up with a way.Jonteemil (talk) 00:21, 16 June 2021 (UTC)
@JuTa: I've now added all pages to User:Jonteemil/sandbox2. Would you please add User:JonteemilBot to Commons:AutoWikiBrowser/CheckPage#Bots and then I should be able to nulledit all the pages?Jonteemil (talk) 22:47, 17 June 2021 (UTC)
@Jonteemil: ✓ Done and thx. --JuTa 22:51, 17 June 2021 (UTC)
@Jonteemil: (ec) What way did you come up with? I started processing them for you with AWB in bot mode and should be done in roughly 72 minutes.   — Jeff G. please ping or talk to me 22:59, 17 June 2021 (UTC)
@Jeff G.: How to generate the list, since opening the files in for example VFC only renders the current filenames, not the redirects. But perfect that you could do it. I discovered I needed the bot flag to access the bot mode anyway :).Jonteemil (talk) 23:04, 17 June 2021 (UTC)
@Jonteemil: Sorry, I was not specific enough. What way did you come up with to generate the list?   — Jeff G. please ping or talk to me 23:11, 17 June 2021 (UTC)
@Jeff G.: Probably not the most orthodox way hehe. Using Cat-a-lot I selected all files and removed Category:Files with no machine-readable license. Since the category isn't added with wikitext Cat-a-lot skips all files and generates a list with all the skipped files. However since you can only show 200 files at a time on category pages it had to be repeated about 20 times-ish. Maybe there is a better way. I asked at meta if you could override the value of 200 but one user said you couldn't.Jonteemil (talk) 10:08, 18 June 2021 (UTC)
@Jonteemil: I see, so that selects all 200 filenames you can see, but how does it filter to only redirects, or differ from using AWB or JWB on the whole contents of the cat?   — Jeff G. please ping or talk to me 11:59, 18 June 2021 (UTC)
@Jeff G.: It doesn't.Jonteemil (talk) 14:39, 18 June 2021 (UTC)
@JuTa and Jonteemil: ✓ Done, 1883 filenames from User:Jonteemil/sandbox2 were processed.   — Jeff G. please ping or talk to me 03:34, 18 June 2021 (UTC)
Thx a lot. But there are still a lot of redirects. I guess this should be a regular task done every few days or similar. --JuTa 04:16, 18 June 2021 (UTC)
@JuTa: this can be done with a one-liner in pywikibot framework: python3 pwb.py touch.py -cat:"Category:Files with no machine-readable license". This removed a couple of hundreds. There is a switch to follow redirects, so without this it should not and act as wanted. Could you please check again? I'm open to make this a regular task, but then we need to discuss the frequency. --Schlurcher (talk) 12:54, 18 June 2021 (UTC)
Would daily runs be so bad? I mean there are already a few redirects since Schlurchers bot run. If you can choose to nulledit only the redirects then I would vote for a daily run.Jonteemil (talk) 15:01, 18 June 2021 (UTC)
Daily sounds fine to me too. --JuTa 15:21, 18 June 2021 (UTC)
Daily is fine for me, unless SchlurcherBot runs more frequently. This appears to fit into the "general file description changes" discussed at Commons:Bots/Requests/SchlurcherBot3.   — Jeff G. please ping or talk to me 14:17, 19 June 2021 (UTC)
Purging files seems to be a rather expensive function, as my bot got once blocked as a sysadmin action for excessive purging. The situation is still unresolved (details here https://phabricator.wikimedia.org/T280232), only exception is that I'm operating at reduced speed since then. I can limit the purging to redirects, which will help. Repeating this just now 220 page redirects were purged and the task took less than 5 minutes. I'm opening a new request for this, also for bookkeeping: Commons:Bots/Requests/SchlurcherBot10--Schlurcher (talk) 19:15, 19 June 2021 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Schlurcher (talk) 15:27, 25 June 2021 (UTC)

Editing metadata on Images from Auckland Museum

Hello,

I work at Auckland Museum (see WP:GLAM/AM), and we're looking at the images uploaded to the Images from Auckland Museum category.

We'd like to initially do two things with the metadata in Source under the images:

  1. Replace the text "Object record" with the text "API data". I didn't think the Visual File Change tool was right for this given the number of images.
  2. Add a new link in this same Source section that points to the collection record on the website. API URLs are in this format: http://api.aucklandmuseum.com/id/{dept}/object/{id}, so can be used as a base to create website links, which are in the format https://www.aucklandmuseum.com/collection/object/am_{dept}-object-{id}. I made Q97580921 (based on Q106413625 that the Rijksmuseum made, which I thought would help me use this SPARQL endpoint to extract data, but I'm a bit stuck.

Any help would be appreciated. Thank you. — Hugh (talk) 04:52, 7 April 2021 (UTC)

Hi @HughLilly: , would it be possible to do one manually and link it here so that I can better understand point #2 (ie have a before and after to compare)? Thanks! --TheSandDoctor (talk) 05:04, 17 April 2021 (UTC)
@TheSandDoctor: , thanks very much for your reply. I've edited File:"A.W.Hay_Proprietor_Oamaru"_truck_(AM_80135-1).jpg to change the text to "API data" and add a new link to the catalogue record. This table lays out how API and website URLs are constructed, and how API URLs can be used to construct website URLs; I hope it makes sense and that what we want to achieve is clear; please let me know if you have any more questions.
API URL schema Record URL schema
http://api.aucklandmuseum.com/id/ https://www.aucklandmuseum.com/collection/object/
humanhistory/object/{ID} am_humanhistory-object-{ID}
naturalsciences/object/{ID} am_naturalsciences-object-{ID}
library/photography/{ID} am_library-photography-{ID}
library/manuscriptsandarchives/{ID} am_library-manuscriptsandarchives-{ID}
library/paintinganddrawings/{ID} am_library-paintinganddrawings-{ID}
library/catalogq40/{ID} am_library-catalogq40-{ID}
library/ephemera/{ID} am_library-ephemera-{ID}
Thank you. — Hugh (talk) 22:40, 19 April 2021 (UTC)
@HughLilly: Thank you. Just to confirm: all of the images have an API url and the ID portion is always a numerical value, correct? If so, I'll start crafting something for this. --TheSandDoctor (talk) 01:18, 3 May 2021 (UTC)
@TheSandDoctor: Hi -- thanks for your reply. Most of the images have an API url -- they were uploaded as part of Commons:Batch uploading/AucklandMuseumCCBY. There may be some that were uploaded outside the scope of that project that do not have an API url. The ID is always numerical. Please let me know if you need more info. — Hugh (talk) 20:52, 3 May 2021 (UTC)
@HughLilly: I did File:"A.W.Hay Proprietor Oamaru" truck (AM 80135-2).jpg as a proof of concept per the above directions (but with "collections" in the url singular as plural doesn't exist) as an example. However, I notice that the catalogue record links to the wrong picture? This is not the picture previously wiki linked above. I made a mistake, so ignore that. How does it look overall though? Is that what you mean? --TheSandDoctor (talk) 02:15, 4 May 2021 (UTC)
@TheSandDoctor: Yes, great! That's perfect. I see you've made a template with parameters, is that right? That looks like it will be very useful in future if we update our canonical URLs. Sorry for the "collections" typo earlier -- you are right that it ought to be collection. Please proceed with the update. — Hugh (talk) 03:26, 4 May 2021 (UTC)
@HughLilly: Yes, I did as I figured future proofing may be appropriate. Now I shall write the script to do it enmasse & request it as a bot task . --TheSandDoctor (talk) 03:45, 4 May 2021 (UTC)
@TheSandDoctor: Thanks. Is there somewhere I can go to read about how such scripts are written? I'm keen to learn how it all works. — Hugh (talk) 22:12, 4 May 2021 (UTC)
Request filed. @HughLilly: I use Pywikibot (click there to see the manual). You can see the actual script here. Please let me know if you have any questions! --TheSandDoctor (talk) 01:26, 11 May 2021 (UTC)
@HughLilly: It has now been approved and is running. At current edit rate, estimated time to completion is around 13-14 days. It is running 24/7 until done. --TheSandDoctor (talk) 02:36, 21 May 2021 (UTC)
@HughLilly: Appears ✓ Done --TheSandDoctor (talk) 19:33, 15 June 2021 (UTC)
@TheSandDoctor: Thanks very much. — Hugh (talk) 23:44, 15 June 2021 (UTC)
This section was archived on a request by: – BMacZero (🗩) 16:11, 27 June 2021 (UTC)

thebestphotos.ru

We have quite a lot of images with VRT tickets 2010111910000031 and 2012040810007271 (tickets merged, so both are correct). We need to replace their license tags and OTRS tickets with Template:TheBestPhotos.ru. And we also need some sort of a report with files exceeding 300px by any of the sides as it is prohibited by the copyright owner. These files will be processed later. I could have done it with VFC but not sure I want to flood the recent changes feed so much. rubin16 (talk) 12:43, 27 June 2021 (UTC)

@rubin16: replacement of their license tags and OTRS tickets ✓ Done.   — Jeff G. please ping or talk to me 15:51, 27 June 2021 (UTC)
@rubin16: All the files are in Category:TheBestPhotos.ru. I have 49 oversized files for your analysis in Category:Jefftemp that violate the authorized 300 × 300 pixel box. Many of those are overwrites and can be cured by hiding the top version, some have legal versions without the "1" or "(1)" suffix, and many were uploaded by Den1980-.   — Jeff G. please ping or talk to me 20:48, 27 June 2021 (UTC)
Thank you, I will have a look tomorrow rubin16 (talk) 21:06, 27 June 2021 (UTC)
@rubin16: You're welcome.   — Jeff G. please ping or talk to me 21:48, 27 June 2021 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. 廣九直通車 (talk) 05:01, 6 July 2021 (UTC)

Mass renaming (133)

Please rename those files currently named as "2021 — Erste Julireise Mateus2019 Batch 1 (n).jpg" towards "2021 — Dritte Julireise Mateus2019 Batch (n).jpg" not leaving redirects. I have chosen the wrong container so all names are connected with the wrong file text. It was not even sunrise this morning, Sorry. --Mateus2019 (talk) 14:51, 3 August 2021 (UTC)

Moin Mattes, dann soll wohl die Drittte Juli-Reise auch gleich repariert werden? Gruß, Achim (talk) 17:48, 13 August 2021 (UTC)
Ich finde 49 Dateien. Du hast die anderen doch wohl nicht ein zweites Mal hochgeladen? --Achim (talk) 18:22, 13 August 2021 (UTC)
Moin Moin! Da ist etwas durcheinander gekommen. 1000 Bilder in zwei Wochen verarbeiten, das war einfach etwas zu viel Bauchaufschwung. Kleine Fehler bei Massenuploads können grosse Wirkung haben und in der Folge weitere verursachen :-/
Punkt 1 ("2021 — Erste Julireise Mateus2019 Batch 1 (n).jpg") Die Dateien kann man so auffinden. Warum es hiernach nur 50 sind, ist mir schleierhaft. Korrektur, allein von der Zählung durch Vicuna sind es 135. "n" steht natürlich für Nummer. Wichtig ist, dass die "1" hinter Batch beibehalten wird (es gibt noch eine Batch-Serie mit "File:2021 — Erste Julireise Mateus2019 (n)"!). Ja, einige Dateien habe ich später doppelt hochgeladen (etwa ein halbes Dutzend).
Punkt 2 ("Drittte Julireise"). Diese Dateien könnte man natürlich auch umbenennen (ein "t" weniger), ist aber nicht so wichtig.
Lessons Learned: Alles in Frage kommende Rohmaterial in potentielle Batch-Ordner (nach Themen) kopieren. Dann dort selektieren, Dateien nach Thema umbennen und vor Upload-Aktionen überprüfen, ob der jeweilige Datei-Algorithmus zum Ordnerhinhalt passt ... Dann erst hochladen lassen. VG, --Mateus2019 (talk) 02:29, 14 August 2021 (UTC)
Mattes, dein Vicuña-Log zeigt aber auch nicht mehr Dateien. Wichtig ist, dass die "1" hinter Batch beibehalten wird In deinem obigen Beispiel "2021 — Dritte Julireise Mateus2019 Batch (n).jpg" steht aber keine 1, also wäre /to so nicht richtig? Achim (talk) 07:48, 14 August 2021 (UTC)
Hallo Achim55 ---Nee, mein Umbenennungsantrag bezieht sich nur auf "2021 — Erste Julireise Mateus2019 Batch 1 (n).jpg" towards "2021 — Dritte Julireise Mateus2019 Batch (n).jpg" (nicht auf andere Batches). Schöne Grüße, --Mateus2019 (talk) 07:55, 14 August 2021 (UTC)
49 files ✓ renamed. Achim (talk) 09:20, 14 August 2021 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Achim (talk) 09:20, 14 August 2021 (UTC)

Inquiry about selective mass deletion

A mass deletion is on discussion here, and we'd like to know what are our current technical possibilities to implement it in case of approval.

  1. Is it possible for a bot to delete all files from user X that are not in Category:Photographs by X (and its subcategories)?
  2. After the selective deletion, can a bot remove the {{Delete}} template from the remaining photos by that user?

To give you some numbers, there are ~2200 files in total, and ~310 of these will probably be kept. Thanks! —capmo (talk) 15:57, 4 September 2021 (UTC)

It looks like that even VFC can do that rubin16 (talk) 16:05, 4 September 2021 (UTC)
Hi Rubin, I think I know how to accomplish #2 using AutoWikiBrowser (I'm requesting the right to use it here). I may be wrong, but AWB seems to be more feature-rich than VFC. I suppose that #1 can only be performed by admins. —capmo (talk) 22:27, 4 September 2021 (UTC)
Now that I have AWB rights, I was able to implement request #2 and also update the list of files for deletion, eliminating the need to check categories before deleting the files in the list. Regards, —capmo (talk) 03:35, 28 September 2021 (UTC)
This section was archived on a request by: —capmo (talk) 12:37, 28 September 2021 (UTC)

Hello!

Special:Search/hastemplate:license-header should probably be subst:ed, right?Jonteemil (talk) 23:09, 19 October 2021 (UTC)

@Jonteemil:  Doing… Yes, I am looking into having JeffGBot replace 25,779 transclusions of it.   — Jeff G. please ping or talk to me 23:37, 19 October 2021 (UTC)
@Jonteemil: ✓ Done.   — Jeff G. please ping or talk to me 03:25, 20 October 2021 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Jonteemil (talk) 10:59, 20 October 2021 (UTC)

Change of license to public domain

Can someone kindly help me with all my image uploads ( https://commons.wikimedia.org/wiki/Special:ListFiles/Forestowlet ) to be made available in the public domain (self declared public domain as opposed to upon expiry of right)? — Preceding unsigned comment added by Forestowlet (talk • contribs) 13:27, 22 October 2021‎ (UTC)

@Forestowlet: That would mean {{cc-0}} Shyamal L. (talk) 04:29, 23 October 2021 (UTC)
@Forestowlet and Shyamal: ✓ Done with VFC, you could have done that yourselves. See also COM:SIGN.   — Jeff G. please ping or talk to me 08:24, 23 October 2021 (UTC)
Thanks a lot Jeff. Appreciate the help. Forestowlet (talk) 03:47, 26 October 2021 (UTC)
@Forestowlet: You're welcome.   — Jeff G. please ping or talk to me 05:58, 26 October 2021 (UTC)
This section was archived on a request by:   — Jeff G. please ping or talk to me 05:58, 26 October 2021 (UTC)

Series of null edits

Please perform a null edit on each subcategory page in Category:United States Navy modex numbers. This is needed to implement changes to the automatic categorisation by {{Modex}}. De728631 (talk) 13:02, 12 November 2021 (UTC)

@De728631:  Doing…   — Jeff G. please ping or talk to me 13:21, 12 November 2021 (UTC)
@De728631: ✓ Done, the cat is now empty.   — Jeff G. please ping or talk to me 14:09, 12 November 2021 (UTC)
Excellent. Thank you Jeff. De728631 (talk) 22:11, 12 November 2021 (UTC)
@De728631: You're welcome!   — Jeff G. please ping or talk to me 22:18, 12 November 2021 (UTC)
This section was archived on a request by:   — Jeff G. please ping or talk to me 22:20, 12 November 2021 (UTC)

Activist linking in file descriptions

Hello here. I've come across several hundreds of files that contain external links in the description field that have no descriptive function. They rather seem to want to draw attention to a number of web pages that oppose Dutch corona policies. Here is a query that leads to the links in question. Is it possible to run a bot to clear the description fields from these activist linkings? Best regards, Apdency (talk) 14:56, 4 December 2021 (UTC)

Solved with batch task. Ciell (talk) 19:41, 5 December 2021 (UTC)
Thanks a lot! Apdency (talk) 20:28, 5 December 2021 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Ciell (talk) 19:41, 5 December 2021 (UTC)

Extracting EXIF data

Could anyone extract EXIF data of the files in the Photographs by Jiří Bubeníček category to the "Date = " field? — Draceane talkcontrib. 16:44, 28 July 2021 (UTC)

Dearchived. — Draceane talkcontrib. 15:55, 3 September 2021 (UTC)
@Draceane: I can do this. But the problem is, the date in EXIF metadata is not always the accurate date of producing the work. It could be the date the image was modified, or it could be totally random date (date from the camera of unclear accuracy). Is there evidence here that the dates are indeed the dates when the images where originally taken? – Ammarpad (talk) 15:33, 6 September 2021 (UTC)
@Ammarpad: Hi, it would be perfect. I am cautious about the EXIF metadata problem, but I have overviewed the photos in the category and it seems that all files have correct metadata. — Draceane talkcontrib. 20:25, 6 September 2021 (UTC)
OK, good. – Ammarpad (talk) 15:50, 11 September 2021 (UTC)
@Ammarpad: Hi, how is it going? — Draceane talkcontrib. 20:36, 28 September 2021 (UTC)
Hi @Draceane: . I still have plan to do this, but I am doing so many things right now (for wiki and elsewhere). If someone picks it up that's fine, otherwise I will find time to do it. Thanks. – Ammarpad (talk) 22:08, 2 October 2021 (UTC)
Unarchived — Draceane talkcontrib. 17:17, 12 November 2021 (UTC)
@Draceane: I wrote the code and requested approval at Commons:Bots/Requests/BMacZeroBot 7. – BMacZero (🗩) 00:48, 11 December 2021 (UTC)
✓ DoneBMacZero (🗩) 02:52, 21 December 2021 (UTC)
This section was archived on a request by: – BMacZero (🗩) 02:52, 21 December 2021 (UTC)

Source Archival needed

Referring to COM:VP#The Stand News, approximately 3700 files in Images from Stand News risk losing source due to recent police actions in Hong Kong. As the affected files are quite large, I propose that a bot task should be created to properly archive the sources given in these affected files.廣九直通車 (talk) 11:07, 29 December 2021 (UTC)

And as a side note, I think the proposed bot task is technically the same as source archiving bots operating on Wikipedia. The key point is that we're racing with time: the Facebook page of Stand News may be shut down at no time.廣九直通車 (talk) 11:07, 29 December 2021 (UTC)
  • They say Facebook will close down on 29 December 11 pm (Hong Kong time)...
@廣九直通車: It looks like the opportunity to do this was missed. Should we close this task? – BMacZero (🗩) 01:11, 24 January 2022 (UTC)
@BMacZero: , sure, please feel free to do so. For some reason there are little users attended to the notice...廣九直通車 (talk) 12:37, 24 January 2022 (UTC)
This section was archived on a request by: – BMacZero (🗩) 15:43, 24 January 2022 (UTC)

Help Adding categories for Historical markers in Florida and in North Carolina

I recently created Wikidata items for the current known list of historic markers which are part of U.S. State Marker Programs. Create a new category along with the Wikidata Infobox associated with the category to represent the one or more images of the marker ie front, back, wide view, etc is tedious work. Would someone familiar with how to generate categories help creating a category structure for these markers based on the Wikidata items? I haven't had success running AWB on my system and I'm not yet familiar with Cat-a-lot or which tool would be more straight forward for generating the categories of this sort. If there is a guide for this I'll look it over too. The marker names are not unique, but the marker name and the marker number or just the marker number would make unique category names per marker.

1. Florida's markers - Has images of markers, but I'm unsure the coverage of the marker IDs. See Category:Historical markers in Florida with subcategories by county. Property P6567 Has county level locations.

2. North Carolina - Has images of markers, but I'm unsure the coverage of the marker IDs. See Category:Historical markers in North Carolina with no existing subcategories. Property P9492 County level location is not yet available on Wikidata.

Few markers as of yet for either have coordinates. Wolfgang8741 (talk) 22:55, 2 April 2022 (UTC)

Figured out how to to this.
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Wolfgang8741 (talk) 16:27, 4 April 2022 (UTC)

Can someone with a bot add {{LicenseReview}} to the files listed here. The LR template should be placed under whatever license there is. --Minorax«¦talk¦» 11:11, 27 May 2022 (UTC)

@Minorax: ✓ Done.   — Jeff G. please ping or talk to me 11:21, 27 May 2022 (UTC)
@Jeff G.: Thanks! --Minorax«¦talk¦» 11:43, 27 May 2022 (UTC)
Sorry but would you mind rollbacking yourself on these files since LR is not needed. --Minorax«¦talk¦» 11:45, 27 May 2022 (UTC)
@Minorax: ✓ Done, again with VFC.   — Jeff G. please ping or talk to me 11:58, 27 May 2022 (UTC)
@Jeff G.: Thanks! --Minorax«¦talk¦» 12:39, 27 May 2022 (UTC)
@Minorax: You're welcome!   — Jeff G. please ping or talk to me 23:21, 27 May 2022 (UTC)
This section was archived on a request by: --Minorax«¦talk¦» 12:39, 27 May 2022 (UTC)

Photographs by calendar day (set of 366 categories to be created)

I would like, please, a bot to create all the missing categories in the range Category:Photographs taken on 1 January ... Category:Photographs taken on 31 December (including 29 February) of which I have just created a few manually. These examples may be found in Category:Photographs by calendar day. As can be seen, the content of each category page, in its entirety, should be {{Photographs taken on MM-DD navbox|MM|DD}}, where MM is a two-digit month, and DD a two-digit day.

For single digit dates, a redirect from the two-digit form should be created (for example, Category:Photographs taken on 01 January). Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:47, 31 May 2022 (UTC)

@Pigsonthewing: I will look into that. Askeuhd (talk) 10:58, 1 June 2022 (UTC)
@Pigsonthewing: I made this prototype Photographs taken on 1 March (including redirected Photographs taken on 01 March) - it does seem however that for the {{Photographs taken on MM-DD navbox|MM|DD}} input DD should be single-digit when possible as there is no parent category named 01 March but there is a category named 1 March. In your example Photographs taken on 1 January the parent-category 01 January is a redirect to 1 January. Do you want me to proceed with single-digit days for the {{Photographs taken on MM-DD navbox}} template, or do you have something else in mind? Askeuhd (talk) 11:41, 1 June 2022 (UTC)
@Askeuhd: Thank you. I believe the template input should be two-digit, in common with similar templates, and with ISO dates. See its talk page, where Ive asked about a technical resolution. In any case, redirects are sensible, to prevent the use or creation of duplicate categories. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:59, 1 June 2022 (UTC)
@Pigsonthewing: Would you kindly specify the talk page you are referring to? The talk page for {{Photographs taken on MM-DD navbox}} does not exist. I will continue with the two-digit input as you request, but it will not work well for single-digit days until the template is corrected. I assume you want me to create the "DD Month" categories with redirects to the appropriate "D Month" category as well? I.e. 02 March (new) redirects to 2 March Askeuhd (talk) 13:50, 1 June 2022 (UTC)
@Askeuhd: Apologies; it's at Template talk:Photographs taken on navbox (it's the same issue for both templates). And yes, please, to the redirects. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 16:36, 1 June 2022 (UTC)
@Pigsonthewing: It's running now, should be done in a few hours. Askeuhd (talk) 18:46, 1 June 2022 (UTC)
✓ Done. Askeuhd (talk) 22:42, 1 June 2022 (UTC)
@Askeuhd, Pigsonthewing: It's a little late, but I did modify the {{Photographs taken on MM-DD navbox}} so that no parameters are needed -- it will automatically grab the date from the category name. Ahecht (TALK
PAGE
) 22:56, 1 June 2022 (UTC)
@Askeuhd and Ahecht: That's really great, thank you, both. Unfortunately, something has caused Category:Photographs by calendar day to sort alphabetically, by month name, rather than using the MM-DD key that I intended. Can that be fixed, please? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 23:25, 1 June 2022 (UTC)
@Pigsonthewing: That was intentional -- I assume that having them grouped by month letter is going to be more intuitive than having everything under "0" (for January–September) or "1" (for October–December). I was also able to throw in a Table of Contents to let you jump to each month by name. I can switch it back if you have a strong preference. Ahecht (TALK
PAGE
) 23:34, 1 June 2022 (UTC)
@Askeuhd and Ahecht: I'm afraid do. Starting a calendar-based list with "April" is, I feel, counter-intuitive. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 23:39, 1 June 2022 (UTC)
@Pigsonthewing Okay, I'll switch it over. May take some time for the pages to all refresh. Ahecht (TALK
PAGE
) 23:49, 1 June 2022 (UTC)
@Askeuhd and Ahecht: Again, many thanks. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 08:41, 2 June 2022 (UTC)
@Ahecht: We have a problem. Category:Photographs taken on 2 January (which I just switched away from the sandbox) has 18K subcategories, for all dates, while all the others are empty. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 09:00, 2 June 2022 (UTC)
@Pigsonthewing Oops, looks like I accidentally copied the debug version I was testing with into the live script. It's fixed now, but it may take a bit for all the categories to update. Ahecht (TALK
PAGE
) 14:26, 2 June 2022 (UTC)
@Ahecht: Yes, everything seems to coming right again, now. Thank you. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:15, 2 June 2022 (UTC)
This section was archived on a request by: Everything looks as it should now. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:50, 3 June 2022 (UTC)

Correct coordinates from images in Category:Images from Wiki Loves Earth in Brazil

Could somebody replace the texts below to correct coordinates of about 2862 files in Wiki Loves Earth in Brazil. See this geogroup for all (takes a few minutes to process) or for example this geogroup for 2017. The incorrect coordinates are near Madagascar and should be in Brazil.

Text to replace To replace by Number Category Example file
{{Location|-2.394722|60.920556}} {{Location|-2.394722|-60.920556}} 12 c:Category:Parque_Nacional_de_Anavilhanas
{{Location|-2.533333|43.116667}} {{Location|-2.533333|-43.116667}} 108 c:Category:Parque Nacional dos Lençóis Maranhenses
{{Location|-8.416667|42.333333}} {{Location|-8.416667|-42.333333}} 123 c:Category:Serra da Capivara National Park
{{Location|-10.377778|46.675}} {{Location|-10.377778|-46.675}} 76 c:Category:Parque Estadual do Jalapão
{{Location|-14.166667|47}} {{Location|-14.166667|-47}} 343 c:Category:Chapada dos Veadeiros National Park
{{Location|-17.816667|38.816667}} {{Location|-17.816667|-38.816667}} 33 c:Category:Parque Nacional Marinho dos Abrolhos
{{Location|-20.333333|41.75}} {{Location|-20.333333|-41.75}} 152 c:Category:Parque Nacional de Caparaó
{{Location|-20.349444|46.638333}} {{Location|-20.349444|-46.638333}} 211 c:Category:Serra da Canastra National Park
{{Location|-22.493056|43.073333}} {{Location|-22.493056|-43.073333}} 206 c:Category:Serra dos Órgãos National Park
{{Location|-22.333333|44.583333}} {{Location|-22.333333|-44.583333}} 179 c:Category:Itatiaia National Park
{{Location|-22.929722|43.087778}} {{Location|-22.929722|-43.087778}} 31 c:Category:Parque da Cidade de Niterói
{{Location|-22.96055|43.212039}} {{Location|-22.96055|-43.212039}} 53 c:Category:Parque Lage
{{Location|-22.963056|43.244444}} {{Location|-22.963056|-43.244444}} 105 c:Category:Parque Nacional da Tijuca
{{Location|-23.166944|44.280556}} {{Location|-23.166944|-44.280556}} 132 c:Category:Parque Estadual da Ilha Grande
{{Location|-23.038889|44.661667}} {{Location|-23.038889|-44.661667}} 65 c:Category:Parque Nacional da Serra da Bocaina
{{Location|-23.041667|44.661667}} {{Location|-23.041667|-44.661667}} 44 Idem
{{Location|-23.231389|46.935833}} {{Location|-23.231389|-46.935833}} 79 c:Category:Serra do Japi
{{Location|-25.331389|48.155833}} {{Location|-25.331389|-48.155833}} 90 c:Category:Parque Nacional do Superagui
{{Location|-21.265556|56.702778}} {{Location|-21.265556|-56.702778}} 54 c:Category:Parque Nacional da Serra da Bodoquena
{{Location|-25.373333|54.0425}} {{Location|-25.373333|-54.0425}} 383 c:Category:Iguaçu National Park
{{Location|-28.134444|49.479722}} {{Location|-28.134444|-49.479722}} 109 c:Category:São Joaquim National Park
{{Location|-29.133889|49.994444}} {{Location|-29.133889|-49.994444}} 99 c:Category:Serra Geral National Park
{{Location|-29.191667|50.0975}} {{Location|-29.191667|-50.0975}} 117 c:Category:Parque Nacional de Aparados da Serra
{{Location|-31.316667|51.016667}} {{Location|-31.316667|-51.016667}} 58 c:Category:Parque Nacional da Lagoa do Peixe

Thanks. HenkvD (talk) 11:56, 2 May 2022 (UTC)

Let me look into this. The SDC coordinates needs to be corrected as well, so I think this is the most logical approach, and then switch the {{Location}} template to read from SDC in stead. Askeuhd (talk) 13:58, 31 May 2022 (UTC)
OK, that is fine. I can update the SDC coordinates if you want me to, but only after the {{Location}} is either corrected or switched to read from SDC. HenkvD (talk) 15:35, 31 May 2022 (UTC)
@HenkvD - I have begun the corrections now. Should be done in a couple of days. The SDC coordinates are corrected, and then the {{Location}} template is switched to SDC. I hope this is what you were looking for. Askeuhd (talk) 10:32, 1 June 2022 (UTC)
Yes this is OK. For instance your change on File:Serra Branca 0.jpg is working correct. HenkvD (talk) 05:21, 2 June 2022 (UTC)
@HenkvD: ✓ Done. All instances of bad coordinates in files with strings matching "Text to replace" in the listed categories has been corrected. There are still presumably incorrectly placed images in the WikiMaps links you forwarded, but I have to assume that these were not included in the list above. If you have any addendums to the list above, do not hesitate to contact me. Askeuhd (talk) 14:32, 2 June 2022 (UTC)

Thanks so far. Of the 2862 images mentioned there are now indeed still 681 with incorrect coordiinates of the WikiMaps in the links I provided.

Category Number WikiMap Example
Category:Images from Wiki Loves Earth 2017 in Brazil 532 WikiMap 2017 of which 283 with {{Location|-25.373333|54.0425}}
and 57 with {{Location|-20.349444|46.638333}}
Category:Images from Wiki Loves Earth 2018 in Brazil 136 WikiMap 2018 of which 63 with {{Location|-14.166667|47}}
Category:Images from Wiki Loves Earth 2019 in Brazil 13 WikiMap 2019

Could you update these examples as well, or do all coordinates mentioned above for these 2 or 3 categories? I could correct the remainings by hand. HenkvD (talk) 15:07, 2 June 2022 (UTC)

@HenkvD: - no problem, I will correct these as well, maybe not until tomorrow though. Askeuhd (talk) 15:54, 2 June 2022 (UTC)
@HenkvD: - the replacement is in progress now, apologies for the delay. Askeuhd (talk) 08:24, 6 June 2022 (UTC)
@HenkvD: ✓ Done - that should be it. Have a nice day. Askeuhd (talk) 16:18, 6 June 2022 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Thanks all is OK now. HenkvD (talk) 17:24, 6 June 2022 (UTC)

Category SNAFU

Please recategorise everything (~6K images) in Category:Flickr images by Amanda Slater (a duplicate which I just created in error) to Category:Files from Amanda Slater Flickr stream - and accept my apologies. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 14:41, 7 June 2022 (UTC)

@Pigsonthewing ✓ Done. Most of the images in the duplicate category were already in the correct one, so it was just an issue of removing the redirect category from them. Ahecht (TALK
PAGE
) 14:58, 7 June 2022 (UTC)
This section was archived on a request by: Looks good. Thank you. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:04, 7 June 2022 (UTC)

Null edit

Can somebody please do a Null edit on all files on Category:Pages with local camera coordinates and mismatching SDC coordinates. A lot of files remained in this category after SDC coordinates were corrected. Currently the category contains 21.556 files. Thanks. HenkvD (talk) 15:01, 11 July 2022 (UTC)

@HenkvD: ✓ Done: I cut it down to 9,574 files.   — Jeff G. please ping or talk to me 10:00, 12 July 2022 (UTC)
Thanks, it looks good.
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. HenkvD (talk) 14:08, 12 July 2022 (UTC)
HenkvD (talk) 14:08, 12 July 2022 (UTC)

Add a template

This morning I added around 90 images to Category:St Brynach's Church, Nevern and its subcats Category:Nevern High cross‎ and Category:Vitalianus Stone, Nevern‎. Could I please request a bot to add a missing WikiLoves Monuments template: {{Wiki Loves Monuments 2022|gb-wls}}? Many thanks! Llywelyn2000 (talk) 15:30, 7 September 2022 (UTC)

@Llywelyn2000:  Doing…   — Jeff G. please ping or talk to me 18:50, 7 September 2022 (UTC)
@Llywelyn2000: ✓ Done, number of files in Category:Images from Wiki Loves Monuments 2022 in Wales increased from 800 to 964.   — Jeff G. please ping or talk to me 19:28, 7 September 2022 (UTC)
Many thanks! Thanks for your help with this! Llywelyn2000 (talk) 07:34, 8 September 2022 (UTC)
@Llywelyn2000: You're welcome, but you forgot to ping me.   — Jeff G. please ping or talk to me 13:30, 8 September 2022 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Llywelyn2000 (talk) 07:34, 8 September 2022 (UTC)

Add default images to a category

Hello

I would like the following files to be added to Category:French-language image placeholders if not already present (the mother categories Category:Infoboxes or Category:Wikipedia should be removed if present) :

  1. File:C'est_toi_l'image_manquante.png
  2. File:Chanteur_-Défaut.png
  3. File:CH_Carte_manquante.png
  4. File:Defaut-Acteur.png
  5. File:Defaut-Président_de_la_république.png
  6. File:Defaut-Youtuber.png
  7. File:Defaut1.png
  8. File:Defaut2.png
  9. File:Defaut3.png
  10. File:Defaut4.png
  11. File:Defaut6.png
  12. File:Defaut7.png
  13. File:Defaut_aero.png
  14. File:Defaut_chimie.png
  15. File:Defaut_d'image_UNESCO_Immatériel.png
  16. File:Defaut_œuvre.png
  17. File:Défaut-Acteur(s).png
  18. File:Défaut-Chanteur(s).png
  19. File:Défaut-cérémonie(s).png
  20. File:Défaut-Footballeur(s).png
  21. File:Défaut-footballeur.png
  22. File:Défaut-Journaliste(s).png
  23. File:Défaut-mannequin_(s).png
  24. File:Défaut-Personnalité(s).png
  25. File:Défaut-Premier_Ministre.png
  26. File:Défaut-Président_de_la_République(s).png
  27. File:Défaut-youtuber(s).png
  28. File:Défaut-_Homme_Politique(s).png
  29. File:Footballeur-Défaut.png
  30. File:Homme_Politique-Défaut.png
  31. File:Image_manquante.jpg
  32. File:Image_manquante_(personnalité).png
  33. File:Premier_Ministre_-Défaut.png
  34. File:President_de_la_République_-Défaut.png
  35. File:US_say_no.jpg
  36. File:Voitures_manquante.png
  37. File:Youtuber-Défaut.png

And these to Category:French-language SVG image placeholders :

  1. File:?_politic_personality_icon.svg
  2. File:Côte_d'Ivoire_politic_personality_icon.svg
  3. File:Defaut-Public.svg
  4. File:Defaut.svg
  5. File:Defaut_-_Trajan.svg
  6. File:Defaut_2.svg
  7. File:France_politic_personality_icon.svg
  8. File:Image_manquante.svg
  9. File:Image_manquante_2.svg
  10. File:Importez_le_logo-fr.svg
  11. File:Importez_le_logo_de_cette_entreprise.svg
  12. File:Importez_le_logo_individu-fr.svg

Thanks, Şÿℵדαχ₮ɘɼɾ๏ʁ 15:27, 21 September 2022 (UTC)

@SyntaxTerror: ✓ Done, now 65 files in Category:French-language image placeholders and 36 files in Category:French-language SVG image placeholders. Please use at least one Commons link in your signature per COM:SIGN.   — Jeff G. please ping or talk to me 15:47, 21 September 2022 (UTC)
@Jeff G.: thank you for your quick work. Regards, Şÿℵדαχ₮ɘɼɾ๏ʁ 16:18, 21 September 2022 (UTC)
@SyntaxTerror: You're welcome.   — Jeff G. please ping or talk to me 17:54, 21 September 2022 (UTC)
This section was archived on a request by: --Krd 08:35, 9 October 2022 (UTC)

Bulk renaming v2

In Category:ZM157 (aircraft), please rename all files to "F-35B Lightning II ZM157 ..." This is to correct misleading titles. The F-35A version is not being used by the Royal Air Force. See also Jetphotos.com for this particular aircraft. De728631 (talk) 19:32, 23 August 2022 (UTC)

Done using MassRename user script. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:13, 20 September 2022 (UTC)
This section was archived on a request by: —‍Mdaniels5757 (talk • contribs) 16:43, 13 October 2022 (UTC)

292 PD-Art-100 files erroneously labeled as self+CC 4.0

All the files uploaded by @Rvalette: in Category:Illustrations of Jean de La Fontaine's fables by Jean-Baptiste Oudry are marked as both PD-Art-100 and CC 4.0. However, those images are clearly under {{PD-Art|PD-old-100-1923}} and the uploader is in no way the copyright holder.

All {{self|cc-by-sa-4.0}} the should be replaced by {{PD-Art|PD-old-100-1923}}. The {{PD-Art|PD-old-100-1923}} given in the '|permission =' parameter should be thereafter removed for redundancy.

Please ping me if you have any question for this request. Veverve (talk) 16:26, 13 October 2022 (UTC)

@Veverve This should be ✓ Done now. —‍Mdaniels5757 (talk • contribs) 13:51, 20 October 2022 (UTC)
@Mdaniels5757: Yes, it is done. Thanks! Veverve (talk) 16:30, 20 October 2022 (UTC)
This section was archived on a request by: —‍Mdaniels5757 (talk • contribs) 16:34, 20 October 2022 (UTC)

Remove empty DAB categories out of Category:Non-empty disambiguation categories

In Category:Non-empty disambiguation categories usually are a lot of subcategories that are empty and should not be there (recently Brainulator9 removed them manually, but we need a more structural solution). These are DAB's that once had one or more files and/or categories in them, thereafter that problem has been solved, but then you need to do an extra action to get the DAB category out of the Category:Non-empty disambiguation categories. Not many people know or do that, very understandable. This is a known bug (phab:T86492), but the expectation is that it will not be solved soon because it has low priority. Request: to make a work-around by a bot, making null edits for these kind of DAB categories, for example once a day. For background information, see discussion in Commons:Village pump#How to make a structural solution for not empty disambigious pages? (this request is about discussion point nr 1). JopkeB (talk) 09:24, 19 October 2022 (UTC)

@JopkeB: As a test, I am having my AWB touch everything in Category:Non-empty disambiguation categories by prepending {{subst:Void}}. 2,028 total may take about 38 minutes.  Request taken by   — Jeff G. please ping or talk to me 12:39, 19 October 2022 (UTC)
Finished, the cat now has 2,015 total members, so only 13 were removed. I initiated the task manually, so if someone wants to use touch.py on an ongoing basis, please feel free to mention that.   — Jeff G. please ping or talk to me 13:26, 19 October 2022 (UTC)
Wow, that is quick! Thanks, Jeff G.. How can we make this bot run automatically on a regular basis, say once a week or twice a month? Is it possible to use a similar procedure as on Special:WantedCategories? --JopkeB (talk) 03:36, 20 October 2022 (UTC)
@JopkeB: You're welcome. I just ran it again. Sadly, AWB does not have scheduling like cron, and my scheduling is not perfect. Special:WantedCategories is different, we need humans to make categories for that, and it appears to be integrated into the wiki's code.   — Jeff G. please ping or talk to me 11:15, 20 October 2022 (UTC)
I just added a cronjob on Toolforge, should be done every other day now. —‍Mdaniels5757 (talk • contribs) 13:40, 20 October 2022 (UTC)
@Mdaniels5757: Thanks!   — Jeff G. please ping or talk to me 19:13, 20 October 2022 (UTC)
Thanks from me also, @Mdaniels5757! I made some test cases and within two days I check whether they have gone automatically. Please do not change the empty categories manually. I'll then add here {{section resolved}}. --JopkeB (talk) 05:13, 21 October 2022 (UTC)
The bot works! This morning there were no empty categories anymore. Thank you both for implementing. I adjusted the text on Category:Non-empty disambiguation categories and removed the instruction for manually removing empty categories to the talk page. --JopkeB (talk) 02:18, 23 October 2022 (UTC)

@Mdaniels5757 and @Jeff G.: Unfortunately the bot does not work (anymore?). On 27-10-2022 I emptied some categories on Category:Non-empty disambiguation categories from J but they still are there (Jaap van Praag, Jędrzejówka‎, Kapela, Kostel, Köşk‎, Labia, Lichtenberg). Can you see what went wrong? Is it perhaps not every other day but once a week or so that the bot works? --JopkeB (talk) 03:25, 30 October 2022 (UTC)

Huh. I'll take a look. —‍Mdaniels5757 (talk • contribs) 15:37, 30 October 2022 (UTC)
Should be fixed now. —‍Mdaniels5757 (talk • contribs) 17:06, 1 November 2022 (UTC)
Thanks! I made new testcases and I'll let you know the outcome within a couple of days. JopkeB (talk) 04:17, 2 November 2022 (UTC)
It looks like it works now, my testcases were gone. JopkeB (talk) 05:02, 3 November 2022 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Achim55 (talk) 19:12, 30 November 2022 (UTC)

Replace license tags in Category:A Dictionary of Roman Coins

Please replace {{PD-1996}}{{PD-scan|1=PD-old-100 |deathyear=1890 |country=GB}} with {{PD-scan|PD-old-auto-expired|deathyear=1890}} for all pages in Category:A Dictionary of Roman Coins. —CalendulaAsteraceae (talkcontribs) 03:50, 4 December 2022 (UTC)

@CalendulaAsteraceae: ✓ Done.   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 23:03, 4 December 2022 (UTC)
@Jeff G. thanks! —CalendulaAsteraceae (talkcontribs) 23:52, 4 December 2022 (UTC)
@CalendulaAsteraceae: You're welcome!   — 🇺🇦Jeff G. please ping or talk to me🇺🇦 00:07, 5 December 2022 (UTC)
This section was archived on a request by: —CalendulaAsteraceae (talkcontribs) 23:52, 4 December 2022 (UTC)

Replace license tags in Category:The Remains of Tom Lehrer

The files in this category are tagged with {{cc-zero}}, but this is incorrect; they should be tagged with {{PD-author|Tom Lehrer}}. —CalendulaAsteraceae (talkcontribs) 04:52, 8 December 2022 (UTC)

Never mind, I did it manually. —CalendulaAsteraceae (talkcontribs) 22:13, 18 December 2022 (UTC)
This section was archived on a request by: —CalendulaAsteraceae (talkcontribs) 22:13, 18 December 2022 (UTC)