Wikipedia:Bots/Requests for approval/GracenotesBot
From Wikipedia, the free encyclopedia
[edit] GracenotesBot
tasks • contribs • count • sul • logs • page moves • block user • block log • flag log • flag bot
Operator: Gracenotes (talk · contribs)
Automatic or Manually Assisted: manually assisted
Programming Language(s): Java + JavaScript
Function Summary: Tags untagged WP:/P:/MOS:/WT: (etc.) shortcuts with {{R from shortcut}}
Edit period(s) (e.g. Continuous, daily, one time run): at most once a week
Edit rate requested: approximately 4–6 edits per minute, maxlag=5
Already has a bot flag (Y/N): N
Function Details: for each run, I generate a list of shortcuts that do not have {{R from shortcut}} transcluded on it, using a Java program I've made that reads api.php. (Currently there are ~331 such shortcuts.) This is currently done through requesting page content using allpages as a generator, but could also be completed by removing the intersection of Special:Whatlinkshere/Template:R from shortcut and WP: pages from a set of WP: pages. Once I have the list, I'll tag the applicable redirects using an AJAX script, checking the modified content of each page before submitting it.
If the function is duplicated by another bot, I don't think there's any harm in having this one operate regularly as well. I'd be glad to provide some code if requested.
[edit] Discussion
Approved for trial (50 edits). --uǝʌǝsʎʇɹnoɟʇs 19:52, 14 October 2007 (UTC)
- Done. Would marking the edits as minor be fine? GracenotesT § 20:38, 14 October 2007 (UTC)