Wikipedia:Bots/Requests for approval/UsuallyNonviolentBot 2


 * 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

UsuallyNonviolentBot 2
Operator:

Time filed: 09:42, Friday, June 2, 2017 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): AutoWikiBrowser

Source code available: AWB (regex)

Function overview: Remove $N from Module:Unsubst, page list

Links to relevant discussions (where appropriate): User talk:Mr. Stradivarius

Edit period(s): One-time run

Estimated number of pages affected: 624

Exclusion compliant (Yes/No): Yes

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

Function details: $N is no longer required in Module:Unsubst, so removing any remaining uses. Bot will require temporary template editor rights for this task, since some of the templates are protected.

Discussion
Gave you AWB and confirmed. TE after approval. For now, let's test it on unprotected (or semi-protected, less preferably) templates to minimize any damage. Be careful about the regex; I would manually check all edits whenever there is something of the form  because regex can never perfectly handle those constructs. —  Earwig   talk 20:46, 2 June 2017 (UTC) to reply to me 07:22, 3 June 2017 (UTC)
 * 50 edits. Don't think anything's gone awry. Jc86035 (talk) Use &#123;&#123;re&#124;Jc86035&#125;&#125;

Looks good. One small change would be to swap "parameter" for "deprecated parameter" in the edit summary to make it clear what we're doing. I gave you TE for a week, let me know if you need more time. Lastly, it goes without saying that there's inherent danger in editing TE-protected pages, so make sure you check over those edits in particular, and go slowly to avoid killing the job queue. —  Earwig   talk 18:45, 5 June 2017 (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.