Open main menu

Wikimedia Commons β

Commons:Bots/Work requests

< Commons:Bots(Redirected from Commons:BWR)

Shortcut: COM:BR · COM:BWR

Bot policy and list · Requests to operate a bot · Requests for work to be done by a bot  · Requests for batch uploads
Gnome-system-run.svg


Filing cabinet icon.svg
SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 7 days.

PD-US-defective noticeEdit

insource:circ03

16,810 results and many of them should be replaced with {{PD-US-defective notice}}, although some need a different template like File:Veronica Hamel 81-87.JPG but I don't think there is a template for that. - Alexis Jazz 09:21, 25 March 2018 (UTC)

Hello Alexis Jazz, do you mean that all these pictures should have their {{PD-US-XXX}} template replaced with {{PD-US-defective notice}} ? African Hope (talk) 18:35, 28 March 2018 (UTC)
@African Hope: Those that were published between 1923 and 1977 should. For files published between 1978 and March 1, 1989 another template is needed - but I don't think it exists at this moment. Many of these files have a {{PD-US-no notice}} template that should be replaced with {{PD-US-defective notice}} and the text with the circ03.pdf link should be removed. That may be harder than it seems because it's on various pages slightly different, but always comes down to the same thing. It just describes why the {{PD-US-no notice}} template should have really been a {{PD-US-defective notice}} template.. - Alexis Jazz 19:05, 28 March 2018 (UTC)
@Alexis Jazz:, I would suggest to start with pictures that were uploaded between 1923 and 1977, replacing the {{PD-US-YYYY}} or {{PD-Pre1978}} template with {{PD-US-defective notice}}. As for the text with the circ03.pdf, I guess you mean text links such as [http://www.copyright.gov/circs/circ03.pdf United States Copyright Office page 2] . What do you think? African Hope (talk) 20:21, 28 March 2018 (UTC)
Sadly I have now also found File:Rod Serling photo portrait 1959.JPG, File:Nancy Walker Rosie Bounty ad 1977.JPG and File:The Munsters Cast 1964.jpg that also link circ03.pdf but really don't have a notice. Perhaps it's an option to look for all instances of:
United States Copyright Office page 2 "Visually Perceptible Copies The notice for visually perceptible copies should contain all three elements described below. They should appear together or in close proximity on the copies.
1 The symbol © (letter C in a circle); the word “Copyright”; or the abbreviation “Copr.”
2 The year of first publication. If the work is a derivative work or a compilation incorporating previously published material, the year date of first publication of the derivative work or compilation is sufficient. Examples of derivative works are translations or dramatizations; an example of a compilation is an anthology. The year may be omitted when a pictorial, graphic, or sculptural work, with accompanying textual matter, if any, is reproduced in or on greeting cards, postcards, stationery, jewelry, dolls, toys, or useful articles.
3 The name of the copyright owner, an abbreviation by which the name can be recognized, or a generally known alternative designation of owner.1 Example © 2007 Jane Doe."
And replace those with a template. I don't know, but having nearly the same text copypasted on thousands of pages is just wrong.. - Alexis Jazz 21:00, 28 March 2018 (UTC)
@Alexis Jazz: It's traditional spam.   — Jeff G. ツ please ping or talk to me 03:22, 29 March 2018 (UTC)
@Jeff G.: Spam? What? How? - Alexis Jazz 07:54, 29 March 2018 (UTC)
@Alexis Jazz: The same thing, many many times (in this case, over 16,000). Whoever started it should have made or used {{PD-US-defective notice}} instead.   — Jeff G. ツ please ping or talk to me 13:12, 29 March 2018 (UTC)
@Alexis Jazz: Then we will search for all images that link circ03.pdf, and remove the text you mentioned above, and then add the {{PD-US-defective notice}} template. Is that it? African Hope (talk) 15:31, 29 March 2018 (UTC)
@African Hope: In some cases (as it turns out) there really is no copyright notice. Also I've checked it now and there are only 33 files with the {{PD-US-defective notice}} template. And 3 of those are mine. It may be more sensible to get rid of the PD-US-defective notice template altogether. Let's put this request on hold for a moment. Something needs to be done but we first need to figure out what exactly. - Alexis Jazz 16:10, 29 March 2018 (UTC)
@Alexis Jazz: Okay, keep me informed. African Hope (talk) 17:15, 29 March 2018 (UTC)
@Alexis Jazz: What problem(s) do you see with that template, other than low usage?   — Jeff G. ツ please ping or talk to me 16:20, 29 March 2018 (UTC)
@Jeff G.: It will be a massive amount of work to properly add it to files that should have it, legally and practically it is identical to no notice and there is no template to cover defective notice not registered 1978 - March 1, 1989 files. Possibilities could be to create an additional template that will be added alongside no-notice or a template argument for no-notice. - Alexis Jazz 16:35, 29 March 2018 (UTC)

Rough categorisation by bot - Category:Department of Asian Art, Metropolitan Museum of ArtEdit

There are over 57 thousands of valuable but uncategorised files in the category, most with non-descriptive names. They are however properly marked in their descriptions. Doing it by hand - even with Cat-a-lot - would be extremely tedious. Is there a possibility of using a bot for first rough categorisation for fine-tuning by hand later. E.g.

If such an operation is possible, I will prepare the main categories and fields and searchwords.--Felis domestica (talk) 10:38, 30 March 2018 (UTC)

No special scripting needed, this was a cat-a-lot job. Very few matches, so not really a bot job. The search I used was incategory:"Department of Asian Art, Metropolitan Museum of Art" insource:/escription.*China/ insource:"Ceramic" -- (talk) 13:24, 30 March 2018 (UTC)
@Fae: Thank you! But this was just one example - I guess that substituting "porcelain" in place of "ceramics" will probably yield several thousands results. I will gladly do all this myself, but would need a few pointers. For example, if I would like to rerun your search with different parameters, how do I do it (unless a bot is necessary ;) ). Idiot-level explanation, or a links to relevant pages, if you be so kind :) --Felis domestica (talk) 14:42, 30 March 2018 (UTC)
Have a read through Help:cat-a-lot. In the search results show as many as possible (click the 500 results at the bottom of the search page), put the category you want in the cat-a-lot pop-up, select all, then use the right arrow to move all to the target category. -- (talk) 11:20, 1 April 2018 (UTC)
@Fae: Thank you very much! It was searching within category which was a problem- I didn't know one could use such expressions in the searchbox; but now I will manage Thank again for the explanation :) --Felis domestica (talk) 18:47, 1 April 2018 (UTC)

