Wikipedia:Bots/Requests for approval/DYKUpdateBot
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Approved.
Operator: Shubinator (talk · contribs)
Automatic or Manually assisted: Automatic
Programming language(s): Java (using the JavaWikiBotFramework)
Source code available: Yes
Function overview: Update the Did you know section of the Main Page
Links to relevant discussions (where appropriate): Wikipedia talk:Did you know#DYK bot crash
Edit period(s): Every 6-8 hours
Estimated number of pages affected: About 100 pages/day
Exclusion compliant (Y/N): N
Already has a bot flag (Y/N): N
Function details: This bot will duplicate the tasks of DYKadminBot. It will update DYK at regular time intervals (usually 6-8 hours), tag articles that appear on DYK, credit nominators of DYK pages, and archive DYK sets. The bot will also tag files that appear at DYK, unlike DYKadminBot. The bot will require the admin bit since it'll be editing fully protected pages like Template:Did you know.
Discussion
[edit]- Approved for trial (~ 5 days or whenever you think the bot seems ready,userspace only). Please provide a link to the relevant contributions and/or diffs when the trial is complete. This bot needs to be on the Bot-approval group's priority list, as right now the job is being done by humans. I'll take a look through the page you linked to show consensus, and for right now I'll give you a go-ahead for a trial. Have the bot update a user-page for a few days, just so that you can work out some of the bugs that might still be in your code. Good luck, and when you're done, give us a link to your test-page. Tim1357 (talk) 02:07, 22 February 2010 (UTC)[reply]
- For the consensus, see WT:DYK#DYKUpdateBot at BRFA. Ucucha 02:09, 22 February 2010 (UTC)[reply]
- Thanks! I've got a fairly extensive sandbox that mirrors the DYK pages. However, I can't test the article and file tagging parts in a sandbox; can the bot either 1) give out normal credits to the proper articles and file, or 2) edit a few pages (like Talk:Test and File:Example.jpg? Shubinator (talk) 05:29, 22 February 2010 (UTC)[reply]
- Hmm, I forgot about that bit. I say the bot can do 50 edits outside of it's own user-space. If you feel that the bot is not well tested after that, feel free to go over 50, it's more of a guideline then a limit anyways. — Preceding unsigned comment added by Tim1357 (talk • contribs)
- Ok, thanks! Shubinator (talk) 05:41, 22 February 2010 (UTC)[reply]
- This is an unrelated comment, but your bot image is way too standard. Get something better :) NativeForeigner Talk/Contribs 02:12, 23 February 2010 (UTC)[reply]
- I was just thinking of changing it last night...done. Shubinator (talk) 05:06, 23 February 2010 (UTC)[reply]
- This is an unrelated comment, but your bot image is way too standard. Get something better :) NativeForeigner Talk/Contribs 02:12, 23 February 2010 (UTC)[reply]
- Ok, thanks! Shubinator (talk) 05:41, 22 February 2010 (UTC)[reply]
- Hmm, I forgot about that bit. I say the bot can do 50 edits outside of it's own user-space. If you feel that the bot is not well tested after that, feel free to go over 50, it's more of a guideline then a limit anyways. — Preceding unsigned comment added by Tim1357 (talk • contribs)
- Thanks! I've got a fairly extensive sandbox that mirrors the DYK pages. However, I can't test the article and file tagging parts in a sandbox; can the bot either 1) give out normal credits to the proper articles and file, or 2) edit a few pages (like Talk:Test and File:Example.jpg? Shubinator (talk) 05:29, 22 February 2010 (UTC)[reply]
- For the consensus, see WT:DYK#DYKUpdateBot at BRFA. Ucucha 02:09, 22 February 2010 (UTC)[reply]
Trial complete. I've completed the trial for everything except file tagging. See the bot's contribs for the trial edits. At first the bot was thinking it had edited when it really hadn't, so I added code to check if an edit had processed. (This problem was worse because the bot account wasn't autoconfirmed, so the API didn't like the high edit speeds.) Everything else went as planned. The bot distributed credits for two of the runs. I thought about the file tagging task, and it doesn't fit with everything else; tagging a c-uploaded image is pointless since it will be deleted anyways. So instead I've added code for the bot to delete {{c-uploaded}} images coming off of DYK if: 1) the file is on Commons with the same filename, 2) it's tagged with {{c-uploaded}}, and 3) there were no revisions on the file before it was uploaded. I'm not sure how to go about testing the image deletion without actually deleting some images, which would of course require the admin bit. Shubinator (talk) 20:02, 27 February 2010 (UTC)[reply]
- Seems pretty good. If nobody else opposes this, I'll approve it in 3 days. That way we have some time for people to comment. Tim1357 (talk) 23:09, 27 February 2010 (UTC)[reply]
- Cool. I'll keep the bot running in my sandbox in case other bugs pop up. Shubinator (talk) 02:04, 28 February 2010 (UTC)[reply]
- Approved. Looks like nobody has raised any concerns. Ill try to track down a Bureaucrat to get your bot a sysop and bot flag. Tim1357 (talk) 23:28, 2 March 2010 (UTC)[reply]
- Cool. I'll keep the bot running in my sandbox in case other bugs pop up. Shubinator (talk) 02:04, 28 February 2010 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.