Wikipedia:Bots/Requests for approval/EarwigBot 18


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Symbol keep vote.svg Approved.

EarwigBot 18
Operator:

Automatic or Manually assisted: Automatic, unsupervised

Programming language(s): Python

Source code available: from ~earwig/earwigbot: feeddailypagebot_run.py

Function overview: The bot creates daily pages for Requests for feedback.

Links to relevant discussions (where appropriate): Wikipedia talk:Requests for feedback

Edit period(s): Daily at 0:00 UTC, via cron

Estimated number of pages affected: One per day

Exclusion compliant (Y/N): Y

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

Function details: As stated in the function overview; creates daily pages for Requests for feedback, like Requests for feedback/2010 July 2. It will run daily at midnight UTC, and will create pages for today (at that time, today has just started), tomorrow, two days hence, and three days hence. Unless it is stopped, it should only be creating the last one of those pages, as the others will have, by that time, been created during previous days. It creates the pages with the code, where the first   is the previous day's date, and the second is the next's. &mdash;  The Earwig   (talk)  17:47, 1 July 2010 (UTC)

Discussion

 * Sounds great.
 * I, personally, made pages for June when we implemented the new transcluded page-per-day system, following the discussions on the WP:FEED talk page. A few days ago, I created pages for all of July and August, until we could get a bot to do it for us.
 * So - yes please, many thanks.  Chzz  ► 10:25, 4 July 2010 (UTC)

Code looks good, although I personally would pass just the one timestamp to process and let that function do the time.gmtime calls itself. And I would replace date with just.

This is so straightforward that I can't see how it could malfunction, but for good measure Since Chzz has already created the real pages through the end of August, please adjust your prefix for the trial to point somewhere in your or your bot's userspace, so we can see the actual page creations. Anomie⚔ 20:14, 9 July 2010 (UTC)
 * Thanks, I'll get started on this soon, maybe tomorrow morning as it's kinda late right now. &mdash; The Earwig   (talk)  03:29, 10 July 2010 (UTC)
 * Sorry for the delay. I've set the prefix to User:EarwigBot/FEEDTrial; cron configured and it'll start tonight at midnight UTC. &mdash; The Earwig   (talk)  22:42, 11 July 2010 (UTC)
 * , see User:EarwigBot/FEEDTrial for the pages it created. &mdash; The Earwig   (talk)  14:58, 13 July 2010 (UTC)
 * Just as I thought, no issues. Anomie⚔ 20:04, 13 July 2010 (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.