Renaming a user categoryEdit

All my photos coming under user categories are named in a pattern like "the name of the taxa, genus, species, etc." + a space + my username. All of which are hierarchically placed under the main user category {.{User category|cat=User:Vinayaraj}}. Now I want one main category - Category:Photographs by Vinayaraj V R - be renamed as - Category:Photographs Vinayaraj - so that all the categories are having a uniform naming convention. Please attend to this so that the management of user categories are easy and uniform. Thank you.--Vinayaraj (talk) 03:01, 31 March 2018 (UTC)

@Vinayaraj: I think Category:Photographs by User:Vinayaraj or Category:Photographs by Vinayaraj would be better.   — Jeff G. ツ please ping or talk to me 12:56, 1 April 2018 (UTC)
I agree with Jeff. Category names at Commons should be self-explanatory and be written in proper English. "Photographs Vinayaraj" meets neither of these criteria. De728631 (talk) 16:29, 1 April 2018 (UTC)
Keep in mind that ad hoc category intersections are easy with PetScan, see example. A large hierarchy of user categories is unnecessary and unhelpful when main topic categories can do the same thing. I upload lots of files and my user categories are very flat (i.e. most have >10,000 files). -- (talk) 17:19, 1 April 2018 (UTC)
Thanks for the suggestions. But I use this style and method which is not at all cumbersome. I can rename them myself but a person with a better knowledge (and right) may be able to do that in a fly. Just see this where I can manage all my photos categorized in a better way, even others can use them if needed. I'm using the categories without "by" so would like to see them as such, after all they are just user categories. Thank you. --Vinayaraj (talk) 15:28, 3 April 2018 (UTC)

Add links to Wikidata based on template hereEdit

Commons:Village pump#{{User:Rama/Catdef}} userspace template

hastemplate:"User:Rama/Catdef"

For example: Revision of Category:Logitech ScanMan 32-Musée Bolo. This page includes "{{User:Rama/Catdef|Q30028327}}". On w:d:Q30028327 I had to add the sitelink to Category:Logitech ScanMan 32-Musée Bolo so that {{Wikidata infobox}} would work.

