Wikipedia:Bots/Requests for approval/Infobox Bot
Appearance
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