Wikipedia:Bots/Requests for approval/AnomieBOT 30
- The following discussion is an archived debate. Please do not modify it. Subsequent comments should be made in a new section. The result of the discussion was Approved.
Automatic or Manually Assisted: Manually assisted / Automatic unsupervised
Programming Language(s): Perl
Function Overview: Add {{OnThisDay}} to the talk pages of articles featured in the Main Page's "On this day..." section.
Edit period(s): Daily
Already has a bot flag (Y/N): Y
Function Details: Per request, the bot will do the following:
- First, the bot will process a list much like this one to tag the pages that have been featured over the past 5 years. This is the manually-assisted part.
- Then, the bot will run daily just after 00:00 UTC to add/update the tags on the articles featured the previous day. This is the automatic part. The bot will refuse to tag (double-)redirects, disambiguation pages, articles with redirected talk pages, and non-article pages; these will be output to an appropriate talk page (likely either WT:Selected anniversaries or User talk:AnomieBOT) for human attention. It will also create "Category:Selected anniversaries (year)" and "Category:Selected anniversaries (month year)" if either does not already exist.
In both cases, {{OnThisDay}}, if not already present, will be added after all other templates in section 0 besides {{archive}}, {{archive box}}, and any with a "small=yes" parameter. If it is present, the existing template will simply be modified in place.
Discussion
[edit]Source is at User:AnomieBOT/source/tasks/OnThisDayTagger.pm. Anomie⚔ 21:07, 17 May 2009 (UTC)[reply]
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. for the manually-assisted backlog part. Then we'll look at the daily part. – Quadell (talk) 15:03, 18 May 2009 (UTC)[reply]
- Trial complete. [1] I did notice a bug in the sorting of the dates, already fixed that. Otherwise, it seems to have gone well. Anomie⚔ 21:01, 18 May 2009 (UTC)[reply]
The edits look good to me as well. Approved. for the one-time run to fix the backlog. Approved for trial (7 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. for the daily tasks. – Quadell (talk) 18:57, 19 May 2009 (UTC)[reply]
- Excellent. I've created the category tree Category:Selected anniversaries from January 2004 until December 2009. Headbomb {ταλκκοντριβς – WP Physics} 21:11, 19 May 2009 (UTC)[reply]
- Running the backlog now, then I'll start the 7-day trial. Would it be worth adding "Monthly, create the new Category:Selected anniversaries dated subcategory if it doesn't already exist" to the bot task? Anomie⚔ 02:16, 20 May 2009 (UTC)[reply]
- Nah, it's understood. – Quadell (talk) 02:27, 20 May 2009 (UTC)[reply]
- It is? Not that it's anything but trivial, just subst the appropriate content into the category page so it isn't a redlink at the bottom of the talk pages. I'll just add it above for good measure. Anomie⚔ 02:31, 20 May 2009 (UTC)[reply]
- Nah, it's understood. – Quadell (talk) 02:27, 20 May 2009 (UTC)[reply]
- Running the backlog now, then I'll start the 7-day trial. Would it be worth adding "Monthly, create the new Category:Selected anniversaries dated subcategory if it doesn't already exist" to the bot task? Anomie⚔ 02:16, 20 May 2009 (UTC)[reply]
- Are you really tagging all the holidays too? Isn't it a little excessive and repetitive to tag the talk pages of New Year's Day, Christmas, Easter, Yom Kippur, Ramadan, etc. repeatedly every year. And you do realise you have other holidays like Mother's Day and Father's Day where different countries observe them on different days of the year? Or are you content to have the tags on Talk:Mother's Day, Talk:Father's Day, etc. to grow like they were separate articles? Zzyzx11 (Talk) 23:49, 20 May 2009 (UTC)[reply]
- I see you also asked this question at WT:Selected anniversaries; IMO, that's the better place for that discussion. Anomie⚔ 00:20, 21 May 2009 (UTC)[reply]
The first day's trial results: [2][3][4][5][6][7][8] There are also edits for 2009-05-15 to 2009-05-19 earlier in the day. Anomie⚔ 00:20, 21 May 2009 (UTC)[reply]
More trial diffs: 2009-05-21[9][10][11][12][13][14][15] and 2009-05-22.[16][17][18][19][20][21][22][23] Anomie⚔ 00:56, 23 May 2009 (UTC)[reply]
More trial diffs: 2009-05-23[24][25][26][27][28][29] and 2009-05-24.[30][31][32][33][34][35][36][37][38][39] Anomie⚔ 01:12, 25 May 2009 (UTC)[reply]
Approved. Even though there are a few days left on the trial, the results so far show perfect performance, so I'm going to go ahead and approve now. – Quadell (talk) 14:40, 26 May 2009 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made in a new section.