Wikipedia:Bots/Requests for approval/AnomieBOT 4


AnomieBOT 04

[[User:AnomieBOT|AnomieBOT]]

{{Newbot|AnomieBOT|4}}

Operator: Anomie

Automatic or Manually Assisted: Automatic, unsupervised

Programming Language(s): Perl

Function Summary: Replace {{tlx|WikiProject Nintendo}} with {{tlx|WikiProject Video games|2=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 {{tlx|WikiProject Nintendo}} (and {{tlx|NESproj}}) with {{tlx|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 {{tlx|WikiProject Video games}}-redirects (such as {{tlx|vgproj}}) to {{tlx|WikiProject Video games}}, and it will renumber the parameters of {{tlx|WikiProjectBanners}} or {{tlx|WikiProjectBannerShell}} if the removal of the Nintendo project banner necessitates that.

= Discussion =

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 [http://en.wikipedia.org/w/index.php?title=User:AnomieBOT/source/tasks/TemplateReplacer2.pm&diff=236981572&oldid=236787840 here]. Anomie 01:49, 8 September 2008 (UTC)

{{BotSpeedy}} BJTalk 02:43, 8 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.