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 Approved.
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 Wikipedia: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 orientation
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 [1] (manually applied from the output of the testing run I did before submitting this request).
Discussion
[edit]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)[reply]
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. BJTalk 06:08, 7 September 2008 (UTC)[reply]
- Trial complete. 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: [2][3][4][5][6][7] Anomie⚔ 22:21, 7 September 2008 (UTC)[reply]
- Approved. --uǝʌǝsʎʇɹoɟʇs(st47) 23:47, 11 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.