Wikipedia:Bots/Requests for approval/SporkBot 2

Category:Approved Wikipedia bot requests for approval

[[User:SporkBot|SporkBot 2]]

{{Newbot|SporkBot|2}}

Operator: {{User|Plastikspork}}

Time filed: 22:27, Saturday December 11, 2010 (UTC)

Automatic or Manually assisted: Automatic

Programming language(s): Perl

Source code available: Standard perlwikipedia

Function overview: Rotate TFD logs and create new TFD pages

Links to relevant discussions (where appropriate):

Edit period(s): daily

Estimated number of pages affected: 2 per day

Exclusion compliant (Y/N): not required

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

Function details: This bot will [https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Wikipedia%3ATemplates_for_discussion&action=historysubmit&diff=401541483&oldid=401436055 rotate] the TFD logs and create [https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Wikipedia:Templates_for_discussion/Log/2010_December_10&oldid=401541887 new discussion pages]. Note that this is an "exact duplicate" of a function performed by Zorglbot, but Zorglbot is periodically down (see, for example, here), and my bot would act as a backup. I am confident that the two bots will not clash, so long as I run mine a minute or two after midnight GMT. During the latest time change, Zorglbot was running about an hour late, and did nothing if someone rotated the logs before it ran. Similarly, I have tested my script, and it will do nothing if someone has already rotated the logs for it. I have been manually running the bot script under my Plasticspork account for the past year, whenever Zorglbot is down, and have had no issues. I will be happy to post the script as a subpage of my SporkBot account.

=Discussion=

Can you give an example of what the rotation entails? - Jarry1250 [Who? Discuss.] 22:38, 11 December 2010 (UTC)

: See the links directly above, or check the page history for WP:Templates for discussion (edits by Zorglbot or ones with 'rotate' in the summary), or see [http://en.wikipedia.org/w/index.php?title=Wikipedia%3ATemplates_for_discussion&action=historysubmit&diff=401863832&oldid=401846850] and [http://en.wikipedia.org/w/index.php?title=Wikipedia:Templates_for_discussion/Log/2010_December_12&oldid=401863778]. Basically, it means moving one log-page transclusion down a section, and adding a new log-page transclusion. Thanks! Plastikspork ―Œ(talk) 00:12, 12 December 2010 (UTC)

:: Oh, right. That's what those links were :) {{BotTrial|5 days' worth}} (they don't have to be consecutive). - Jarry1250 [Who? Discuss.] 11:42, 12 December 2010 (UTC)

{{tld|OperatorAssistanceNeeded|D}} Status? Mr.Z-man 04:38, 2 January 2011 (UTC)

: The moment I was approved, Zorglbot came back online, so my bot has been doing nothing everyday with regard to this task. I may nudge the cron job up a bit to make it fire a few seconds before Zorglbot runs, just to show that it works. However, it's really not a big deal, so long as Zorglbot is operating. The whole point was to just act as a backup. Plastikspork ―Œ(talk) 04:52, 2 January 2011 (UTC)

:: Okay, I nudged it up a minute on a few occasions to demonstrate that (1) it is indeed working and (2) that there is no conflict between running both bots at the same time, with mine primarily running as a backup. I will nudge it back a minute if this is approved. The approved five days of edits can be found in the history for Wikipedia:Templates for discussion. I can provide specific links if desired. Thanks! Plastikspork ―Œ(talk) 00:41, 20 January 2011 (UTC)

{{BotApproved}} Mr.Z-man 18:02, 22 January 2011 (UTC)

:The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.