Commons:Bots/Requests/VICBot2

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

VICBot2 (talk · contribs)

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

Bot's tasks for which permission is being sought: Taking over VIC handling from User:VICbot temporarily

Automatic or manually assisted: automatic

Edit type (e.g. Continuous, daily, one time run): 2x/day

Maximum edit rate (e.g. edits per minute): limited by pywikibot's throttle

Bot flag requested: (Y/N): y

Programming language(s): python

GeneralNotability (talk) 14:59, 9 October 2020 (UTC)[reply]

Discussion
  • This is a bit of an unusual request. User:VICbot isn't functioning correctly (it isn't actually promoting images, although it appears to still be running) and its operator is not responsive. Its source code is openly available, so I have taken the code, made a bunch of fixes, and updated it to Python 3. I would like VICBot2 to take over VICbot's duties until either its operator responds or its operator is inactive for long enough that I can file an "adoption" request (at which point I would move the same code to run under the actual VICbot account. The tasks should be nearly identical to what VICbot is approved to do. I confess that I inadvertently ran the bot twice the other day without approval (I forgot to pass the -simulate flag when running a test), nearly had a heart attack when I found out about that, but I've cleaned up its mess and I am really sorry about that. GeneralNotability (talk) 14:59, 9 October 2020 (UTC)[reply]
    Looks good to me, please feel free to make extended tests. --Krd 07:38, 10 October 2020 (UTC)[reply]
    Looks OK for me, but will be good idea to block malfunctioning bot after approval of this one, so they will not interfere in each other work. --EugeneZelenko (talk) 13:40, 10 October 2020 (UTC)[reply]
  • Bot has run a couple times (it is only run manually right now, not on a schedule), hit a couple of issues that I've fixed along the way. GeneralNotability (talk) 17:52, 12 October 2020 (UTC)[reply]
  • I've made two fairly significant changes:
    • Rewrote the bot from the ground up so that I can give it a proper license (almost everything is working, though there's an issue with it not removing entries from Commons:Valued image candidates/candidate list...working on that now). General functionality is almost identical, though I took out the code that lists candidates in scope galleries since it looks like nobody actually used that feature. It's still running in manual-only mode for now.
    • Created User:VICBot2 for it to run under.
  • Every time I run it, I'm spot-checking its work, haven't seen any major issues so far other than the candidate list mentioned above. GeneralNotability (talk) 19:06, 17 October 2020 (UTC)[reply]

Approved. --Krd 05:12, 18 October 2020 (UTC)[reply]