Wikipedia:Bots/Requests for approval/AnomieBOT 3


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

User:AnomieBOT
Operator: Anomie⚔

Automatic or Manually Assisted: Automatic, unsupervised

Programming Language(s): Perl

Function Summary: Move named reference content out of infoboxen and other templates.

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

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

Function Details: This is a request for addition of function to my existing task approved at Bots/Requests for approval/AnomieBOT.

While investigating pages that AnomieBOT was unable to fix, I noticed that many were due to the named reference being defined inside an unrendered parameter in an article's infobox, for example the  parameter which was recently removed from Female adult bio.

I have developed code to find named references that are defined inside an infobox or other template and used in the main body of the article, and to move the definition to the main body use. This code can be seen in the indicated section at User:AnomieBOT/source/tasks/OrphanReferenceFixer.pm, and an example of the type of edit this would perform is at (manually applied from the output of the testing run I did before submitting this request).

Discussion
As this is a major new function and not just a bugfix or extension of the existing approved functions, I thought it best to request approval for the new function. Anomie⚔ 17:30, 5 September 2008 (UTC)

BJ Talk 06:08, 7 September 2008 (UTC)
 * Or as complete as it's going to get anyway. I thought there were more than just 43 pages with ref errors where this code would do anything. On the other hand, only 6 of those 43 were not corrected by the edit: Anomie⚔ 22:21, 7 September 2008 (UTC)


 * --uǝʌǝsʎʇɹoɟʇs (st47) 23:47, 11 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.