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 Symbol keep vote.svg Approved.

MartinBotIV
Operator: Mart inp23

Automatic or Manually Assisted: Automatic

Programming Language(s): C#

Function Summary: Restores intro text on Introduction and 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 Introduction, the bot will re-insert the text, without blanking the page. If any edit is made to 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
Just one note - for now, the bot doesn't leave user warnings, but this could change in future.. Mart inp23 14:19, 12 April 2007 (UTC)
 * And another thing - the program gains knowledge of the page change from IRC (wikimedia rc feed), like MartinBot does. Mart inp23 21:43, 12 April 2007 (UTC)

Run for up to 3 days, and report back with info on how the trial went. --kingboyk 21:49, 12 April 2007 (UTC)
 * Thanks - per a request on my talk page, I've just coded the bot to "reset" (ie clear) Introduction every half hour, as User:Sandbot used to do does elsewhere. Hope this is OK - Mart inp23  13:31, 13 April 2007 (UTC)
 * Sounds fine. When are we going to see it in action? --kingboyk 14:33, 13 April 2007 (UTC)
 * 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 :)). Mart inp23  14:52, 13 April 2007 (UTC)
 * It's failed to catch my edits to 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)
 * Hmm - I think it was more of a slight coding mistake on my part - fixed now :) Mart inp23 21:10, 13 April 2007 (UTC)

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. Mart inp23 22:51, 15 April 2007 (UTC)

I just did another "vandalism" of Introduction 3, and checked out Introduction, and all seems well. --kingboyk 23:22, 15 April 2007 (UTC)


 * 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.