It would be nice if a bot could go over these and add the sitelinks to Wikidata. Later on a bot should also replace all these templates as this is obviously wrong, but exactly how that should be done is to be determined. For now, lets use the argument from this template to improve Wikidata. - Alexis Jazz 14:08, 5 April 2018 (UTC)

Adding Category to unidentified Surinamese filesEdit

I have just made the Category:Unidentified subjects in Suriname for a project that we will have on nl.wikipedia in the short future. Is it possible for a bot adding this category to all files that contain "Suriname" or "Paramaribo" that are not in the category:Suriname or in one of the subcategories starting from category:Suriname? We will use it for a double writing week on Suriname. During this project volunteers will be encouraged to add as many categories as possible to these files. The objective is to better categorize as many files on Suriname as possible. Is there someone that wants to run a bot for this? Ymnes (talk) 16:35, 12 April 2018 (UTC)

Maybe the best solution is to tag all files which are tagged as {{Uncategorized}}. Adding a special parameter to all files which having "Suriname" or "Paramaribo" in filedescription. --Steinsplitter (talk) 16:57, 12 April 2018 (UTC)
I just dumped some 250+ uncategorized files in the category. @Ymnes: what kind of capacity do you expect from this project? If what you are asking would be done literally you probably get tens of thousands of files. - Alexis Jazz 19:51, 12 April 2018 (UTC)
At the very moment, there is one GLAM project starting[1][2] and in September/October there are writing weeks planned[3]. I'm involved with both and the 'writing weeks' must be the summon where all the remaining files will be re-categorized. Tens of thousands of files is a lot, but they are welcome. (as long as they are not yet categorized under Suriname or starting from there) The writing weeks on nl.wikipedia.org attract a lot of attention and several hundreds of articles are written each time. It's good to understand that these events are organized by more people this time and the expectations are high, because the Caribbean have never been the central point. Ymnes (talk) 20:12, 12 April 2018 (UTC)
File:Wandelmars 2013 - 007 (8625066693).jpg can you tell me how this file ended up with broken category code? A bot request may be needed to find all these and fix them. - Alexis Jazz 21:22, 12 April 2018 (UTC)
See the screenshots here at the right. With Flickr-to-Commons one should add the []-hooks in the fist occasion but not in the second occasion. So in the second occasion this should be done. It would be better when the tool would idenntify whether hooks are used or not. Ymnes (talk) 16:16, 13 April 2018 (UTC)
I added 81 insect images to Category:Unidentified insects of Suriname and 126 miscellaneous to Category:Unidentified subjects in Suriname.   These all have some sort sort of "Unidentified" category. Btw, spiders are not insects you know.. - Alexis Jazz 23:06, 18 April 2018 (UTC)
@Alexis Jazz: Do you still know which files are concerned? Because they can better be moved to Category:Unidentified insects of Suriname.
By the way, I have been experiencing experimenting with Crop Cat-a-lot after I saw you used that tool. I have stopped doing it, because I was adding categories to files that had categories yet. This weekend I hope to learn more about the tool. If you have suggestions of tools I should learn to know here as well, I would be pleased you tell me, so I can make advantage of it. Ymnes (talk) 16:30, 19 April 2018 (UTC)
@Ymnes: Do I know which files are concerned? I don't understand.
By crop-a-lot you mean cat-a-lot and by experiencing you mean experimenting? Well you have to be careful with that indeed. I do searches and run cat-a-lot on that but a few of the files I added may have already had good categories. I checked several though and all seemed to have at at least some issue regarding categories. - Alexis Jazz 16:47, 19 April 2018 (UTC)
@Alexis Jazz: I am sorry, I was confused. Thanks for adding them! Ymnes (talk) 17:13, 19 April 2018 (UTC)
I see some overcategorisation happened with for example File:Trees live (39371073731).jpg. There is a limit to the length of search queries so I was unable to exclude all subcategories of Category:Unidentified subjects in Suriname. I did exclude the big ones though, but I could only exclude 3 or 4 categories. - Alexis Jazz 17:51, 19 April 2018 (UTC)
@Alexis Jazz, Ymnes: Cat-a-lot can check overcategorisation for you.   — Jeff G. ツ please ping or talk to me 18:10, 19 April 2018 (UTC)
Thanks for the advice! Ymnes (talk) 18:20, 19 April 2018 (UTC)
@Jeff G.: That doesn't help much. File:Trees live (39371073731).jpg is in Category:Unidentified trees in Suriname, that is in Category:Unidentified plants in Suriname and that is in Category:Unidentified subjects in Suriname. When File:Trees live (39371073731).jpg is also in Category:Unidentified subjects in Suriname the over-categorisation check does not spot it. - Alexis Jazz 19:05, 19 April 2018 (UTC)
I've just moved everything from Category:Trees in Suriname to Category:Unidentified trees in Suriname. More subcategories should be made in Category:Trees in Suriname for the various kinds of trees and files moved into those. One of them can be "Other trees in Suriname" for trees we have only one or two images of and trees that are otherwise hard to categorise. - Alexis Jazz 19:17, 19 April 2018 (UTC)
  Comment @Ymnes: Try Suriname -insource:/Category:.* Suriname/ -insource:/Category:.* Curaçao/ -insource:/Category:.* Paramaribo/ -insource:/Category:Suriname.*/ -insource:/Category:Curaçao.*/ -insource:/Category:Paramaribo.*/. It's not perfect but maybe it helps. - Alexis Jazz 10:14, 23 April 2018 (UTC)
