Wikipedia:Bots/Requests for approval/DodoBot 5
- 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: EdoDodo (talk · contribs)
Automatic or Manually assisted: Automatic, unsupervised
Programming language(s): Python (Pywikipedia)
Source code available: This is the first moderately large script I write in Python, so the code isn't the cleanest, but anyway it's available here.
Function overview: The bot will keep a list of recently created pages that previously deleted. It will also remove the pages from the list of they are tagged for deletion (speedy, PROD or AFD), changed to redirects, or deleted.
Edit period(s): Continuous
Estimated number of pages affected: One, several dozen times a day
Exclusion compliant (Y/N): Not applicable (will only edit one page)
Already has a bot flag (Y/N): Yes
Function details: The bot will get the titles of the 10 most recently created pages every 60 seconds. If there are new pages that the bot hasn't checked yet, it will check them and if they have previously been deleted, and were created by a user with less than 100 edits, add them to User:DodoBot/Recreated Pages (could be moved to the Wikipedia namespace after testing). The bot will also remove pages if they are tagged for any type of deletion, changed to redirects, or deleted. The bot will build an edit summary that describes all the changes it made, but if this is longer than 255 characters will fallback to a generic edit summary. Everything that is highlighted and a bunch more settings can be configured at User:DodoBot/Config, which is reloaded every 3 cycles through the code.
Discussion
editHello EdoDodo. Are you still interested? —I-20the highway 22:41, 26 August 2010 (UTC)[reply]
- What do you mean? In getting bot approved? Sure. - EdoDodo talk 01:42, 27 August 2010 (UTC)[reply]
- Approved for trial (1 week). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Technically this bot probably doesn't even need approval (since it only edits its own userspace), but seeing as how it will make a lot of API calls and potentially a lot of edits I guess it's a good idea. –xenotalk 14:54, 3 September 2010 (UTC)[reply]
- Trial started. Indeed, and also I would like to get approval for this in case it is changed to a noticeboard in the Wikipedia namespace (I'll start a discussion to see if there would be consensus for one later). - EdoDodo talk 15:24, 3 September 2010 (UTC)[reply]
- On Oliver Edwards recreation: creator has more than 100 edits. How will administrators be able to flag a page as "checked - ok" ? –xenotalk 15:50, 3 September 2010 (UTC)[reply]
- Ditto The New Man in Charge. –xenotalk 16:38, 3 September 2010 (UTC)[reply]
- Looks like I have some debugging to do. Bot temporarily stopped. - EdoDodo talk 16:39, 3 September 2010 (UTC)[reply]
- I think that's sorted. Pages will be removed from the list if they are deleted, tagged for deletion, or marked as patrolled. Running bot again now, so we can see how it goes. - EdoDodo talk 17:14, 3 September 2010 (UTC)[reply]
I left the bot running overnight, but a bug caused it to stop working, so it didn't make any edits throughout the night. Fixed this morning so it's up and running now, and working properly. As I said, so far so good. It even worked properly when a page was rapidly deleted and then recreated, it removed it when it was deleted and readded it when it was recreated shortly after. - EdoDodo talk 12:26, 4 September 2010 (UTC)[reply]
- Some issues with Unicode caused the bot to crash several times today. Also the issue that caused the edit count to sometimes be ignored popped up again, I think it's sorted for real now. - EdoDodo talk 20:16, 4 September 2010 (UTC)[reply]
Bot has been running for a few days now, going okay as far as I can see. - EdoDodo talk 09:12, 6 September 2010 (UTC)[reply]
- Trial complete. Went okay. - EdoDodo talk 16:46, 8 September 2010 (UTC)[reply]
- Some further refinement is certainly possible (maybe exclude stuff that was deleted more than x days ago), but I don't see any barriers to approval. –xenotalk 16:50, 8 September 2010 (UTC)[reply]
- Approved. –xenotalk 15:41, 10 September 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.