Jump to content

Wikipedia:Bots/Requests for approval/Protection Helper Bot

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Daniel Quinlan (talk | contribs) at 22:10, 30 July 2024 (Creating a BRFA subpage for Protection Helper Bot (easy-brfa)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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 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