< Commons:Bots‎ | Requests
This project page in other languages:

English | 日本語 | +/−

ボットの方針 · ボット使用申請 · ボット作業依頼  · Changes to allow localization  · Requests for batch uploads

コモンズでボットを動かすには、まずボット・フラグを入手することをお薦めします。 下記の手順に従い、ボット・フラグのリクエストを提出してください。


Requests for permission to run a botEdit

Before making a bot request, please read the new version of the Commons:Bots page. Read Commons:Bots#Information on bots and make sure you have added the required details to the bot's page. A good example can be found here.

When complete, pages listed here should be archived to Commons:Bots/Archive.

Any user may comment on the merits of the request to run a bot. Please give reasons, as that makes it easier for the closing bureaucrat. Read Commons:Bots before commenting.

Botcrux (talk · contribs)Edit

Operator: Horcrux92 (talk · contributions · Number of edits · recent activity · block log · User rights log · uploads · Global account information)

Bot's tasks for which permission is being sought: Essentially I will handle categorizations of files and categories (Botcrux is already flagged on it makes general fixes and fulfills the requests to the bots). In the specific:

  • Compile a list of files with redundant categories (file is categorized by a category, and a subcategory of that category) and remove the redundant category, leaving the specific subcategory that is most important (examples).
  • Intersect two lists of files generated from two respective intersectable categories, remove the two categories from each file and add a more specific category (examples).

Automatic or manually assisted: automatic (manually only if it's necessary to verify the edit before saving the page)

Edit type (e.g. Continuous, daily, one time run): when I find some work to do (e.g. to better populate categories or to sort files/categories into more specific categories)

Maximum edit rate (e.g. edits per minute): 1 edit / 5 sec

Bot flag requested: (Y/N): Y (I think I will need, to don't annoy the RC/WL)

Programming language(s): find & replace with regex, using AWB

Horcrux92 (talk) 18:10, 5 May 2016 (UTC)


  • ✓ Done by Achim55, please begin your short test run with your bot account (30-50 edits/uploads). ~riley (talk) 19:00, 5 May 2016 (UTC)
  • As noted by the hidden text in source, <!--List full details of the bot's tasks here--><!--Permission, if granted will be for the specified tasks only-->. Please expand/correct your bot task description to include a specific task, not open approval for "categorization". As well, I also can't tell if you're just describing the bot's task on another project, or also requesting approval for the same here. :) ~riley (talk) 18:43, 5 May 2016 (UTC)
    For example, I'd like to automatize edit like this and run the bot over all the Category:Companies by country. Would the flag last only for this specific task? Shoud I do other requests for each work I will have to do? --Horcrux92 (talk) 19:02, 5 May 2016 (UTC)
    Thank you, that is a good example. As shown in our archives, each specific task goes through the COM:BRFA process. Established bot's can request open approval of general tasks (i.e. COM:Regex fixes) if they've demonstrated the need in a bot request. As requested, please update the description to reflect the task.(i.e. Using list comparer with AWB, compile a list of files with redundant categories (file is categorized by a category, and a subcategory of that category) and remove the redundant category, leaving the specific subcategory that is most important. Example diff) if that is the case. ~riley (talk) 19:20, 5 May 2016 (UTC)
    Thank you. I hope this is sufficient :) --Horcrux92 (talk) 00:17, 6 May 2016 (UTC)
  • Comments on trial: Please modify the edit summary to include "Bot:" and disable section headers (unnecessary because you're handling categories). As well, in the case of this edit, please remove duplicate categories using regex while at it. All edits marked as patrolled. :) ~riley (talk) 02:18, 6 May 2016 (UTC)
    Yes, on I use to always prepend "Bot:" when I work under the bot flag (see). Sorry but I did not get the meaning of "remove duplicate categories using regex while at it". --Horcrux92 (talk) 10:03, 6 May 2016 (UTC)
  • Let's focus on how your bot is going to perform here, not on itwiki. I'll take that as a yes, you'll add "Bot:" to the edit summary. As shown in this diff, you'll note that the source currently includes: [[Category:Logos of companies of Austria‎]]
    [[Category:Logos of companies of Austria]]
    Please add regex to remove duplicate categories in addition to the changes already being performed. Otherwise, looks good! ~riley (talk) 18:23, 6 May 2016 (UTC)
    It was only to say that I already use to prepend "Bot:" in the edit summary, it's not new for me and I won't forget for sure ;-)
    With respect to the duplicate categories: yes, I will keep it in mind. Even if in that specific case the error was in the previous edit, cause I thought (or even I thought to have seen) that Cat-a-lot removed automatically duplicates. --Horcrux92 (talk) 19:03, 6 May 2016 (UTC)
    If it's not new to you, I would have hoped to see it in your trial edits. While the duplicate may have been a result of an error, they are out there and if you are removing redundant categories, you need to be removing them all. They aren't common enough to run a further trial, but once you have written the regex, please test it on File:STENUM Logo 2010.jpg and paste your regex here. Good task btw. :) ~riley (talk) 19:24, 6 May 2016 (UTC)
  • I think will be good idea to use edit summaries similar to MediaWiki:Gadget-HotCat.js. --EugeneZelenko (talk) 14:08, 6 May 2016 (UTC)
    Sorry but I am not able (and I don't even know if it's possible) to change dinamically the edit summary while using AWB's advanced settings instead of normal settings (in any case, I'd rather not have to learn how to do it). --Horcrux92 (talk) 17:46, 6 May 2016 (UTC)
  • Yep, that's not a reasonable request for AWB. Eugene is right about considering better options though, how about Bot: Merging/removing redundant subcategories of Category:Logos? ~riley (talk) 18:23, 6 May 2016 (UTC)
    Yes, I got the point: more specific summaries! :) --Horcrux92 (talk) 19:03, 6 May 2016 (UTC)

