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: Naypta (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)

Time filed: 22:22, Sunday, June 21, 2020 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): Golang

Source code available: https://github.com/mashedkeyboard/yapperbot-pruner

Function overview: Removes inactive users from lists (WikiProject membership, FRS, etc) and notifies them. Also renames users who have undergone a rename, and removes indefinitely-blocked users without notifying them.

Links to relevant discussions (where appropriate): WP:VPT#Is there a tool that...

Edit period(s): Weekly

Estimated number of pages affected: As many pages as transclude the configuration, plus user talk pages of removed users

Exclusion compliant (Yes/No): Yes; note that it is exclusion-compliant on user talk pages, but not on the actual list pages that its configuration is transcluded into. If a page itself wishes to opt-out of the pruning, it just needs to have the configuration template removed.

Already has a bot flag (Yes/No): Yes

Function details: Detects users listed on a signup list, membership list or other page, such as WP:FRS or a WikiProject members list, and periodically prunes those users according to a configuration. Configuration details are available on the setup page for it, but it basically works the same way in terms of on-wiki configuration to the way in which archiving bots work - tracks transclusions of a template, with "phantom parameters", which the bot then detects and uses.

It'll remove inactive users after a timeframe since their last edit which is set in the on-page configuration, and will remove indefinitely-blocked users automatically after a grace period (defaults to 2 months, but is configurable on the page). It will also rename users who have undergone a rename.

It currently supports four formats of user list, all of which correspond to regexes that are (a recurring theme among my bot tasks; say it with me) stored on-wiki!, so they can be changed and improved easily in the future if template parameters change, or if people want to use different formats.

Discussion[edit]

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.