Wikipedia:Bots/Requests for approval/RileyBot 17
[[User:RileyBot|RileyBot 17]]
{{Newbot|RileyBot|17}}
Operator: {{botop|Riley Huntley}}
Time filed: 07:19, Friday, February 5, 2016 (UTC)
Automatic, Supervised, or Manual:
Automatic
Python or AWB
Source code available:
Not yet
Function overview:
Find section redirects and add Template:R to section to the page if the template (and any of its redirects) is not already on the page.
Links to relevant discussions (where appropriate):
Wikipedia:Bots/Requests for approval/RileyBot 15, Wikipedia:Bot_requests/Archive_54#Redirects_to_sections
Edit period(s):
Continuous
Estimated number of pages affected:
11,000 says my DB scan.
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details:
Run through a list (list created via db scan) that contains only section redirects and adds Template:R to section to the page if the template (and any of its redirects) is not already on the page. As a safety, the bot will ignore the section redirect if "
=Discussion=
- {{BotComment}} This task was previously approved for trial at Wikipedia:Bots/Requests for approval/RileyBot 15 but due to retirement, never occured. Reopening now that I am back. -- Cheers, Riley 07:19, 5 February 2016 (UTC)
- :Sounds mostly fine; is it aware of {{tl|redr}} and friends? — Earwig talk 03:11, 6 February 2016 (UTC)
- ::{{Ping|The Earwig}} Indeed it is, as well as any other redirect templates I can think of. {{BotTrialComplete}} [https://en.wikipedia.org/w/index.php?title=Special:Contributions/RileyBot&dir=prev&offset=20160202185918&target=RileyBot Specific contributions] -- Cheers, Riley 06:04, 6 February 2016 (UTC)
- :::Hmm, we didn't get a chance to test any edge cases, but that sorta makes sense given how few pages are likely to already include (e.g.) {{tl|redr}} without also being tagged as a section. Last question: are you checking for :Category:Redirects to sections directly? — Earwig talk 04:13, 11 February 2016 (UTC)
- ::::It's checking indirectly via templates and directly via :Category:Redirects to sections. :) -- Cheers, Riley 05:27, 11 February 2016 (UTC)
- :::::Good, that's what I was hoping. {{BotApproved}} — Earwig talk 05:36, 11 February 2016 (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.