[4] seems to provide some good results as well. - Alexis Jazz 10:48, 23 April 2018 (UTC)
@Alexis Jazz: Thanks for the advice! This may be helpful. I didn't have enough time this weekend. Hopefully I will next one (one day more because of Kings Day). Ymnes (talk) 16:30, 23 April 2018 (UTC)

Fix broken wikicodeEdit

Like the above. Also:

- Alexis Jazz 17:17, 13 April 2018 (UTC)

My bot should perform these kind of edits on all new uploads as part of his category cleanup tasks. The corresponding unit test works as expected: [5]. I will check why this was missed. --Schlurcher (talk) 16:48, 18 April 2018 (UTC)
@Schlurcher: did you also search for existing cases of broken wikicode? Because my list may not have been complete, I was unable to search for these properly. - Alexis Jazz 04:42, 19 April 2018 (UTC)
I have implemented them in my bot. My bot is searching through complete wikipedia database dumps. Once this is completed, all occurences will be fixed. The complete search will take a couple of weeks. --Schlurcher (talk) 05:40, 19 April 2018 (UTC)
  This section is resolved and can be archived. If you disagree, replace this template with your comment. Schlurcher (talk) 04:03, 19 April 2018 (UTC)

Correct license and typoEdit

When i moved Stevan Kragujević photos from srwiki to Commons some of them where under wrong licences Cc-by-sa-3.0-rs now it has to be changed to Cc-by-sa-3.0. Pictures under different licenses such as Cc-by-sa-4.0 are unaffected.

I also made a typo, word premission shoud be changed to permission

Summary:

Cc-by-sa-3.0-rs -> Cc-by-sa-3.0

premission -> permission

Category:Images by Stevan Kragujević.

--Milićević (talk) 12:07, 18 April 2018 (UTC)

Add missing template parameterEdit

For template {{Published}} the parameter legal is mandatory, but often has not been set. I added an error message and maintenance category Pages with incorrect usage of Template:Published for these cases. For hugely reducing manual work it would be fine that a bot doing these things:

  • Go to all pages in this cat, search for uses of {{Published}}, note that there also could be more than one.
  • Look for every use whether the parameter |legal is present (because of copy & paste it could be something like | legal = with varying number of spaces).
  • For all cases where it is not included add | legal = unclear.

Then the manual work had only to be done for other issues. — Speravir – 16:34, 21 April 2018 (UTC)

@Speravir: It has to be spelled "unclear".   — Jeff G. ツ please ping or talk to me 01:37, 24 April 2018 (UTC)
Yes, thank you, Jeff! Fixed above. — Speravir – 01:39, 24 April 2018 (UTC)
You're welcome. Why people add that template without the "legal" parameter is unclear.   — Jeff G. ツ please ping or talk to me 01:42, 24 April 2018 (UTC)

TasnimEdit

504 results. Please remove {{cc-by-4.0}}/{{cc-by-sa-4.0}} and replace it with {{Tasnim}}. - Alexis Jazz 05:02, 23 April 2018 (UTC)

