Wikipedia:Bots/Requests for approval/Hazard-Bot 28
[[User:Hazard-Bot|Hazard-Bot 28]]
{{Newbot|Hazard-Bot|28}}
Operator: {{botop|Hazard-SJ}}
Time filed: 06:23, Friday, December 4, 2015 (UTC)
Automatic, Supervised, or Manual: Automatic
Programming language(s): Python
Source code available: [https://github.com/HazardSJ/HazardBot/blob/master/enwiki/afd_rm_relisted_cat.py GitHub]
Function overview: Remove closed AfDs from :Category:AfD debates relisted 3 or more times
Links to relevant discussions (where appropriate): [https://en.wikipedia.org/w/index.php?title=Wikipedia:Administrators%27_noticeboard&oldid=693689921#Category:AfD_debates_relisted_3_or_more_times WP:AN discussion]
Edit period(s): Daily
Estimated number of pages affected: 7 on initial run (per current statistics), then, well, I have no idea how many (all I can say is not many)
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details:
- Goes through pages in :Category:AfD debates relisted 3 or more times that start with "Wikipedia:Articles for deletion/", but not "Wikipedia:Articles for deletion/Log/".
- If the page contains the text "xfd-closed", which is added by {{tls|afd top}}, it removes the category.
=Discussion=
{{BotTrial}} Guess you can clear the category, since it's so few. — Earwig talk 06:25, 4 December 2015 (UTC)
:{{BotTrialComplete}} [https://en.wikipedia.org/wiki/Special:Contributions/Hazard-Bot?limit=7&offset=20151204063300 All done]. Hazard SJ 06:34, 4 December 2015 (UTC)
::{{BotApproved}} Trial is fine, and I really can't imagine any issues here. — Earwig talk 06:42, 4 December 2015 (UTC)
: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.