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: 08:31, Wednesday, May 20, 2020 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): Golang

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

Function overview: Removing ((current)) templates from articles that no longer require the template (no changes in an extended amount of time)

Links to relevant discussions (where appropriate): Wikipedia:Bot requests#Revival of User:TedderBot/CurrentPruneBot

Edit period(s): Hourly

Estimated number of pages affected: Very few per hour, but over time potentially unlimited

Exclusion compliant (Yes/No): Yes

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

Function details: Scans articles that transclude ((current)), and examines the timestamp of the last revision.

If the article has not had any new revisions in over five hours, and the article allows the bot to edit it (i.e. no ((nobots)), no ((bot|deny=Yapperbot)), or a bot allow list that contains the bot name) then the ((current)) template will be removed. If it was on its own line, the entire line is removed; otherwise, only the tag is.

This task was previously performed by User:TedderBot/CurrentPruneBot, which did it if the last revision was over two hours ago. To stay on the safe side, at least at the start, I've set the threshold much higher at five hours, as I don't want the bot to step on editors' toes, but if needed, it can be adjusted down again in future.

Discussion[edit]

Agree 5 hours can be a problem when overnight editing slows down. Suggest first 24hrs is a grace period, after that it is on the clock so to speak. Could even have a sliding scale, third 24hr window is 3 hours etc.. it gets easier to remove the more days goes by. -- GreenC 18:41, 24 May 2020 (UTC)[reply]
If editing has slowed down, whether that is "overnight" in some relevant part of the world or not, then the template isn't needed. If it picks up again then the template can be re-added. Thryduulf (talk) 21:05, 24 May 2020 (UTC)[reply]

 Approved. Primefac (talk) 23:29, 15 June 2020 (UTC)[reply]

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.