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 Speedily Approved.

Operator: Anomie

Automatic or Manually Assisted: Automatic, unsupervised

Programming Language(s): Perl

Function Summary: Replace ((WikiProject Nintendo)) with ((WikiProject Video games|tf=Nintendo))

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

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

Function Details: Per request at Wikipedia talk:VG#WikiProject Nintendo, the bot will replace ((WikiProject Nintendo)) (and ((NESproj))) with ((WikiProject Video games)), or just remove the Nintendo banner if the WPVG banner is already on the page. It will also add the taskforce parameter tf=Nintendo (or tf2/tf3, as needed) to the WPVG template if that parameter is not already in place.

Since it is editing the WPVG template anyway, it will also canonicalize any ((WikiProject Video games))-redirects (such as ((vgproj))) to ((WikiProject Video games)), and it will renumber the parameters of ((WikiProjectBanners)) or ((WikiProjectBannerShell)) if the removal of the Nintendo project banner necessitates that.

Discussion[edit]

This is essentially the same code as was approved at Wikipedia:Bots/Requests for approval/AnomieBOT 2, just updated to be slightly more generic and with the taskforce-parameter-adding section enabled. The code is at User:AnomieBOT/source/tasks/TemplateReplacer2.pm, and the diff from the approved code is here. Anomie 01:49, 8 September 2008 (UTC)[reply]

Speedily Approved. BJTalk 02:43, 8 September 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.