267 results (some overlap with the previous link). Please add {{LicenseReview}} to the license section and Category:Tasnimnews review needed. The latter I could do myself, but somebody might start screaming when images start popping up there without {{LicenseReview}}. I don't know if reviewers can handle that.

Any instances of http://newsmedia.tasnimnews.com can be replaced with https://newsmedia.tasnimnews.com and http://www.tasnimnews.com/ with https://www.tasnimnews.com/. - Alexis Jazz 05:02, 23 April 2018 (UTC)

I guess this request has to be tackeled in batches. I have done the last part and took the liberty to strike it out. It will also be corrected on all future uploads. --Schlurcher (talk) 04:26, 25 April 2018 (UTC)

Categorizing photographersEdit

Add daily to Category:Photos by Hamed Malekpour for Tasnim News Agency.

Other names:

  • Hossein Zohrevand (حسین ظهروند)
  • Javid Nikpour (جاوید نیک‌پور)
  • Mahmood Hosseini (سیدمحمود حسینی)
  • Meghdad Madadi (محمد حسن زاده)
  • Mohammad Hassanzadeh (محمد حسن زاده)
  • Erfan Kouchari (عرفان کوچاری)
  • Foad Ashtari (فؤاد اشتری)
  • Morteza Salehi (مرتضی صالحی)
  • Farzad Menati (فرزاد منتی)
  • Mohammad Akhlaghi (محمد اخلاقی)
  • Foad Ashtari (فؤاد اشتری)
  • Alireza Vasigh Ansari (علیرضا وثیق انصاری)
  • Hossein Heidarpour (حسین حیدرپور)
  • Naser Jafari (حسین ظهروند)
  • Mahdi Dehghan
  • Mohammad Ali Marizad (محمدعلی مریزاد)
  • Mohammad Delkesh (محمد دلکش)
  • Hasan Hendi
  • Siamak Ebrahimi
  • Mojtaba Esmaeil zadeh (مجتبی اسماعیل زاده)
  • Abdolrahman Rafati (عبدالرحمان رأفتی)
  • Vahid Ahmadi (وحید احمدی)
  • Ali Khodaei (علی خدایی)
  • Ali Asadollahi Sooteh (علی اسدالهی سوته)
  • Abbas Shariati (سید عباس شریعتی)
  • Mohammad Hossein Taghi (محمدحسین طاقی)
  • Fathi Nezam (فتحی نظام)
  • Gholamreza Ahmadi (غلامرضا احمدی)
  • Hamed Amirnejad (حامد امیرنژاد)
  • Morteza Jaberian (مرتضی جابریان)
  • Alireza Ameri (علیرضا عامری)
  • Masoud Fardi Anvar (مسعود فردی انور)
  • Nima Najafzadeh (نیما نجف‌زاده)
  • Farhad Babaei

There are more, but it will be easier to find them after a bot has sorted these out. Obviously: the bot should be able to handle new names when Tasnim hires a new photographer.

After that is done: search for anything with the {{Tasnim}} template that is not yet in any of the "Photos by .. for Tasnim News Agency" categories or Category:Photos from tasnimnews.com not categorized by photographer and add it to Category:Photos from tasnimnews.com not categorized by photographer. - Alexis Jazz 07:23, 23 April 2018 (UTC)

This is not really bot work, it can be done with catalot. What are the daily numbers that may justify this as automated housekeeping? -- (talk) 08:11, 23 April 2018 (UTC)
The fact I don't want to run dozens of searches every day? - Alexis Jazz 08:14, 23 April 2018 (UTC)
Yes, some stats would help to encourage a bot writer to spend time setting this up. Six in a month is very different from ten a day. Thanks -- (talk) 08:32, 23 April 2018 (UTC)
Category:Photos from tasnimnews.com contains 13,554 photos right now. Nearly all of them need to be in a "Photos by .. for Tasnim News Agency" category and new photos are still uploaded every day. hastemplate:tasnim insource:"date: 2018-03" turns up 320 results which would suggest slightly over 10 a day, except that search is missing anything that uses a different date format so there may be more. I had started to initially fill categories with cat-a-lot, but this is taking forever and at some point point I will start to make mistakes. Better have a bot handle this and I can sort out wrongly credited photos. - Alexis Jazz 08:56, 23 April 2018 (UTC)