Jump to content

Wikipedia:Bots/Requests for approval/Infobox Bot

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by FinalRapture (talk | contribs) at 10:21, 28 May 2010 (Discussion: re). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Operator: FinalRapture (talk · contribs)

Automatic or Manually assisted: Automatic

Programming language(s): PHP

Source code available: Paste of source here

Function overview: Updates the needs-infobox parameter of {{WPSchools}} depending on whether or not the article has a infobox

Links to relevant discussions (where appropriate): Small discussion and was previously handled by BoxCrawler

Edit period(s): (bi-)weekly

Estimated number of pages affected: Possibly up to 1,000 first run, with later runs only a few dozen

Exclusion compliant (Y/N): Yes

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

Function details:

  • Pulls articles transcluding {{WPSchools}} and articles in category Category:School articles without infoboxes.
  • Loops through each article transcluding looking for '{{Infobox'
    • If it can't find the infobox but the article is in the category, or vice versa, it's skipped.
    • Otherwise, Makes the appropriate change to the template on the talk page

Discussion

Why are you limiting this to only articles tagged by {{WPSCHOOLS}}? Couldn't you do this with other wiki projects? Additionally, I made a list of pages that are marked as having no info box, but transclude {{Infobox}}. See that list here. Tim1357 talk 04:12, 28 May 2010 (UTC)[reply]
Right now I'm only using WPSchools' article list, but I can always expand it. FinalRapture - 10:21, 28 May 2010 (UTC)[reply]