Wikipedia:Bots/Requests for approval/SoxBot 21
- 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 Approved.
Operator: X!
Automatic or Manually assisted: Automatic
Programming language(s): PHP
Source code available: Not available yet, will release once I make sure it is safe
Function overview: Create new page for Portal:Current events daily
Links to relevant discussions (where appropriate):
Edit period(s): Daily, 15 minutes before midnight UTC
Estimated number of pages affected: 1 per day
Exclusion compliant (Y/N): Not needed
Already has a bot flag (Y/N): Y
Function details: This bot will create a subpage of Portal:Current events every day before midnight, as to ensure that the correct data is shown when the new day turns around. It will create this content in [[Portal:Current events/date('Y F j', strtotime("+1 day"))]]:
{{Current events header|{{subst:CURRENTYEAR}}|{{subst:CURRENTMONTH}}|{{subst:CURRENTDAY}}}} <!-- All news items below this line --> * <!-- All news items above this line -->|}
It will make sure that the page does not already exist before it creates it.
Discussion
editSounds boring. Bot appropriate, repeated task at a specific time is good use of bot, imo. Competent coder, responsive to community input. Yawn. --IP69.226.103.13 | Talk about me. 07:37, 2 January 2010 (UTC)[reply]
Approved for trial (5 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. MBisanz talk 00:55, 3 January 2010 (UTC)[reply]
Approved. MBisanz talk 22:55, 7 January 2010 (UTC)[reply]
- 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.