Wikipedia:Bots/Requests for approval/RussBot


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

RussBot
Operator: Russ (talk)

Automatic or Manually Assisted: Automatic

Programming Language(s): Python

Function Summary: Move pages from redirected categories to correct categories

Edit period(s) (e.g. Continuous, daily, one time run): Once a week, at first

Edit rate requested: 6 edits per minute

Already has a bot flag (Y/N): Y

Function Details: The bot will identify all category pages that have category redirect transcluded onto them (source categories). It will determine the target category identified in the template parameter (target category). It will then try to move all pages from the source category to the target category, using the existing Pywikipedia bot.

Discussion
Looks like there's a bot that does this already, but seems. . . broken at the moment. Might shoot them a message first. Q T C 18:42, 31 August 2007 (UTC)


 * Thanks. I have shot the message as suggested.  It looks like that bot has been inoperative since mid-July, but it still runs every 6 hours and logs an exception.  --Russ (talk) 20:01, 31 August 2007 (UTC)
 * If its toolserver run, it may want stopping - As its wasted resources. But if its been inactive for a while, no harm in having another bot doing it. Reedy Boy 23:10, 1 September 2007 (UTC)
 * Standard code, looks good. I'd approve it for a run if I could.  ~   Wi ki  her mit  21:17, 4 September 2007 (UTC)

Go ahead and give it a trial run so we can how it edits. Having two bots doing the same task is helpful, if one goes down the other still goes. ~  Wi ki  her mit  03:47, 5 September 2007 (UTC)
 * Update: No response from User:Selket since Friday. It looks like he is an active user, but may have been away for the weekend.  In any case, I'm ready to run my code whenever it is approved.  Even if Selket comes back, there is probably a decent-sized backlog of miscategorized pages that will need to be fixed.  --Russ (talk) 21:43, 4 September 2007 (UTC)
 * Test run results can be viewed here. there are fewer than 50 edits because I found a bug or two while testing; hopefully the next run will be smoother, but takes a long time to scan through all the redirected categories so I'll wait before doing another test.  --Russ (talk) 15:47, 5 September 2007 (UTC)

I'm surprised Pywikipediabot did this. Do you have the latest version? If not, please upgrade. The bot should not be modifying anything but categories, especially not perfectly valid HTML entities. — madman bum and angel 15:08, 7 September 2007 (UTC)
 * I'm surprised, too. Yes, I have the latest Pywikipediabot software off the SVN server; and I didn't modify anything to make it do this.  On the other hand, it's not really an error, is it?  It did replace the entities with the correct characters.  --Russ (talk) 16:44, 7 September 2007 (UTC)
 * It's not really an error but it's not desired behavior. Bots should yield to editors' preferences.  — madman bum and angel 19:37, 7 September 2007 (UTC)
 * I figured out how to avoid this (although I still don't know why it happens) -- the category.py bot has an "inplace" option, and when this is used it doesn't bother the HTML entities. --Russ (talk) 16:17, 8 September 2007 (UTC)
 * Otherwise, the trial looks excellent and the bot is ready for approval. If that's the most grievous problem, you have nothing to worry about.  ;) — madman bum and angel 15:14, 7 September 2007 (UTC)

— madman bum and angel 03:59, 9 September 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.