Wikipedia:Bots/Requests for approval/PrimeBOT 9
- 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 Speedily Approved.
Operator: Primefac (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 15:07, Wednesday, January 25, 2017 (UTC)
Automatic, Supervised, or Manual: Automatic
Programming language(s): AWB
Source code available: AWB
Function overview: Replace template being deleted with a "See also" link.
Links to relevant discussions (where appropriate): TFD
Edit period(s): One time run
Estimated number of pages affected: 236
Exclusion compliant (Yes/No): yes
Already has a bot flag (Yes/No): yes
Function details: First part is straightforward, replace {{|List of United States Post Offices.*?}}\n
with nothing.
Second part is a two-parter:
- Replace
== *References *==
→== See also ==\nList of United States Post Offices\n\n== References ==
- Remove potential duplicate "See also" sections using
== *See also *==([\s\S]*)== *See also *==\n
→== See also==\n$1
Note that in the replacement text I used \n, but this is just for keeping this nom easier to read. I'll be using actual hard returns.
Discussion
[edit]- @Primefac: to be 100% clear - this entire task is intended to be a one time run of the ~236 pages impacted by this tfd only - correct? — xaosflux Talk 04:58, 26 January 2017 (UTC)[reply]
- Yessir. Primefac (talk) 12:25, 26 January 2017 (UTC)[reply]
- Speedily Approved. low volume cleanup task by experienced operator. — xaosflux Talk 12:41, 26 January 2017 (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.