Commons:Bots/Work requests

Une page de Wikimedia Commons, la médiathèque libre.
Aller à : navigation, rechercher

Raccourci : COM:BR · COM:BWR

Règles d’utilisation et liste des bots · Demande d’autorisation · Requête aux bots · Changements pour permettre la localisation  · Requêtes de versement en masse

Filing cabinet icon.svg
SpBot archive toutes les sections marquées avec {{Section resolved|1=~~~~}} depuis 1 jour.

False coordinates[modifier]

A set of Panoramio photos by Angela Stefanoni from Prague have false coordinates {{Location|50.087811|14.42046|source:Panoramio}}. Please remove the template with false coordinates (and add Category:Prague for uncategorized files instead).

Btw., all bigger sets of photos with identic coordinates should be detected and suggested for review. They can by OK if they are panoramics from any viewpoint (tower etc.) but suspected in other cases. --ŠJů (discussion) 21:59, 30 December 2016 (UTC)

@ŠJů: I took a pass and deleted that set of coordinates from just those from Angela Stefanoni. There weren't all that many. ~36 remain at this search, but they're all or almost all by other authors. Should the coordinates be removed from those as well? ~ Rob13Talk 23:40, 13 January 2017 (UTC)--ŠJů (discussion) 05:44, 14 January 2017 (UTC)
@BU Rob13: Thank you. Probably, some map (used by Panoramio users) has these coordinates as a definitional point of the whole city, i.e. none of them is a real location of the camera. Thus, all those should be removed (and if the file is quite uncategorized, should be placed to Prague to be categorized and described more precisely). --ŠJů (discussion) 05:44, 14 January 2017 (UTC)
This was ✓ Terminé before I got to it. ~ Rob13Talk 02:20, 26 January 2017 (UTC)

Imgur files[modifier]

Maybe somebody would like to automate Commons:Village pump/Copyright/Archive/2017/01#Imgur filenames? Dispenser (discussion) 23:21, 20 January 2017 (UTC)

Withdrawing The hacky JavaScript is automated enough, just need to get somebody to remember to look at the results every few months. —Dispenser (discussion) 23:33, 13 February 2017 (UTC)

Adding a parameter to templates categorizing male / female people's categories[modifier]

Hello, I've just unified the templates {{MenByName}} and {{WomenByName}} into {{PeopleByName}}.
In order to refine the categorization a bot should perform as follow:

  1. to the categories that have either {{MenByName}} or {{Mbyname}}:
    1. add |M as very last field of the template
    2. eventually replace the string MenByName and Mbyname with PeopleByName.
  2. to the categories that have either {{Wbyname}}, {{Fbyname}} or {{WomenByName}}:
    1. add |F as very last field of the template
    2. eventually replace the string WomenByName, Fbyname and Wbyname with PeopleByName.

Thanks -- SERGIO (aka the Blackcat) 16:58, 23 January 2017 (UTC)

According this and this discussion, those templates should be substed anyhow (by a bot). But please ensure that the Category:Men by name for {{MenByName}} and Category:Women by name for {{WomenByName}} don't get lost (which is currently the case). --JuTa 17:15, 23 January 2017 (UTC)
The added parametres M and F indeed are requested for ensuring that a trigger field puts them into the appropriate category. -- SERGIO (aka the Blackcat) 23:08, 23 January 2017 (UTC)
BTW JuTa, are you sure that a template with conditional fields can be successfully substed? -- SERGIO (aka the Blackcat) 23:18, 23 January 2017 (UTC)
I do that since months for hundreds of cats. --JuTa 23:19, 23 January 2017 (UTC)
Are you sure? For example now there's the code {{#ifeq:{{{3}}}|M|[[Category:Men by name]]}}. If substed, it writes the complete code of the instruction, not simply [[Category:Men by name]].... -- SERGIO (aka the Blackcat) 23:32, 23 January 2017 (UTC)
True, and thats a reason why your template move should be undone. --JuTa 01:54, 24 January 2017 (UTC)
Hm... What's the point in substing? Do not hide the {{DEFAULTSORT}} keys, -JuTa? -- SERGIO (aka the Blackcat) 11:22, 24 January 2017 (UTC)

