Wikipedia:Bots/Requests for approval/BU RoBOT 19
- 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: BU Rob13 (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 16:49, Thursday, June 9, 2016 (UTC)
Automatic, Supervised, or Manual: Automatic
Programming language(s): AWB
Source code available: AWB
Function overview: Substitute from the sandbox of {{Redirect6}} to convert to {{Redirect}}
Links to relevant discussions (where appropriate): Wikipedia:Templates_for_discussion/Log/2016_June_1#Template:Redirect6
Edit period(s): One-time run
Estimated number of pages affected: 655
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details: I've converted this template to a wrapper in the sandbox. Unfortunately, the wrapper only works when substituted and can't be transcluded, so it would temporarily break all transclusions if I copied it to the main template and then used AnomieBOT to substitute it. Instead, a very quick bot run is needed to substitute directly from the sandbox. I've completed technically near-identical tasks before. See Wikipedia:Bots/Requests for approval/BU RoBOT 2 and Wikipedia:Bots/Requests for approval/BU RoBOT 8. I've created testcases at Template:Redirect6/testcases. The first hatnote in each section is what happens when the sandbox is substituted, the second hatnote is what happens when it isn't substituted (i.e. showing that it can't be transcluded), and the third hatnote is the current template. The first lines are exactly the expected appearance as laid out at the TfD discussion which was linked above.
A quick 10-edit trial (on my main account, of course) can be found here. Additionally, the regex is incredibly simple and posted below, so I'm hoping this can get through the process quickly.
\{\{\s*Redirect6\s*\|
to {{subst:Redirect6/sandbox|
Discussion
edit- Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. — xaosflux Talk 17:49, 9 June 2016 (UTC)[reply]
- Trial complete. Contribs. I looked through all diffs and found no errors. ~ RobTalk 18:38, 9 June 2016 (UTC)[reply]
- Approved. Task approved. — xaosflux Talk 16:41, 11 June 2016 (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.