Open main menu

Wikimedia Commons β

This project page in other languages:

Shortcut: COM:BRFA

Bot policy and list · Requests to operate a bot · Requests for work to be done by a bot · Changes to allow localization  · Requests for batch uploads

If you want to run a bot on Commons, you must get permission first. To do so, file a request following the instructions below.

Please read Commons:Bots before making a request for bot permission.

Requests made on this page are automatically transcluded in Commons:Requests and votes for wider comment.

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.

MBHbot (talk · contribs)Edit

Operator: MBH (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: renaming files with cyrillic/latin character mix in titles.

Automatic or manually assisted: every single launching (for specific character pair) will be done manually, then bot will perform this task automatically.

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

Maximum edit rate (e.g. edits per minute): as much as allowed. Using pywiki, potentially it can be up to 60 per minute.

Bot flag requested: (Y/N): Y.

Programming language(s): standard pywiki script

Wikimedia Commons contains several thousands of files with cyrillic/latin character mix in titles, here is a list. Many of them were bulk uploaded with the same error in title, for example files from Keukenhof with the cyrillic К in a latin name. I want to fix those cases through mass renaming using standard pywiki renamer. I used it many times earlier in other wikis, for example see 1 and 2. My bot has bot flag and 600 000 edits in ruwiki since 2011 and Chechen wiki since 2016. MBH (talk) 12:43, 23 May 2017 (UTC)


Embedded Data Bot (talk · contribs) (alteration 2)Edit

Operator: Zhuyifei1999, Steinsplitter, Revent

Bot's tasks for which permission is being sought: Alteration of Commons:Bots/Requests/Embedded Data Bot (adminbot): When condition #4 (require only 1 single file revision) do not match, perform an overwrite with the embedded part truncated, and revision delete the bad revision.

@Jdx: observed that the pirates are now actively exploiting the condition to bypass immediate deletion. They even uploaded a tutorial on how to bypass it.

This condition was originally used to prevent anyone from abusing the bot to delete an arbitrary page; some crazy logic could be used to extend the scope of automated immediate deletion to any eligible page under COM:CSD#G7 (uploader request), but if the pirates were to overwrite someone else's file CSD G7 would not pass, allowing easy deletion bypassing.

Perform a revdel would discourage the pirates from using this method (though the time-to-revdel may still be longer than time-to-deletion due ti requiring an overwrite), but may unfortunately leave a trail of copyvios for manual deletion.

Automatic or manually assisted: Automatic unsupervised

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

Maximum edit rate (e.g. edits per minute): Honestly, I don't know. The codebase is getting too complex.

Bot flag requested: (Y/N): N

Programming language(s): Python: Pywikibot

Zhuyifei1999 (talk) 09:28, 21 May 2017 (UTC)


  • Now test running. Revdel is not exactly stable due to requiring a refreshed file revision history after overwriting. The oldimage id won't be available until after overwrite. If things go wrong, the old {{embedded data}} tag would be applied. --Zhuyifei1999 (talk) 09:42, 21 May 2017 (UTC)
  • I'd suggest not to publish details of further alterations in order to avoid easily working around. --Krd 15:29, 21 May 2017 (UTC)
    @Krd: If that's the case, is announcing them in phab:Z567 enough? --Zhuyifei1999 (talk) 15:35, 21 May 2017 (UTC)
    I'd say yes, although I was unable to follow the discussion, to be honest. Anyway, you're doing a fantastic job here, and I'm not aware of any unaddressed problems, so unless something goes seriously wrong I'd suggest to continue at your discretion. --Krd 16:04, 21 May 2017 (UTC)

AndreCostaWMSE-bot (talk · contribs)Edit

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

Uploading freely licensed images from (primarily GLAM) collaborations with Wikimedia Sverige.

Bot's tasks for which permission is being sought: Image uploads

Automatic or manually assisted: Automatic

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

Maximum edit rate (e.g. edits per minute): ~ 3/min

Bot flag requested: (Y/N): Y (needed for the upload_by_url bit)

Programming language(s): python (using the pywikibot framework)

André Costa (WMSE) (talk) 16:23, 17 May 2017 (UTC)


This is the bot account I've started using for some of the bot work that I previously did for years with my volunteer bot account but which are now happening more in my role as an employee of Wikimedia Sverige (there are still also some GLAM specific bot accounts). Since the account switch happened on short notice this bot has actually already done a batch upload of National Gallery of Sweden paintings (info processing source code, upload source code).

The batch specific processing code for the next batch (images from the Cultural Heritage Board of Sweden) can be found here. The change between this and the other batches is that it will upload by url instead of from my local drive. /André Costa (WMSE) (talk) 16:23, 17 May 2017 (UTC)

Looks OK for me, but I think will be good idea if humans will participate to add subject related categories after uploads. --EugeneZelenko (talk) 14:25, 18 May 2017 (UTC)
I add maintenance categories to the cases where the categorisation is insufficient. We'll also try to have a drive to get people to give all of the images some love after they are uploaded but the results of that is of course outside of my control. /André Costa (WMSE) (talk) 13:33, 24 May 2017 (UTC)
  • Which is the volunteer bot account mentioned above? --Krd 15:27, 21 May 2017 (UTC)
    Sorry. That would be User:L_PBot (and looking at the page I realise I haven't updated it since 2012 whereas the bot has been doing an increasing numeber of tasks since 2007). /André Costa (WMSE) (talk) 13:33, 24 May 2017 (UTC)

BartBotje (talk · contribs)Edit

Operator: Bj.schoenmakers (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: Uploading nature related images from, and (and other sites in the future in aid of the dutch nature wikiproject Dutch)

Automatic or manually assisted: Automatic when manually initiated

Edit type (e.g. Continuous, daily, one time run): One time runs at the discretion of the operator

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

Bot flag requested: (Y/N): Y

Programming language(s): Perl using: MediaWiki::Bot and MediaWiki::API

Bj.schoenmakers (talk) 21:10, 23 April 2017 (UTC)


This bot already has a botflag for the Dutch wikipedia. I want to be able to use it for uploading image batches and as a back-end for a tool i'm creating, allowing users of, and (sites for nature observations) to publish media to commons using the correct copyright/attribution etc.

  •   Support. For plantennamen we have a valid OTRS-ticket (ticket:2017031610007597). Bot owner knows what he is doing and the pics at the sites mentioned are great. Natuur12 (talk) 23:18, 23 April 2017 (UTC)
  • Please make a few test edits. --Krd 06:33, 24 April 2017 (UTC)
  • Ok, did a few test-uploads in Category:Images from
    Please enclose author name in language tag. --EugeneZelenko (talk) 14:18, 25 April 2017 (UTC)
  • Please make dates complaint with {{ISOdate}} in the {{Information}} template to allow for multilingual dates. Example: |date=Tue Apr 25 01:16:25 2017 changed to |date=2017-04-25 01:16:25~riley (talk) 23:32, 25 April 2017 (UTC)
  •   Question Why doesn't plantennamen have the author's name anywhere? It makes your template statement "This permission only extends to photos taken by Maarten van der Veer at this link." very hard to interpret, because I can't see who any of the photos are by. --99of9 (talk) 02:09, 26 April 2017 (UTC)
    • There is a slight problem with the ticket. Most likely outcome: we will have too delete the test uploads from plantennamen. I will leave some detailed notes at the ticket in some days too explain what went wrong. Natuur12 (talk) 19:58, 26 April 2017 (UTC)
      • I nuked the uploads from Plantennamen. It turns out that this person didn't take at least a significant amount of the photographs himself. This was only found out after an extensive check off the test uploads. Most uploads contained consistent EXIF but some didn't. Perhaps we can still hoste some off the files in the future but not this day and given the situation not any day soon. Natuur12 (talk) 13:55, 2 May 2017 (UTC)
        • Always ask at least one question :). Thanks for investigating Natuur12. --99of9 (talk) 00:00, 3 May 2017 (UTC)
  • I'd be happy to see test uploads from the other sites. --99of9 (talk) 02:14, 26 April 2017 (UTC)
    • I did some test uploads from, and :
Natrix natrix (Colubridae) (European Grass Snake), Biebrza NP, Poland.jpg
Alces alces (Cervidae) (Eurasian elk), Biebrza NP, Poland.jpg
Eysarcoris venustissimus (Pentatomidae) (Woundwort Shieldbug) - (imago), Elst (Gld), the Netherlands - 2.jpg
Eysarcoris venustissimus (Pentatomidae) (Woundwort Shieldbug) - (imago), Elst (Gld), the Netherlands.jpg
Harmonia axyridis f. succinea (Coccinellidae) - (imago), Elst (Gld), the Netherlands.jpg
Diurnea fagella (Chimabachidae) - (imago), Elst (Gld), the Netherlands.jpg
Lophophanes cristatus (Paridae) (European Crested Tit) - (adult), Oberengadin, Switzerland.jpg
Pseudoips prasinana (Nolidae) (Green Silver-lines) - (imago), Zemst, Belgium.jpg
Bombylius major (Bombyliidae) (Dark-edged Bee-fly) - (imago), Arnhem, the Netherlands.jpg
Ommatoiulus sabulosus (Julidae) (Striped Millipede), Molenhoek, the Netherlands.jpg

Bj.schoenmakers (talk) 11:12, 8 May 2017 (UTC)

  • The latest upload contains {{LicenseReview}}. Ca we assume that the bot checked the license before the upload, can we consider this reviewed? --Krd 15:24, 21 May 2017 (UTC)

MidleadingBot (talk · contribs)Edit

Operator: Midleading (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: Batch upload files.

Automatic or manually assisted: Manually prepare the file list and files.

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

Maximum edit rate (e.g. edits per minute): upload: Depends on network, but usually two or one upload per min. edit: 6 per min

Bot flag requested: (Y/N): Y(management of files, query in batch of 5000 instead of 500)

Programming language(s): C#

Midleading (talk) 09:21, 13 May 2017 (UTC)


  • "Batch upload files" is very general. What files will be uploaded? Only scans of old books? // 你所说的“批量上传”太宽泛。有哪些文件将会被上传?只有古代书籍的扫描吗? --Zhuyifei1999 (talk) 09:43, 13 May 2017 (UTC)

Yes.是的。--Midleading (talk) 11:56, 13 May 2017 (UTC)

  • Definitely information related to copyrights is missing in descriptions. Language tags should be used too. --EugeneZelenko (talk) 14:29, 13 May 2017 (UTC)
There is a total list of uploads at zh:s:Special:PermanentLink/863487. It is about ~10 GB and ~2k files. All books are in the public domain. Description and detailed version information of each book is also provided in that table. Due to many volumes of a book may refer to the same description, it needs some time to associate these descriptions with each file, and re-debug of bot. I was thinking about adding these descriptions with another bot edit because it is easier to write a script to do text editing than uploading. I will fix the descriptions once I finish uploading or when I have written the code to update the info. I was running the bot because it uploads so slowly that it has very little impact on patrollers.--Midleading (talk) 16:10, 13 May 2017 (UTC)
Alternatively you could generate the all description before uploading, and then let us check a few to see if they are okay. Also would you mind adding some interwiki links to the description pages? (eg the source of File:A1746:方苞望溪先生集12-09.djvu could link to zh:四部叢刊.) Regarding scope and copyright LGTM. --Zhuyifei1999 (talk) 16:42, 13 May 2017 (UTC)
I have associated the descriptions and the files uploaded so far(about ~1K files). The descriptions are deployed by MidleadingBot on Wikisource now. An example is zh:s:Index:A0042:尔雅.djvu. The description is placed below the cover of the book. I can use my database to associate the files and descriptions on commons as well with this bot. 至于文件链接至维基百科,我觉得没有必要,因为分类已经链接至维基百科了,如果一定要链接,文件应当链接至相应的作者,而不是四部丛刊。--Midleading (talk) 02:29, 14 May 2017 (UTC)
然而我并没有看到Category:四部叢刊初編或者Category:四部叢刊集部有维基百科链接。链接作者当然也行,有总比没有好 --Zhuyifei1999 (talk) 04:22, 14 May 2017 (UTC)
请注意父分类Category:四部叢刊--Midleading (talk) 04:53, 14 May 2017 (UTC)






Midleading (talk) 05:55, 14 May 2017 (UTC)

维基百科简体繁体会自动转换,所以使用interwiki一般都没事。另目前状态通过维基数据连接维基百科条目与维基共享资源分类存在争议,之前有机器人专门删除此类链接,所以我不建议让维基数据链接作为唯一链接。interwiki相比保险很多 --Zhuyifei1999 (talk) 06:24, 14 May 2017 (UTC)

你觉得这个机器人现在还有什么问题需要解决的呢?需要等待一周行政员才过来授权吗?刚才那个洋人说的“Language tags”是什么,要放到哪里?还有,我这里还有大约600GB的其他扫描古籍,这些丛书大多没有整理得那么好的目录和作者信息,需要自己整理版权信息,即便是用半自动化的整理方法也需要很久,这些书籍也可以上传吗,还是需要整理以后才能上传,还是维持现状、不上传?--Midleading (talk) 07:12, 14 May 2017 (UTC)

"Language tag" 指如 {{en}}, {{zh-hant}} 子类的模板。一般而言文件说明要使用,可以参考刚评选出的2016年年度图片。其他600GB建议整理后上传,因为批量上传经常由于文件说明缺少质量引发争议(我不反对批量上传但有好几人反对)。关于授权,可能要等一阵子,这里BRFA进度慢得有时我都难受。 --Zhuyifei1999 (talk) 08:20, 14 May 2017 (UTC)
  Support with advice:
  1. 维基共享资源是所有语言维基媒体共享的资源库,标题中应包含英文拼音。
  2. 版本明确是《四部丛刊》的一大特点,建议在标题中体现。作者也应体现。版本和作者信息可以从这里找到。
  3. 古籍以繁体字命名。
  4. 编号非古籍本身的一部分,而是现代人所编。我觉得体现在标题里不当,可以在描述中体现。

File:A1763:戴震东原集4-1.djvu我觉得最好命名成:File:Sibu Congkan - 戴震東原集 - 戴震 - 上海涵芬樓藏經韻樓刊本 - 1.djvu。建议对未上传的图书按此方案命名,已经上传的图书移动。--維基小霸王 (talk) 01:17, 19 May 2017 (UTC)

我认为还是要在文件名中加入编号,因为这样既便于自己管理文件也便于他人管理文件。你那个版本信息不全,我已经自己整理了版本。--Midleading (talk) 08:01, 23 May 2017 (UTC)

If possible please give a short summary of the discussion in English when finished. Thx. --Krd 15:21, 21 May 2017 (UTC)

Summary: rename existing files to new naming convention proposed in zh:s:Project:Bot policy#User:MidleadingBot, and add file descriptions and version information from database at zh:s:Special:PermanentLink/863487. New uploads are uploaded with file names and descriptions in accordance to consensus. Add interwiki links to Chinese Wikipedia pages of the author. This task is part of a project to import 430k pages to zhwikisource. A file mover at Commons is requested for service. More details about this bot is at zh:s:Project:Bot policy#User:MidleadingBot--Midleading (talk) 02:39, 25 May 2017 (UTC)