Commons:Bots/Requests/Hazard-Bot 6

Hazard-Bot (talk · contribs)

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

Bot's tasks for which permission is being sought: Adding the date's section header to the village pump

Automatic or manually assisted: Automatic

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

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

Bot flag requested: (Y/N): No

Programming language(s): Python

I've decided to take over, as O (bot) hasn't done this task since February 14, and the operator seems to be busy and/or inactive.  Hazard-SJ  ✈  06:49, 24 February 2013 (UTC)[reply]

Discussion

I wonder why there are so many insertions of same header? Did you just debug script? --EugeneZelenko (talk) 16:02, 24 February 2013 (UTC)[reply]
Looks like the bot inserts the header hourly rather than daily. Hazard-SJ, if you are testing to bot before the request is granted please do it supervised. This is not a particularly disruptive case though and easy to fix. --Dschwen (talk) 17:19, 24 February 2013 (UTC)[reply]
I fixed the issue. I fixed the crontab.  Hazard-SJ  ✈  03:44, 25 February 2013 (UTC)[reply]
Just in case there are any further issues, the bot now checks User:Hazard-Bot/Check/Villagepump (see instructions) before attempting to append the header, and checks if the header is already on the page.  Hazard-SJ  ✈  04:21, 25 February 2013 (UTC)[reply]
Well, ok, please test (block is expired). If this works as advertised then I see no reason not to approve this task. --Dschwen (talk) 17:39, 25 February 2013 (UTC)[reply]
https://commons.wikimedia.org/?diff=91487084  Hazard-SJ  ✈  00:08, 26 February 2013 (UTC)[reply]

Approved. --Dschwen (talk) 00:29, 26 February 2013 (UTC)[reply]