Wikipedia:Bots/Requests for approval/TFA Protector Bot
Operator: Legoktm (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 17:06, Thursday May 9, 2013 (UTC)
Automatic, Supervised, or Manual: Automatic
Programming language(s): Python
Source code available: here (incomplete)
Function overview: Move protects articles that are scheduled to appear on the main page as the TFA per current custom
Links to relevant discussions (where appropriate): Wikipedia:Bot_requests/Archive_54#Anyone_got_an_adminbot_looking_for_work.3F
Edit period(s): Daily, will run 5 minutes before midnight
Estimated number of pages affected: 1/day
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): No, will need bot+sysop
Function details:
- Gets the TFA for the next day with Template:TFA title.
- Checks the protection level:
- If move=autoconfirmed: protect w/ move=sysop expiry=when off main page
- If move=sysop: Check if expiry is long enough, if not: re-protect w/ move=sysop expiry=when off main page
- If not move protected: Protect w/ move=sysop expiry=when off main page
I decided it was pointless to re-instate any move=autoconfirmed protection since non-autoconfirmed users can't move pages.
Discussion
@Bencherlite: Legoktm (talk) 17:06, 9 May 2013 (UTC)
- As a TFA delegate, I think this is an excellent idea, not least because I suggested it! Move protection is generally put in place for the day of a featured article's appearance on the main page, because it prevents vandalism such as this taking place. However, it's quite easy for me to forget to do it at all, or set it to expire at the start of the day rather than at the end of the day. It would be very helpful to have an adminbot to do this limited task (and it would make my life, and that of current/future TFA delegates, slightly easier as a result). BencherliteTalk 18:40, 9 May 2013 (UTC)