Wikipedia:Bots/Requests for approval/AnomieBOT 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 Symbol keep vote.svg Approved.

AnomieBOT
Operator: Anomie⚔

Automatic or Manually Assisted: Automatic

Programming Language(s): Perl

Function Summary: Replace WP MMOG with WikiProject Video games

Edit period(s) (e.g. Continuous, daily, one time run): One-time

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

Function Details: Replace WP MMOG with WikiProject Video games per request at BOTREQ and discussion at Wikipedia talk:VG. Since it is editing these talk pages anyway, it will also replace vgproj and any other redirect to WikiProject Video games with WikiProject Video games.

Discussion
I've already done some test edits in my bot's sandbox:. Note that I've since commented out the portion that adds the, since it turns out that is not actually desired. Bot code is at User:AnomieBOT/source/tasks/TemplateReplacer.pm. Anomie⚔ 23:23, 31 August 2008 (UTC)
 * BJ Talk 06:19, 1 September 2008 (UTC)
 * Edits in bot contributions. I see two potential issues: perhaps the bot should renumber WikiProjectBanners and WikiProjectBannerShell when those use multiple numbered parameters, although it doesn't seem to cause any issues when a blank number is included; and perhaps the bot should check for the special case of the template being alone on a line (" ") and remove it to " " instead of " ". Anomie⚔ 11:28, 1 September 2008 (UTC)
 * I think it would also be better to replace the template with '' rather than '\n'. BJ Talk 12:20, 1 September 2008 (UTC)
 * The template is never replaced with " ". The issue at hand is when the template being removed is the only thing on the line, should the empty line be left or should it be removed also? Anomie⚔ 16:43, 1 September 2008 (UTC)


 * Looks good to me,  SQL Query me!  03:51, 4 September 2008 (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.