BOT-Twm Crys (talk · contribs)Edit

Operator: Llywelyn2000 (talk · contributions · Number of edits · recent activity · block log · User rights log · uploads · Global account information)

Bot's tasks for which permission is being sought:

Add one template to around 100 images uploaded by User:Llywelyn2000, in the Category:Llandaff Cathedral - interior.

Edit type (e.g. Continuous, daily, one time run):


Maximum edit rate (e.g. edits per minute):

One / 10 seconds

Bot flag requested: (Y/N): Y

Programming language(s): AWB

Llywelyn2000 (talk) 11:05, 3 May 2016 (UTC)


I don't thin there is a botflag needed for just ~100 edits. The main account can be used. --Steinsplitter (talk) 14:19, 3 May 2016 (UTC)
EugeneZelenko If you are requesting a test run, please give access at Commons:AutoWikiBrowser/CheckPage. Riley Huntley (talk) 14:30, 3 May 2016 (UTC)
✓ Done --EugeneZelenko (talk) 14:32, 3 May 2016 (UTC)
@EugeneZelenko: You want approve a bot for 100 edits? Seriously? --Steinsplitter (talk) 14:35, 3 May 2016 (UTC)
  • (Edit conflict) There is not enough here for a bot task, editing 100 images does not warrant going through the BRFA process. Operator can makes these edits themselves using AWB, VFC or various other tools on their main account. User can also request a bot to do it at Commons:Bots/Work requests. Bot userpage contains a redirect to another wiki in, local bot policy requests you "make sure you have listed all information before requesting bot permission." If this task very well warrants a bot, please expand the description of the task by specifically stating which template you wish to add to these pages and include a manual example (diff). Riley Huntley (talk) 14:30, 3 May 2016 (UTC)
  • Symbol oppose vote oversat.svg Strong oppose per Riley, low amount of edits, for own ends only. Suggest speedy decline. --Krd 14:44, 3 May 2016 (UTC)
  • Symbol oppose vote oversat.svg Strong oppose per Riley. -- Poké95 02:17, 4 May 2016 (UTC)
  • Symbol support vote.svg Support Come on people. The 100 edits will hopefully be the first of many edits of this (for us new) bot operator. Bot has over 100.000 edits in another wiki so I'm sure by now Llywelyn2000 knows how to run a bot. No need to be overly bureaucratic here. Multichill (talk) 16:36, 4 May 2016 (UTC)
  • If the bot operator wishes for this task to be approved, they should folow my recommendations and further explain the task (which template and an example diff). In addition, they should run the bot trial before you support. ~riley (talk) 20:07, 4 May 2016 (UTC)
  • Symbol oppose vote oversat.svg Strong oppose a botflag for 100 edits is not needed at all. --Steinsplitter (talk) 16:41, 4 May 2016 (UTC)
  • Just a reminder that this is the discussion section, not the vote section. For those of you wanting to drop votes, please go to the ongoing RfA (coincidentally mine, not canvassing, feel free to oppose). Otherwise, let's stick to useful comments and let the 'crats handle this. <!-- This is not a vote. It is a discussion --> is below the section header for a reason. ~riley (talk) 20:07, 4 May 2016 (UTC)
