Commons:Bots/Requests

This project page in other languages:

Shortcut: COM:BRFA

Gnome-system-run.svg

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.

Bot5958 (talk · contribs)Edit

Operator: Hans5958 (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)

Bot's tasks for which permission is being sought: Adding missing Law of the Republic of Indonesia (Undang-Undang Republik Indonesia) documents (1537 PDF files) from the official source (public domain), and updating description of existing documents. Other law texts will follow on later requests. Also wanted to create the subcategories by year.

Automatic or manually assisted: Automatic with supervision

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

Maximum edit rate (e.g. edits per minute): As fast as how long uploading to Commons, with maximum of 1 every 5 seconds.

Bot flag requested: (Y/N): Yes (probably)

Programming language(s): Node.js and Python/Pywikibot (source code)

Hans5958 (talk) 07:44, 11 August 2022 (UTC)

Discussion

Addendum: Here's the related discussion about the work in general. Hans5958 (talk) 09:55, 11 August 2022 (UTC)

Addendum: I have uploaded the source code here. Hans5958 (talk) 17:05, 11 August 2022 (UTC)

Please make test run for each task. --EugeneZelenko (talk) 14:06, 11 August 2022 (UTC)

@EugeneZelenko
It turns out that I can't upload anything through the bot account, it says "WARNING: API error cantcreate: You do not have permission to create new pages.". This means I can't upload files and create categories. Do you have any solutions to this?
I would do the the description/info updater tommorow, as I still need to prepare about it. Hans5958 (talk) 17:03, 11 August 2022 (UTC)
  On hold I guess this is because I logged the account on Commons quite early, and I have to wait for the autoconfirmed role. Expect the tests to be run on 15 August. Sorry for the wait. Hans5958 (talk) 06:56, 12 August 2022 (UTC)
  Done. Bot is confirmed user now. --EugeneZelenko (talk) 14:17, 12 August 2022 (UTC)
Didn't expect you could override that. Thanks for the help on that one. Hans5958 (talk) 02:20, 13 August 2022 (UTC)
On that note, I have the simulation that contains the files to be uploaded. (now 1502 files) Hans5958 (talk) 10:45, 12 August 2022 (UTC)
  Done for file information updater (6 edits) Hans5958 (talk) 06:07, 12 August 2022 (UTC)
Please put each translation in own line or consider to use template based on Wikidata. Will be good idea to reflect actual changes in edit summaries instead of generic text. --EugeneZelenko (talk) 14:17, 12 August 2022 (UTC)
  Done (3 edits with "TEST 2") I'm not sure how the Wikidata template works, so I have opted to separate them to their own newline. Edit summaries should be improved now. Hans5958 (talk) 17:00, 12 August 2022 (UTC)
See {{Creator}} as example. Edit summaries look OK for me. --EugeneZelenko (talk) 15:05, 13 August 2022 (UTC)
I think I got {{Creator:Government of Indonesia}} working, would I need to do another test for this? Hans5958 (talk) 15:31, 13 August 2022 (UTC)
  Done for uploading law texts (3 edits with summary [TEST] Task 1: Add Indonesia law text). Hans5958 (talk) 02:20, 13 August 2022 (UTC)
  Done for subcategories per year (3 edits with summary [TEST] Task 1: Prepare Indonesia law categories by year). Hans5958 (talk) 03:07, 13 August 2022 (UTC)
Both look OK for me. --EugeneZelenko (talk) 15:05, 13 August 2022 (UTC)

AskeBot (talk · contribs)Edit

Operator: Askeuhd (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)

Bot's tasks for which permission is being sought: Supplemental task request to Commons:Bots/Requests/AskeBot, for cropping images such as this [1] or this [2]

Automatic or manually assisted: Manually assisted

Edit type (e.g. Continuous, daily, one time run): Intermittent batch runs, based on prepared data. Stops on errors.

Maximum edit rate (e.g. edits per minute): Increase to 1 edit per second

Bot flag requested: (Y/N): N/A bot flag already active

Programming language(s): Go

Discussion

Many of the older images from EOL have a white bar indicating the NASA id for this particular picture. This is not very useful for the users of Commons and their sister projects. I would like to crop out this white bar from existing photos.

The photos are easily identifiable as their dimensions are off ratio, and their metadata additionally indicates being edited in Photoshop. I search for these exact dimensions such as 3032x2064 and 4288x2929 within hand selected categories where such images are known to be located, such as Category:ISS Expedition 15 Crew Earth Observations (dump) or Category:ISS Expedition 18 Crew Earth Observations.

I crop the images losslessly using jpegtran and retain original metadata using exiftool (inspired by cropbot). I have completed a short test run: [3] [4] [5] [6] [7]

--Askeuhd (talk) 08:45, 8 August 2022 (UTC)

Will be good idea to write in upload summary what exactly was cropped (i.e, photo ID). --EugeneZelenko (talk) 14:12, 8 August 2022 (UTC)
@EugeneZelenko: excellent suggestion, thank you. I have done this test run with your suggestion [8] - is this what you had in mind? --Askeuhd (talk) 15:05, 8 August 2022 (UTC)
Yes. Looks OK for me. --EugeneZelenko (talk) 15:06, 8 August 2022 (UTC)
@EugeneZelenko: Thank you. Should we wait a couple of days for community input before commencing with the task? --Askeuhd (talk) 16:03, 8 August 2022 (UTC)
Sure, it's reasonable to wait for other people opinions. --EugeneZelenko (talk) 22:41, 8 August 2022 (UTC)

