Wikipedia:Bots/Requests for approval/Chris G Bot (3rd Request)
Appearance
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Headbomb (talk | contribs) at 20:03, 3 January 2011 (Chris G Bot 1-3). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.Revision as of 20:03, 3 January 2011 by Headbomb (talk | contribs) (Chris G Bot 1-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.
Operator: Chris
Automatic or Manually Assisted: Auto
Programming Language(s): PHP, Cobi's Classes
Function Summary: Fixing up templates
Edit period(s) (e.g. Continuous, daily, one time run): One time run
Already has a bot flag (Y/N): Y
Function Details: (See request)
Basicly it goes through Category:NA-Class Baseball articles and:
Replace --> With
- {{Baseball-WikiProject|class=NA ---> {{WikiProject Baseball
- {{WikiProject Baseball|class=NA ---> {{WikiProject Baseball
Discussion
Will post the source as soon as I write it --Chris 12:37, 2 September 2008 (UTC)[reply]
- Source --Chris 13:00, 2 September 2008 (UTC)[reply]
- Quick query: what happens if the class=NA does not come directly after the main template (e.g. {{WikiProject Baseball|importance=foo|class=NA)? I know that this may seem unlikely, but I thought it worth mentioning. Other than that everything seems fine. RichardΩ612 Ɣ ɸ 19:53, 4 September 2008 (UTC)[reply]
- There shouldn't be much that are like that. This is only for assessment assistance, and if there is any left like that they can be cleaned up manually. —Borgardetalk 07:13, 5 September 2008 (UTC)[reply]
Fixed I've updated the code to use a bit of regex, can I have a trial? --Chris 08:26, 5 September 2008 (UTC)[reply]
- There shouldn't be much that are like that. This is only for assessment assistance, and if there is any left like that they can be cleaned up manually. —Borgardetalk 07:13, 5 September 2008 (UTC)[reply]
- Quick query: what happens if the class=NA does not come directly after the main template (e.g. {{WikiProject Baseball|importance=foo|class=NA)? I know that this may seem unlikely, but I thought it worth mentioning. Other than that everything seems fine. RichardΩ612 Ɣ ɸ 19:53, 4 September 2008 (UTC)[reply]
Approved for trial (25 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. BJTalk 05:43, 7 September 2008 (UTC)[reply]
Trial complete. --Chris 09:43, 7 September 2008 (UTC)[reply]
- All edits reviewed, no errors. BJTalk 09:52, 7 September 2008 (UTC)[reply]
A user has requested the attention of a member of the Bot Approvals Group. Once assistance has been rendered, please deactivate this tag by replacing it with
{{t|BAG assistance needed}}
. can I have approval? --Chris 13:16, 8 September 2008 (UTC)[reply]
- All edits reviewed, no errors. BJTalk 09:52, 7 September 2008 (UTC)[reply]
Approved. MaxSem(Han shot first!) 14:23, 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.