Wikipedia:Bots/Requests for approval/AnomieBOT 77
- 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: Anomie (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 02:42, Sunday, January 29, 2017 (UTC)
Automatic, Supervised, or Manual: Automatic
Programming language(s): Perl
Source code available: User:AnomieBOT/source/tasks/POTDPageCreator.pm
Function overview: Create Template:POTD protected/YYYY-MM-DD two days before the corresponding date, in time for it to be transcluded onto WP:Main Page/Tomorrow.
Links to relevant discussions (where appropriate): Wikipedia talk:Picture of the day#Why don't we have a bot create the protected version?
Edit period(s): Daily
Estimated number of pages affected: 1 per day
Exclusion compliant (Y/N): Yes
Already has a bot flag (Y/N): Yes
Function details: The bot will create the daily POTD protected template, by copying the corresponding Template:POTD/YYYY-MM-DD and replacing the first line as described at Wikipedia:Picture of the day/Guidelines#Protected version. In case human assistance is needed, the bot will post to Wikipedia talk:Picture of the day for help.
Discussion
[edit]It turns out that the POTD protected templates are only protected by cascading from the main page (and the "tomorrow's main page" page), so AnomieBOT should be able to handle it as long as it does it before it gets transcluded there. Anomie⚔ 02:42, 29 January 2017 (UTC)[reply]
- Approved for trial (10 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. — xaosflux Talk 02:57, 29 January 2017 (UTC)[reply]
- @Anomie: FYI, at the creation of the protected version only the lead section of the regular version is used. Otherwise it will have two see also sections, like there. Armbrust The Homunculus 13:42, 2 February 2017 (UTC)[reply]
- @Armbrust: Fixed the bot for future runs. It looks like the instructions at Wikipedia:Picture of the day/Guidelines#Protected version should mention removing the
<noinclude>
bit at the end, as happens if you use the preload link from the discussion at Wikipedia talk:Picture of the day#Why don't we have a bot create the protected version?. Anomie⚔ 15:05, 2 February 2017 (UTC)[reply]
- @Armbrust: Fixed the bot for future runs. It looks like the instructions at Wikipedia:Picture of the day/Guidelines#Protected version should mention removing the
Trial complete. 1 2 3 4 5 6 7 8. Anomie⚔ 22:11, 8 February 2017 (UTC)[reply]
- @Xaosflux: It'd be nice to have review here here sooner rather than later, since the daily pages continue to need to be created daily. Anomie⚔ 13:33, 10 February 2017 (UTC)[reply]
- Approved. @Anomie: task approved. — xaosflux Talk 14:34, 10 February 2017 (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.