Wikipedia:Bots/Requests for approval/Swimmingbot-awb 2
- 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.
Operator: Printer222 (talk)
Automatic or Manually Assisted: Automatic, supervised.
Programming Language(s): AWB
Function Summary: As per request at Wikipedia:Bot_requests#Mark_Prindle_reviews
Edit period(s) (e.g. Continuous, daily, one time run): One time run
Already has a bot flag (Y/N): Y
Function Details: BOT goes through each article in a compiled list. If the text *[[Mark Prindle]] {{rating-10|*}}) OR * [[Mark Prindle]] (*/10) (these are the 2 types of rating formats) are present in the article the bot then replaces the whole line (using a Regular Expresion this is possible) with nothing (so it deletes it). This is important as part of the rating is a link and each link is different depending on the article.
The * is a variable, so it goes through, all posibilities, ie) 10|1 10|2 10|3, or 1/10, 2/10, 3/10 and so on.
Quite a simple process
Discussion
[edit]- Approved for trial (15 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. - Start slow to see that it works OK, then you can get full approval for the rest. —Giggy 10:11, 30 June 2008 (UTC)[reply]
- Trial complete went through 24 articles.
- 9 of these, the bot recognised that the article did not have the text contaning that review rating, so it skiped it. I have gone through these 9 articles to ensure that they did not have the specified text.
- 15 articles had the review rating text, so it was correctly removed. 15 edits were made as per the trial instructions.
As far as i can tell there are no issues, i did do alot of manual testing (not saving the pages using the bot), and came accross a couple of different versions of the review rating text, ie) some did not have the interwiki link to the authour of the review, and there are a few versions of the Please specify a rating. template. With help, we came up with fixes to address these issues. I can't think of anything else that could go wrong,
There are 122 more articles to go through, so when i get the all-clear, its ready to run. Cheers Printer222 (talk) 16:38, 1 July 2008 (UTC)[reply]
- {{BAGAssistanceNeeded}}
- It's been long enough, i think it's time that i get approval. Printer222 (talk) 02:30, 5 July 2008 (UTC)[reply]
- In my experience, Printer222 has been very willing to ask for help and fix problems that arise. I have no doubt that, if this task somehow caused unexpected problems, Printer222 would be quick to clean up after himself. But I can't imagine any problems with this task. I think a green flag would be appropriate. – Quadell (talk) (random) 14:23, 5 July 2008 (UTC)[reply]
- No problems here, Approved. Soxred 93 05:35, 6 July 2008 (UTC)[reply]
- In my experience, Printer222 has been very willing to ask for help and fix problems that arise. I have no doubt that, if this task somehow caused unexpected problems, Printer222 would be quick to clean up after himself. But I can't imagine any problems with this task. I think a green flag would be appropriate. – Quadell (talk) (random) 14:23, 5 July 2008 (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.