Then I'll do it by hand. Thanks. Llywelyn2000 (talk) 05:06, 5 May 2016 (UTC)
If you are withdrawing your BRFA, please state so. You can request AWB access be transferred to your main account at Commons:Requests for rights#AutoWikiBrowser access as well, if interested. ~riley (talk) 18:59, 5 May 2016 (UTC)

BMacZeroBot (talk · contribs) 5Edit

Operator: BMacZero (talk · contributions · Number of edits · recent activity · block log · User rights log · uploads · Global account information)

Bot's tasks for which permission is being sought: Replace templates like {{PD-old-50}}, {{PD-old-50-1923}}, and {{PD-old-50-1996}} with {{PD-old-auto}}, {{PD-old-auto-1923}}, and {{PD-old-auto-1996}} respectively (including 'deathyear' parameter) where the page with the license also has a Creator template acting as an author with a readable death year.

This will usually be run at the same time as the task from Commons:Bots/Requests/BMacZeroBot 4. BMacZero (talk) 18:25, 12 March 2016 (UTC)

Automatic or manually assisted: Automatic

Edit type (e.g. Continuous, daily, one time run): One big run for now

Maximum edit rate (e.g. edits per minute): 6

Bot flag requested: (Y/N): N (already has)

Programming language(s): C#

BMacZero (talk) 18:25, 12 March 2016 (UTC)


I did a test run of 30 - see bot contribs. BMacZero (talk) 18:25, 12 March 2016 (UTC)

Looks good to me. --Krd 05:40, 13 March 2016 (UTC)
I think will be good idea to use link to templates in edit summaries. --EugeneZelenko (talk) 15:36, 13 March 2016 (UTC)
I refined the edit summaries (after a few small snafus), and ran more tests. I also fixed a problem with handling licenses inside {{PD-Art}}. BMacZero (talk) 06:43, 14 March 2016 (UTC)
Looks OK for me, but it's seems logical to use Wikidata as source of death date (if creator template is available). --EugeneZelenko (talk) 14:17, 14 March 2016 (UTC)
Added and tested a few. BMacZero (talk) 04:51, 15 March 2016 (UTC)
But could be date of death queried without copying it to file description? --EugeneZelenko (talk) 14:13, 15 March 2016 (UTC)
Oh I see what you mean. I hadn't considered that. I suppose it could be done with Arbitrary Access (eventually), though I don't think it can be done completely automatically - a bot would probably still have to go through and add the Creator's Wikidata ID as a parameter. Unless Scribunto can pull info from the Creator template on the page that transcludes the module? Maybe someone knows more. BMacZero (talk) 16:01, 15 March 2016 (UTC)
@BMacZero: Please advise what this is going to mean. Is this request obsolete per above comment? --Krd 09:18, 28 March 2016 (UTC)
@Krd: I started a discussion at Commons:Village_pump#Proper_implementation_of_PD-old-auto_with_Arbitrary_Access. BMacZero (talk) 16:57, 28 March 2016 (UTC)
Both User:Jarekt and I (so far) feel that the current implementation of PD-old-auto is still the best one. That would mean that we should go ahead with this request (can give the VP thread more time if you like, though). BMacZero (talk) 20:46, 4 April 2016 (UTC)
The deathyear seems the simpler and most clear. It is also a system we have been using for a while. I am OK with creating new mechanisms of passing information around by "quering without copying it to file description" but at the moment I can not think of a way to do it (we could copy Wikidata Q-codes instead and add an expensive function to look up the deathyear). So I would stick to the old ways of doing businesses. --Jarekt (talk) 01:59, 5 April 2016 (UTC)
By the way Some comments about edits:
  • I would not do {{PD-old-100}} -> {{PD-old-auto}} conversions. {{PD-old-auto}} will do a lot of non-trivial calculations before calling {{PD-old-100}}. I think we should verify and even add unused deathyear for clarity. But {{PD-old-100}} is so much simpler.
  • Edits like this are not the best option. If there is PD-Art or PD-Scan than PD-old-uto should be combined with it. Multiple PD-old templates should be merged.
  • Could you test on tricky cases with multiple Creator templates. PD-1923 (or {{PD-1996}}) and PD-old templates, which should be combined, etc.
--Jarekt (talk) 02:17, 5 April 2016 (UTC)
All sounds good - will do it when I get a chance. BMacZero (talk) 21:01, 6 April 2016 (UTC)
We may need to put this request on hold. I'm not sure when the next chance I'll get to work on it will be. BMacZero (talk) 17:20, 16 April 2016 (UTC)