Commons:Bots/Requests/Athikhun.suwBOT

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Athikhun.suwBOT (talk · contribs)

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

Bot's tasks for which permission is being sought: The intention of this bot's task is to add category (See mw:Manual:Pywikibot/category.py) to hundreds or thousands of photos submitted as part of our user group's photo contests including the Commons:Wiki Loves Earth 2016 in Thailand, Commons:Wiki Loves Monuments 2016 in Thailand, and future events. The sorting will allow for easier judging for both organisers and juries.

Update 22 July: The only remaining bot's task to be requested is to use it to send messages on usertalks, i.e., to notify the winners or as part of the contest campaign to engage more participants.


Automatic or manually assisted:Manually assisted

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

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

Bot flag requested: (Y/N): Yes

Programming language(s): python (pywikibot as framework)

Athikhun.suw (talk) 15:05, 11 July 2016 (UTC)[reply]

Discussion

Please make 10 test edits. --Krd 17:27, 11 July 2016 (UTC)[reply]

Done. --Athikhun.suw (talk) 07:18, 12 July 2016 (UTC)[reply]
What do anatomy images have in common with WLM/WLE as stated in your request?
In those test cases, shouldn't the supercategory Anatomy be removed? --Krd 07:52, 12 July 2016 (UTC)[reply]
I tried to demonstrate by adding a category to those pages, which resembles the task we did for the WLE. For WLE, we used the category.py listify script to list all the uploaded images then we divided them equally into three different groups (e.g., group A, B, C). A category was then added to each group using the category.py add. Each jury would have to judge only certain groups to reduce workload. This is how we managed it. The category Anatomy should be removed too. I'm still figuring out how to do it, though. --Athikhun.suw (talk) 08:25, 12 July 2016 (UTC)[reply]
Please see more bot's contributions. --Athikhun.suw (talk) 09:07, 12 July 2016 (UTC)[reply]
Looks like you should replace two parents categories instead of just adding child one. --EugeneZelenko (talk) 13:52, 12 July 2016 (UTC)[reply]
Yes. They will all be removed soon upon the completion of the judging. --Athikhun.suw (talk) 03:39, 13 July 2016 (UTC)[reply]

All categories used during the judging have been removed. --Athikhun.suw (talk) 07:50, 16 July 2016 (UTC)[reply]

Any update? --Athikhun.suw (talk) 05:32, 20 July 2016 (UTC)[reply]
Please elaborate which tasks are open and to be discussed here. Feel free to do 10 test edits related to the intended tasks. Thank you. --Krd 06:53, 20 July 2016 (UTC)[reply]
If you follow closely the bot's contributions, you will notice hundreds of edits related to the intended tasks. Do I need to make further test edit? Here's the commands that were used:

1) List all the pages under the Category:Images_from_Wiki_Loves_Earth_2016_in_Thailand. We have 422 files submitted, therefore, we got 422 lines of the list of pages.

python pwb.py category.py listify

2) Equally divide the pages from the list into 3 groups (A, B, and C), and put them in separate txt files. ~141 files for each txt.

3) A category was temporarily assigned to each group (A, B, and C in our case) using the following command. Each group was then sent to juries according to our systematic judging process.

python pwb.py category.py add -file:(txt file directory)

4) After the completion of the judging. The following command was used to remove images in the categories.

python pwb.py category.py remove

Done. --Athikhun.suw (talk) 06:21, 21 July 2016 (UTC)[reply]

Dear Athikhun.suw, when I follow closely the bot's contributions I'm getting the impression that you already have been running the jobs at full scale and additionally are doing a lot of things that are not listed in this request, that's why I'm asking what is already done and what is left to be approved here. --Krd 15:54, 21 July 2016 (UTC)[reply]
Thank you for your reply. Sorry that I did not report/clarify some of the additional tasks that the bot performed. I also run the bot to send messages to the contest winners using the following command. --Athikhun.suw (talk) 03:56, 22 July 2016 (UTC)[reply]
python pwb.py add_text.py -file:"(file directory containing list of winners' usertalk pages)" - text:”(text to be added to their usertalks)

Thank you for pointing that out! That's a good alternative. I never thought of that before. :) Next time we'll just use listify command and from that we can create a page with all photos. No need to create a temporary cat.

The \n serves as "enter" or to create a new line in the command. Also, next time I will make sure to add edit summary.

Looks like everything has been consulted. Therefore, the only remaining bot's task to be requested is to use it to send messages on usertalks, i.e., to notify the winners or as part of the campaign to engage more participants.

Thank you again everyone. Cheers --Athikhun.suw (talk) 03:56, 22 July 2016 (UTC)[reply]

Admins can send out mas messages using Special:MassMessage. So you can ask an admin or on AN to send them out for you. --Steinsplitter (talk) 08:50, 23 July 2016 (UTC)[reply]
@Athikhun.suw: Will Special:MassMessage be sufficient for your needs, or shall this be done by bot task? --Krd 17:21, 1 August 2016 (UTC)[reply]
It would be more convenient for us if done by bot. Thank you. --Athikhun.suw (talk) 23:51, 1 August 2016 (UTC)[reply]
Well, there is MassMessage and i think it should be used. There is no benefit in granting botflag to an botaccount for just sending out notifications. --Steinsplitter (talk) 10:44, 2 August 2016 (UTC)[reply]
@Athikhun.suw: Any response to Steinsplitter? Requesting a bot flag on the basis of convienence when technology is already built in to the wiki for the same purpose is counterintuitive. ~riley (talk) 05:00, 6 August 2016 (UTC)[reply]

I do understand the unencessity of using bot just to send out notifications. I will just ask one of the admins in our usergroup to perform the task using Special:MassMessage. Thank you --Athikhun.suw (talk) 12:30, 6 August 2016 (UTC)[reply]

I'm going to close the bot request as withdrawn. Thanks to all! --Krd 12:52, 6 August 2016 (UTC)[reply]