Wikipedia:Bots/Requests for approval/MartinBotIV
- The following discussion is an archived debate. Please do not modify it. Subsequent comments should be made in a new section. The result of the discussion was Approved.
Automatic or Manually Assisted: Automatic
Programming Language(s): C#
Function Summary: Restores intro text on Wikipedia:Introduction and Wikipedia:Introduction 3
Edit period(s) (e.g. Continuous, daily, one time run): Continuous
Edit rate requested: One edit per min
Already has a bot flag (Y/N): N
Function Details: AVB used to monitor the Introduction header text, and restore it whenever it was removed. For some reason, MartinBot can't do this (although the code is there, I have to assume that some subtle modification needs to be made). To fix this, I've written a seperate bot in C#. If the header text is remvoed from Wikipedia:Introduction, the bot will re-insert the text, without blanking the page. If any edit is made to Wikipedia:Introduction 3, it is reverted immediately by the bot, removing all existing text and replacing it with only the header text. This bot is running now, so see its contribs for an example of how it is working.
Discussion
editJust one note - for now, the bot doesn't leave user warnings, but this could change in future.. Martinp23 14:19, 12 April 2007 (UTC)[reply]
- And another thing - the program gains knowledge of the page change from IRC (wikimedia rc feed), like MartinBot does. Martinp23 21:43, 12 April 2007 (UTC)[reply]
Approved for trial. Please provide a link to the relevant contributions and/or diffs when the trial is complete. Run for up to 3 days, and report back with info on how the trial went. --kingboyk 21:49, 12 April 2007 (UTC)[reply]
- Thanks - per a request on my talk page, I've just coded the bot to "reset" (ie clear) Wikipedia:Introduction every half hour, as User:Sandbot
used to dodoes elsewhere. Hope this is OK - Martinp23 13:31, 13 April 2007 (UTC)[reply]- Sounds fine. When are we going to see it in action? --kingboyk 14:33, 13 April 2007 (UTC)[reply]
- I thought it was running now, but it seems not... I've just started it, so it should be 30 mins until it resets (unless I've done my hours to milliseconds conversion wrong :)). Martinp23 14:52, 13 April 2007 (UTC)[reply]
- It's failed to catch my edits to Wikipedia:Introduction 3 twice now, although I am aware that the contribs are a bit slow catching up tonight, which may well be affecting the IRC feed too? --kingboyk 19:56, 13 April 2007 (UTC)[reply]
- Hmm - I think it was more of a slight coding mistake on my part - fixed now :) Martinp23 21:10, 13 April 2007 (UTC)[reply]
- It's failed to catch my edits to Wikipedia:Introduction 3 twice now, although I am aware that the contribs are a bit slow catching up tonight, which may well be affecting the IRC feed too? --kingboyk 19:56, 13 April 2007 (UTC)[reply]
- I thought it was running now, but it seems not... I've just started it, so it should be 30 mins until it resets (unless I've done my hours to milliseconds conversion wrong :)). Martinp23 14:52, 13 April 2007 (UTC)[reply]
- Sounds fine. When are we going to see it in action? --kingboyk 14:33, 13 April 2007 (UTC)[reply]
Trial complete - everything went well, and a few suggestions for improvements to the bot were made. As of half way through the trial, the bot has been fully reseting Introduction (1) when replacing the intro text, as the rubbish was still piling up quite quickly there. Martinp23 22:51, 15 April 2007 (UTC)[reply]
I just did another "vandalism" of Wikipedia:Introduction 3, and checked out Wikipedia:Introduction, and all seems well. Approved. --kingboyk 23:22, 15 April 2007 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made in a new section.