Wikipedia:Bots/Requests for approval/AnomieBOT 8

AnomieBOT 8

 * The following discussion is an archived debate. Please do not modify it. Subsequent comments should be made in a new section.

 MBisanz  talk 11:45, 30 October 2008 (UTC)

Operator: Anomie⚔

Automatic or Manually Assisted: automatic, unsupervised

Programming Language(s): Perl

Function Summary: Assess existing Physics and WPAstronomy on talk pages of redirect/disambig pages with class=redirect/disambig and importance=NA.

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

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

Function Details: Per request, any existing Physics or WPAstronomy banner on the talk page of a redirect will be automatically assessed as class=redirect importance=NA. Any of the above banners on the talk page of a disambiguation page will be automatically assessed as class=disambig importance=NA. Also, any existing "auto=" parameter will be removed from assessed banners, as that parameter is only useful when auto-assessing as stub class.

Discussion
The task operates by downloading the list of transclusions of the named templates on talk pages (namespace 1), along with the corresponding  values. It then loads the page info and category membership of those subjectids, and examines the results to determine the appropriate categorization: The bot then scans the talk page for instances of any of the named banner templates (or redirects to those templates) and changes the,  , and   parameters as necessary. The source is available at User:AnomieBOT/source/tasks/AutoAssessor.pm. Anomie⚔ 12:40, 28 October 2008 (UTC)
 * If the  value is present in the response, it is a redirect.
 * If the category Category:All disambiguation pages is present in the response, it is a disambiguation page.
 * Otherwise, the bot does nothing to the page.

Looks fine.  MBisanz  talk 11:45, 30 October 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.