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

Time filed: 05:55, Saturday, December 5, 2015 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): Python

Source code available: GitHub

Function overview: Replaces ((sandbox heading)) (and redirects) with ((user sandbox)) in userspace, excluding User:Sandbox and User talk:Sandbox

Links to relevant discussions (where appropriate): Wikipedia:Bots/Requests for approval/Hazard-Bot 4

Edit period(s): once a month

Estimated number of pages affected: About 118 initially, then less that 10 each month (I guess)

Exclusion compliant (Yes/No): Yes

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

Function details: The function overview pretty much says it all.  Hazard SJ  05:55, 5 December 2015 (UTC)[reply]

Discussion

[edit]

Okay, a couple things:

— Earwig talk 12:07, 6 December 2015 (UTC)[reply]

Yes, it's pretty much just re-approval based on what you said. Also, for the pages with both, would the best option be to remove the incorrect template and leave the correct template as-is?  Hazard SJ  20:04, 6 December 2015 (UTC)[reply]
I'd think so. For each sandbox template, replace if there's no instance of a user template or remove if there is. Does this cover User: only or User talk: as well? — Earwig talk 22:08, 6 December 2015 (UTC)[reply]
Code updated: if the page does not already contain the the user sandbox template, replace the first occurrence of the standard sandbox template with a user sandbox template, then remove all (remaining) occurrences of the standard sandbox template. Also, it currently covers both User and User talk.  Hazard SJ  03:05, 7 December 2015 (UTC)[reply]
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. — Earwig talk 06:57, 8 December 2015 (UTC)[reply]
Trial complete. Here are the edits.  Hazard SJ  02:21, 9 December 2015 (UTC)[reply]

 Approved. — Earwig talk 02:59, 13 December 2015 (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.