Wikipedia:Bots/Requests for approval/AnomieBOT 77

AnomieBOT 77

[[User:AnomieBOT|AnomieBOT 77]]

{{Newbot|AnomieBOT|77}}

Operator: {{botop|Anomie}}

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=

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)

:{{BotTrial|days=10}} — xaosflux Talk 02:57, 29 January 2017 (UTC)

:{{ping|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 [https://en.wikipedia.org/w/index.php?title=Template:POTD_protected/2017-02-03&oldid=763204651 there]. Armbrust The Homunculus 13:42, 2 February 2017 (UTC)

:: {{reply to|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 {{tag|noinclude|o}} 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)

{{BotTrialComplete}} 1 2 3 4 5 6 7 8. Anomie 22:11, 8 February 2017 (UTC)

: {{ping|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)

:{{BotApproved}} {{ping|Anomie}} task approved. — xaosflux Talk 14:34, 10 February 2017 (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.