Commons:Bots/Requests/AhmadWikiBot 3

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

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

Bot's tasks for which permission is being sought: Removing {{DRbox}} from (some) closed DRs. When a DR is closed, there is no need to add the deletion template to the file page, to notify the uploader and/or to add the DR to the daily log. {{DRbox}} can be safely removed in this case. I got this idea when I read Special:PermaLink/416077648#Removal of DRbox when closing DRs, and I think using a bot for this purpose can be a good idea. The list is generated based on this search query, but I've modified the AWB not to remove the template from open discussions (so for example, if there is a closed DR and an open DR on a page where the open DR has the {{DRbox}}, the bot will not remove {{DRbox}}). I conducted 56 test edits, all available here. Thank you.

Automatic or manually assisted: Automatic, randomly supervising some edits to make sure the bot is running smoothly.

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

Maximum edit rate (e.g. edits per minute): Shouldn't be more than 30 edits per minute based on my experience.

Bot flag requested: (Y/N): N

Programming language(s): AutoWikiBrowser (AWB)

Ahmadtalk 21:18, 30 April 2020 (UTC)[reply]

Discussion

When DelReqHandler closes DRs without {{DRbox}} there is no empty line between {{Delh}} and the heading, however in the trial edits you add an empty line. Perhaps for uniformity the line should be removed completely.Jonteemil (talk) 23:29, 30 April 2020 (UTC)[reply]

Thanks for the feedback, Jonteemil. This should be fixed now; please check recent 20 edits (those with "test 2" in the edit summary). Ahmadtalk 23:49, 30 April 2020 (UTC)[reply]
Looks OK for me. --EugeneZelenko (talk) 14:20, 1 May 2020 (UTC)[reply]
Ahmad, I didn't check all of the test edits, did you take into account that {{DRbox}} can be positioned above the {{Delh}} tag? See 1, 2, 3, 4. Suggest testing these examples as well (or skip them intentionally ;). Best, --Achim (talk) 20:21, 4 May 2020 (UTC)[reply]
Thanks, Achim. I didn't notice that, but it's done now. I just ran it on Commons:Deletion requests/Image:Kana pink.jpg and Commons:Deletion requests/Image:EnriqueAndersonImbert.jpg with the new settings, and it seems to work fine. Ahmadtalk 21:07, 4 May 2020 (UTC)[reply]
Looks fine to me, no objections. --Achim (talk) 21:10, 4 May 2020 (UTC)[reply]

Approved. --Krd 04:02, 10 May 2020 (UTC)[reply]