Taylorbot (talk · contribs)Edit

Operator: Taylor 49 (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)
Bot's tasks for which permission is being sought: fix sorting hints/keys example (including trivial cleanup ie removal of trailing spaces and excessive blank lines)
Automatic or manually assisted: automatic, supervised at the beginning
Edit type: one time run as needed
Maximum edit rate: 12 edits / mi
Bot flag requested YES
Creator of the bot code: myself (the operator)
Programming language(s): ASM+BAS

Taylor 49 (talk) 18:05, 11 July 2022 (UTC)

Discussion

Please make test run. --EugeneZelenko (talk) 14:15, 12 July 2022 (UTC)

@User:EugeneZelenko   Done. Taylor 49 (talk) 19:37, 14 July 2022 (UTC)
Please make better edit summaries. I think will be good idea to mention category and key there. I don't think that words should be merged in key, like in File:Fi-vegaani-ei-syö-ruokaa-jossa-on-eläinperäisiä-lisäaineita.ogg or File:Fi-Minä olen kaksikymmentäviisi vuotta vanha.ogg. --EugeneZelenko (talk) 14:25, 15 July 2022 (UTC)
@User:EugeneZelenko Better edit summaries are possible. Whitespace and greyspace is removed in order to give a more predictable position of files containing commas, brackets, long, superlong and hyperlong dashes etc. Not merging is not really difficult, on the contrary. Taylor 49 (talk) 22:20, 15 July 2022 (UTC)
I think it's good idea to make keys same as they should appeared in print (== readable). --EugeneZelenko (talk) 14:38, 16 July 2022 (UTC)

DoggoBot (talk · contribs)Edit

Operator: EpicPupper (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)

Bot's tasks for which permission is being sought: Recategorizing files in Category:San Antonio Express Vol. 39 to Category:San Antonio Express Vol. 49, recategorizing files in Category:San Antonio Express Vol. 45 to Category:San Antonio Express Vol. 55, renaming and editing files in Category:San Antonio Express Vol. 39 from "Vol. 39" to "Vol. 55", renaming and editing files in Category:San Antonio Express Vol. 45 from "Vol. 45" to "Vol. 49".

Automatic or manually assisted: Automatic

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

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

Bot flag requested: (Y/N): Y

Programming language(s): Cat-a-lot, mwclient for renaming, VFC for editing

EpicPupper (talk) 03:15, 2 March 2022 (UTC)

Discussion

This was requested at bot requests.

Please make test runs for each task. Please use edit summaries similar to Help:Gadget-HotCat and User:CommonsDelinker. --EugeneZelenko (talk) 15:33, 2 March 2022 (UTC)
Hi @EugeneZelenko, I've run a trial for the recategorizing (18 edits). My bot needs filemover to do the other part; could that be given, please? Thanks! EpicPupper (talk) 21:51, 2 March 2022 (UTC)
Changing categories looks OK for me. I granted file mover right to bot account for week. --EugeneZelenko (talk) 15:31, 3 March 2022 (UTC)
Hi EugeneZelenko, I've finished the trial (recategorization, renaming, edits). For some of the earlier edits I forgot to set an edit summary, but I did so for the later ones. Cheers, EpicPupper (talk) 01:57, 4 March 2022 (UTC)
Please omit - Doing 1 replacements from description changes. It would be reasonable to move unused files without leaving redirect. --EugeneZelenko (talk) 15:16, 4 March 2022 (UTC)

@EpicPupper and EugeneZelenko: Please summarize what is missing here. --Krd 13:16, 4 May 2022 (UTC)

@EugeneZelenko and Krd, the edit summary was requested to be changed; I'm not sure this is possible in Cat-a-lot. I'm concerned about not leaving redirects for file moves as offwiki sites might link to the old versions, and we should try to prevent link rot as much as possible. See also "Redirects as cheap" on enwiki. EpicPupper (talk) 13:30, 4 May 2022 (UTC)
Please repeat test run. --EugeneZelenko (talk) 14:32, 4 May 2022 (UTC)
@EugeneZelenko could you grant file mover for a month, please? Thank you. EpicPupper (talk) 00:58, 5 May 2022 (UTC)
Recategorizing done. EpicPupper (talk) 01:21, 5 May 2022 (UTC)
  Done. Please also perform text replacements. --EugeneZelenko (talk) 14:41, 5 May 2022 (UTC)

@EpicPupper: Please report the status of this request. --Krd 09:34, 4 June 2022 (UTC)

I’ve performed multiple test runs; I don’t think it’s beneficial to do more. I would like a decision on this request. EpicPupper (talk) 20:40, 4 June 2022 (UTC)
I requested to repeat text replacements test and it's still not done. --EugeneZelenko (talk) 14:35, 5 June 2022 (UTC)
I'd like to clarify that I've already performed text replacement trial runs/ EpicPupper (talk) 20:15, 19 June 2022 (UTC)
Last text replacement I see in bot's contribution was done March 7 and edit summary was Fixing volume number to actual number - Doing 1 replacements., so test run with fixed edit summary was not repeated. --EugeneZelenko (talk) 14:12, 22 June 2022 (UTC)