Wikipedia:Bots/Requests for approval/Protection Helper Bot
Operator: Daniel Quinlan (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 22:10, Tuesday, July 30, 2024 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available: The source code will be made open source on GitHub if the bot is approved and once it is operational.
Function overview: The bot will automatically restore long-term page protection levels after shorter-term higher protection levels expire to reduce administrator workload and to avoid unintentionally leaving at-risk pages unprotected.
Links to relevant discussions (where appropriate): Special:Permalink/1237644057#Bot_to_restore_long-term_protections_after_shorter-term_higher_protections_expire
Edit period(s): Continuous
Estimated number of pages affected: roughly 50 to 200 pages per year
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): No
Function details: The Protection Helper Bot will automatically restore the original long-term page protection level after a temporary higher-level protection expires. This bot will:
- Monitor the protection log to track when temporary higher protection levels are scheduled to expire.
- After scheduled expirations, check the page protection status and restore the previous long-term protection if needed.
- Ensure that protection changes are logged with the appropriate reason and attribution to the original protecting administrator.
- Notify the most recent protecting administrator about the restoration action to allow for any necessary adjustments.
- Skip pages with the {{bots}} template indicating exclusion from bot actions.
- Stop all actions if an emergency shutoff method is activated.
- No action will be taken if the duration of the higher protection level extends beyond the prior protection's expiration date, or if the protection level is the same or lower.
- The bot will initially rely on existing bots to update protection templates as needed, but that functionality may be added in the future.
Minor adjustments to the bot's operation may be made based on feedback.
Discussion
Approved for trial (25 edits or 30 days, whichever happens first). Please provide a link to the relevant contributions and/or diffs when the trial is complete. I am counting these 25 edits as page protections (since page protections show as "an edit" in the page history) but please make sure the edit log posted at the end of this trial also contains any user talk notifications as described above (in other words, if I'm reading the functionality correctly, there will be up to a total of 50 edits made). Primefac (talk) 23:44, 4 August 2024 (UTC)