Jump to content

Wikipedia:Bots/Requests for approval/Chris G Bot (3rd Request)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Firefly (talk | contribs) at 19:53, 4 September 2008 (Discussion: query). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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]