Subst in the template should have been fixed with an obscure method in wikitext (it's probably the only method anyways). --Zhuyifei1999 (discussion) 11:31, 24 January 2017 (UTC)

It seems to work correctly now indeed, Zhuyifei SERGIO (aka the Blackcat) 13:18, 24 January 2017 (UTC)
@Blackcat yes. @Zhuyifei1999, thanks a lot.
We currently lost about 6000 entries within Category:Men by name and 3000 within Category:Women by name. A bot run to readd them by substing with the correct parameters would be IMHO very appreciated. --JuTa 16:29, 24 January 2017 (UTC)
I think this is doable with VFC, right? --Zhuyifei1999 (discussion) 16:34, 24 January 2017 (UTC)
VFC is only for files and not cats, correct? --JuTa 16:44, 24 January 2017 (UTC)
Oh right. I (wrongly) assumed this request is for files. --Zhuyifei1999 (discussion) 17:16, 24 January 2017 (UTC)
JuTa, now the problem is fixed. A bot should add the field F or M, then rename all into PeopleByName then subst it. It's a 3 phase operation. -- SERGIO (aka the Blackcat) 17:59, 24 January 2017 (UTC)

I think the easiest thing to do would be to just take Wikidata parameter and look up all this information there. Also this work seems a bit unnecessary, since if you want Commons categories for males or females you can just query the wikidata, start with this query. And if some results are missing fix it there so others can find those categories. --Jarekt (discussion) 18:51, 24 January 2017 (UTC)

Hm. Let's have a look then, you might be right, Jarekt. -- SERGIO (aka the Blackcat) 23:25, 24 January 2017 (UTC)
Add-on: your point is interesting, Jarekt, but what if the gender is different than Male/Female (i.e. intersex, transex, and so on)? Shall not the template categorize either in Men or Women by name? -- SERGIO (aka the Blackcat) 23:33, 24 January 2017 (UTC)
Gender is not binary for all people, so templates should probably also avoid it. But on the other hand, template:Creator never (to my knowledge) need to be set up for someone that was neither male or female. Chelsea Manning was in news a lot lately, I do not think Category:Chelsea Manning should be in male or female category. When I added gender to template:Creator it was for the purpose of proper grammar in some languages where occupation names conjugate differently based on gender. But the template does not have a visible field stating the gender. I do not see a pressing need to start sorting people into male and female categories, but I also do not oppose it. --Jarekt (discussion) 04:04, 25 January 2017 (UTC)

Moving infos from category to description[modifier]

(re-posted here after withdrawal of a bot operator)

We uploaded about 17,000 images from Paolo Monti Archive. We wanted to reuse as much infos as possible from the original catalogue, so we have a lot of categories to fix. We need in particular to tranfer a string from a category to the description. Most of images from Monti's Archive have an unexisting, long category. That category has those characteristics:

  1. not existing (red)
  2. shared only by an image (or few)
  3. formed by words separated by periods (".") (not by "-" as the other original categories).

We need to trasfer that string (deleting the category) to the beginning of the description field.
Example: File:Paolo Monti - Serie fotografica (Anzola d'Ossola, 1966) - BEIC 6329139.jpg has a category called "Anzola d'Ossola. Riale. Alberi." (note the commas). The text "Anzola d'Ossola. Riale. Alberi." must be transferred at the very beginning of the description (deleting that category and leaving intact the other categories and the previous description).
A query made by Federico Leva shows we have about 7,000 categories of more than 75 chars that are used in less than 3 images (and 1,000 used in 2). I suggest to consider every red category with 20 chars or more and with commas between words. Thank you for your help. --Marco Chemello (BEIC) (discussion) 20:59, 23 May 2016 (UTC)

In other words, what's needed here is simply a run where each string in the list is removed from categories and moved immediately after "description =". --Federico Leva (BEIC) (discussion) 13:20, 25 May 2016 (UTC)
This is still needed. Let us know if we can make the job easier in some way. Federico Leva (BEIC) (discussion) 09:07, 29 July 2016 (UTC)
@Marco Chemello (BEIC), Federico Leva (BEIC): It's not that straightforward, since really isn't made for moving text from one place to another. I put together a list of the commands that would need to be run at toollabs:ahechtbot/Paolo_Monti.txt (6+ megabyte file), but I don't really have the time or resources right now to put together a bot approval request or run the bot. --Ahecht (TALK
) 14:59, 30 July 2016 (UTC)
Should be easy enough since Ahecht did most of the work. I'll file a BRFA for AvicBot to handle this. sısɐuuǝɔıʌ∀ (diskuto) 18:38, 30 July 2016 (UTC)
Filed at Commons:Bots/Requests/AvicBot 3. sısɐuuǝɔıʌ∀ (diskuto) 18:43, 30 July 2016 (UTC)
Thank you @Avicennasis:. Unfortunately your bot is not targeting the right categories: the categories that must be moved to description contains periods (".") to separate words (not "-"). Sorry if I wasn't clear enough. Thank you again. --Marco Chemello (BEIC) (discussion) 22:31, 31 July 2016 (UTC)
@Marco Chemello (BEIC): Are you able to edit a file or two manually to provide a diff? sısɐuuǝɔıʌ∀ (diskuto) 04:27, 1 August 2016 (UTC)
@Avicennasis: Of course! example 1, 2, 3, 4, 5. Thank you again. --Marco Chemello (BEIC) (discussion) 12:57, 1 August 2016 (UTC)
@Marco Chemello (BEIC): Ok, so are we excluding categories with -hyphens? Or is it specifically only categories with periods in the name? here is a dump of the next 100 categories to process. Which is the better option, removing categories with hyphens, or only keeping categories with periods? sısɐuuǝɔıʌ∀ (diskuto) 06:26, 2 August 2016 (UTC)
@Avicennasis: Yes I think we can exclude categories with -hyphens and include only categories with periods. Seeing the dump, the lines 1 to 4 must be excluded, and all the others are ok to be worked. Better to leave untouched all the categories with hyphens, as they must be converted manually into working Commons categories (we already fixed most of them). --Marco Chemello (BEIC) (discussion) 13:16, 2 August 2016 (UTC)

Unfortunately I do not have the time needed to finish this task. I am sorry. I have withdrawn my bot request for this task. sısɐuuǝɔıʌ∀ (diskuto) 17:35, 26 August 2016 (UTC)

So, I have to restart the request: is there anyone to help us? Thank you. --Marco Chemello (BEIC) (discussion) 14:33, 24 January 2017 (UTC)

Mass move .ogg to .ogv[modifier]

SELECT COUNT(*) FROM image WHERE img_media_type="VIDEO" 
AND img_major_mime="application" AND img_minor_mime="ogg" 
AND UPPER(CONVERT(img_name USING latin1)) LIKE "%.OGG";

Most users like separate programs to open audio and video files. Since the major file managers (Windows Explorer, OS X Finder, Ubuntu/Nautilus) use the extension to determine this, I would like the 7,157 files to be renamed from .ogg to .ogv extension. This is already the predominate method for the remaining 54,053 Ogg video files. —Dispenser (discussion) 20:48, 24 January 2017 (UTC)

I see no need, and this likely will cause a lot of drama. Some user want ogg other want ogv. --Steinsplitter (discussion) 12:16, 27 January 2017 (UTC)
The majority of Theora videos use .ogv (88%). Since we're forcing extensions may as well have it meaningful and it signal to editors/users it's a video file. —Dispenser (discussion) 05:42, 30 January 2017 (UTC)
 En cours... per, phab:T151352, phab:T65584, etc. MediaWiki:Gadget-AjaxQuickDelete.js is doing that fix as well since years. I also found a old request from 2009. Talked with other users, seems to be uncontroversial and needed. --Steinsplitter (discussion) 14:42, 31 January 2017 (UTC)
✓ Terminé A few files with conflicts not moved. --Steinsplitter (discussion) 13:03, 1 February 2017 (UTC)
Thank you, I'll remove VIDEO:.ogg from User:Dispenser/Wrong Extension so we can track new files. —Dispenser (discussion) 14:08, 1 February 2017 (UTC)

I really wished you hadn't done that. A lot of those OGG files you moved where audio only and should have been moved to OGA not OGV. Reguyla (discussion) 15:36, 1 February 2017 (UTC)

@Reguyla: Hi, Do you have a example? --Steinsplitter (discussion) 15:40, 1 February 2017 (UTC)
I only found File:Lillers - Grand Prix de Lillers-Souvenir Bruno Comini, 6 mars 2016 (D12A).ogv - Broken in Firefox. 19 others that MediaWiki has trouble decoding. —Dispenser (discussion) 17:15, 1 February 2017 (UTC)
Ok well when I did a search recently for OGG/OGV files with a Video display resolution = 0 x 0 I found thousands of non video audio files. If you look in Quarry under my name you'll see the code. It just needs to be updated a little to show 0 x 0. Reguyla (discussion) 17:27, 1 February 2017 (UTC)
I am away from my computer at the moment though but if you still need examples when I get back to it tonight I can certainly provide some. Reguyla (discussion) 17:30, 1 February 2017 (UTC)
You're newest query at Quarry is 3 days old. And Wrong Extension checks that .ogg/AUDIO/application/ogg has zero pixel and .ogg/VIDEO/application/ogg does not. I tried replicating the query without success, but I think your mistaken. —Dispenser (discussion) 19:32, 1 February 2017 (UTC)
It's possible I pulled something up wrong and got a false report. I'll double check later tonight and let you know. Reguyla (discussion) 20:30, 1 February 2017 (UTC)
Well I found out tonight that due to being blocked on Meta I can no longer access Quarry so I have no way to validate if I am right or wrong. So nevermind what I said above, if I find anything I'll let you know. Cheers! Reguyla (discussion) 03:18, 2 February 2017 (UTC)
File:Lillers - Grand Prix de Lillers-Souvenir Bruno Comini, 6 mars 2016 (D12A).ogv is a 1080p 25fps Theora, 48000 Hz stereo 112 kb/s Vorbis file, so it is indeed a video. Playing it with ffplay shows tons of errors, but in one of the few rendered frames I saw a motorcycle. --Zhuyifei1999 (discussion) 03:16, 2 February 2017 (UTC)

Upload of Ipernity files[modifier]

Perhaps you know the photo sharing website Ipernity. More than 1,000 photos published on Ipernity under a free license have subsequently been uploaded to Commons. The number of free photos available at Ipernity is, of course, much larger (see here).

In December, unfortunately, the team of Ipernity announced that they will close down the site on January 31, 2017 (see here). The close-down date has since been changed to "late February" (see here). There are efforts going on to save the site, but I think it would be a good idea to copy public domain and Creative Commons content to Wikimedia Commons.

Unfortunately, I am not technically skilled to do something like that. I could only download photos from Ipernity and upload them to Commons on a one-by-one basis. I know it'll be a lot of work to get a bot moving (and to keep an eye on its movements), but can somebody here help? -- Robert Weemeyer (discussion) 20:38, 27 January 2017 (UTC)

@Robert Weemeyer: I did have a brief look through the API ( and the image collection in general. Though a mass import may be possible, I do not think this is an easy import for Commons as many images would fail to meet Scope for various reasons, and some may be copyright problems just as we see with Flickr. I suggest that on Ipernity discussion pages you push to have someone release version(s) on Flickr with matching licenses, or create an archive dump, or a passive mirror using something like wget, that others can take advantage of in the future. I have not tested overall size, but as you can push 1TB on to just one Flickr account, it would be reasonable to expect that all photos filtered by free reuse licenses could be released on one Flickr account.
Though I've done similar things in the past, I'm over-committed to take this on at the moment. Thanks -- (discussion) 11:45, 12 February 2017 (UTC)

Tasnimnews review needed[modifier]

Per this discussion. Tasnim news photo's uploaders should use this template! But we have lots of photos from this website without image reviewer tag! Please run Bot in this category and make a list of tasnimnews photos without review tag. thanks--MehdiTalk 09:06, 28 January 2017 (UTC)

The bot should place such images into the subcategory Category:Tasnimnews review needed. De728631 (discussion) 13:33, 29 January 2017 (UTC)
Thats good! I'm waiting for result.--MehdiTalk 16:42, 29 January 2017 (UTC)
@Ebraminio: If its possible, please done.--Mehdi (discussion) 16:45, 29 January 2017 (UTC)
@Ladsgroup, Yamaha5:--Mehdi (discussion) 16:53, 1 February 2017 (UTC)
Hello @Mehdi: , was a solution found? If not, I am willing to help. Just to make sure I fully understand your request, you need the bot to browse the Category [[Category:Photos from]] and search for photos that do not use the {{subst:Tasnim/subst}} template. Then these photos will be placed under the [[Category:Tasnimnews review needed]]. Is is what you need?--African Hope (discussion) 13:07, 16 February 2017 (UTC)
@African Hope:Exactly! Thank you for your help.--Mehdi (discussion) 14:04, 16 February 2017 (UTC)
@Mehdi: I ran two test here and here. Check if this is what you meant. I have a concern however, inserting the {{subst:Tasnim/subst}} template automatically prints "Tasnim", "License review" templates and the "Tasnimnews review needed" category. In any case it does not print the {{subst:Tasnim/subst}} template itslef. As a matter of fact, when I searched for photos with {{subst:Tasnim/subst}} template I found none. My question is the following: what is the criteria the bot should really search for?--African Hope (discussion) 16:49, 16 February 2017 (UTC)
@African Hope:Thanks dude. I think you can use [[:Category:Files from external sources with reviewed licenses|this category]] for best result! Bot should check photos in [[:Category:Photos from]] that doesn't exist in Category:Files from external sources with reviewed licenses! --Mehdi (discussion) 19:20, 16 February 2017 (UTC)
Ok @Mehdi:. Actually the [[:Category:Files from external sources with reviewed licenses]] is added to photos via {{LicenseReview}} template which itself is generated by the {{subst:Tasnim/subst}} template. So I will search for photos in [[:Category:Photos from]] that do not have the {{LicenseReview}} template and add the {{subst:Tasnim/subst}} template. By the way I have run two additional tests here and here--African Hope (discussion) 20:23, 16 February 2017 (UTC)
@African Hope:Thanks alot @};- --Mehdi (discussion) 20:58, 16 February 2017 (UTC)
You're welcome @Mehdi:. Since there are roughly 2500 photos, I will run few additional tests for now. If things do not break I will start the heavy work after.I will keep you informed.--African Hope (discussion) 21:08, 16 February 2017 (UTC)

Wiki Loves Africa 2016[modifier]


We have 480 files which have been uploaded as part of WLA, but do not include the overarching template because uploaders did not go through the dedicated upload system, but simply taggued their images as Category:Images from Wiki Loves Africa 2016 in CountryX (eg Category:Images from Wiki Loves Africa 2016 in Algeria). Our template is {{Wiki Loves Africa 2016}}. This template in particular include the category Category:Images from Wiki Loves Africa 2016. Since many uploaders did not use the template, the images are now not taggued with the general category.

For communication and for jury tool needs, we would like that all pictures be taggued, ideally with {{wiki Loves Africa 2016}} or if difficult to do, with Category:Images from Wiki Loves Africa 2016

We have established the list of images concerned by this problem : The download link provides a raw list (

Is there anyone (a bot) who could help us tag all those pictures ? Ideally with the template. At worse, with the category ? If not, any suggestion of how we could do ?

Thanks in advance

Anthere (discussion)

Hello @Anthere:, I made a permission request for my bot here. If it is granted quickly I will handle your task.African Hope (discussion) 01:29, 8 February 2017 (UTC)
That would be awesome @African Hope: ! Anthere (discussion)
@Anthere: its is ✓ Terminé --African Hope (discussion) 15:55, 9 February 2017 (UTC)
@African Hope: Yipppeee. Ok, so we are ready to import images in the voting tool :) Anthere (discussion)

Category:Crop for Wikidata needs cleanup[modifier]

There are a lot of images in Category:Crop for Wikidata that have already been cropped, and feature {{Extracted from}}, but are still tagged with {{Crop for Wikidata}}. Can someone remove the latter, from the new and old file, please? Andy Mabbett (discussion) 21:46, 8 February 2017 (UTC)

Nonsense coordinates added by videoconvert[modifier]

There are 265 webm files here which contain nonsense coordinates {{Location dec|12.345|23.456|}}. Seems to be a succesive sequence of digits only. Please remove them. The problem seems to be caused by --ŠJů (discussion) 01:57, 10 February 2017 (UTC)

@ŠJů: Is there a list or category of these webm files? sısɐuuǝɔıʌ∀ (diskuto) 11:57, 11 February 2017 (UTC)
re You can insert insource:{{Location dec|12.345|23.456|}} into the search field and search it. However, it seeems that somebody corrected it already, I found none such file now. --ŠJů (discussion) 17:00, 11 February 2017 (UTC)
(Conflit de modification.)Fixed MediaWiki_talk:VisualFileChange.js#Make_VFC_work_on_special_pages and done this with the search query insource:"{{Location dec|12.345|23.456|}}". The rest will need to be fixed manually --Zhuyifei1999 (discussion) 18:28, 11 February 2017 (UTC)

Replace {{De-at}} by {{de}}[modifier]

Per Commons:Deletion requests/Template:De-at (and Commons:Forum#Commons:Deletion requests.2FTemplate:De-at). Sebari – aka Srittau (talk) 19:47, 13 February 2017 (UTC)

@Sebari: ✓ Terminé --Steinsplitter (discussion) 14:05, 16 February 2017 (UTC)

Information needed[modifier]

Does Commons have any bot which will scan for untagged(unlicensed) images/media and segregate it. As on marathi Wikipedia we have a lot of such images so needed assistance in this case --Tiven2240 (discussion) 07:20, 15 February 2017 (UTC)

Move all pictures from Category:Logos to Category:Unidentified logos[modifier]

Hello, maybe a bot can move all the logos from Category:Logos (Total: 23,110 Files) to Category:Unidentified logos, since this category should not be used normally. New uploads are often tagged directly with Category:Logos, so it would be also nice, if the bot could work continuously. --Der Buckesfelder  Talk  Evaluation  E-Mail  commons 11:59, 16 February 2017 (UTC)

Creating subcategories per Country[modifier]

Is it possible, that a bot could create subcategories below Category:Unidentified logos for all the countries of the world? The scheme should be like Category:Unidentified logos of Germany. Afterwards the logos can be shifted from Unidentified logos to the page cats and users from the country can categories it correctly. --Der Buckesfelder  Talk  Evaluation  E-Mail  commons 12:02, 16 February 2017 (UTC)

PD-USGov Diffusion Bot[modifier]

I'd like to request a bot to go through Category:PD US Government, and change the licenses on files to the more specific license tags when it can be easily determined. I'm talking about it changing the licenses on the files that have a source from one of over the 27 US Government Flickr stream (see Category:Government organisations on Flickr for lists), or images from an easy Federal Government source (,,, etc). I'd also like it if the Flickr stream ones placed the images in the correct categories for the Flickr stream. Preferably, this bot would run once a month to make sure to clean out Category:PD US Government. Elisfkc (discussion) 19:52, 17 February 2017 (UTC)

Mass uploads[modifier]

Hi, Could someone with a bot upload

  1. images from the California Department of Water Resources website. {{PD-CAGov}} should be used.
  2. images from IAEA Flickr stream? Files should be added to Category:Files from IAEA Flickr stream. Additionally, could you please add files already uploaded from there into this category?

Thanks a lot in advance, Yann (discussion) 22:55, 18 February 2017 (UTC)

Fix Exif time[modifier]

Is there somebody who is able to correct the Exif time of 531 files from Category:Exif time is 1 hour higher? I forgot my camera set to summer time up to 2016-11-09, the time should be one hour lower than the Exif states. --ŠJů (discussion) 04:59, 19 February 2017 (UTC)