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 Approved.
Operator: Jc86035 (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
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 Category:Calls to Module:Unsubst that use $N (0)
Links to relevant discussions (where appropriate): User talk:Mr. Stradivarius#Module:Unsubst/sandbox
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
[edit] Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. 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 \|$N=[^|}]*\{\{
because regex can never perfectly handle those constructs. — Earwig talk 20:46, 2 June 2017 (UTC)[reply]
- @The Earwig: Trial complete. 50 edits. Don't think anything's gone awry. Jc86035 (talk) Use {{re|Jc86035}}
to reply to me 07:22, 3 June 2017 (UTC)[reply]
Approved. @Jc86035: 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)[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.