Wikipedia:Bots/Requests for approval/PrimeBOT 10


 * 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 Symbol keep vote.svg Approved

PrimeBOT 10
Operator:, on behalf of

Time filed: 19:30, Monday, January 30, 2017 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): AWB

Source code available: AWB

Function overview: Replace deprecated parameters in template call of Infobox television episode

Links to relevant discussions (where appropriate): Bot request, template talk discussion

Edit period(s): One time run

Estimated number of pages affected: Maximum of 9462 pages (transclusion count) though it may be less if the parameters to be replaced aren't present.

Exclusion compliant (Yes/No): yes

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

Function details: Find and replace upper-case parameters with lowercase versions, using an underscore if necessary, e.g. Series no→series_no and Title→title.
 * Find:  Replace:
 * Find:  Replace:

Discussion
— xaosflux  Talk 20:14, 30 January 2017 (UTC)
 * - Edits Primefac (talk) 21:16, 30 January 2017 (UTC)
 * Found a glitch in a few edits (forgot to turn on template-specific replacement). Shall I go for another 50? Primefac (talk) 21:19, 30 January 2017 (UTC)
 * OK. — xaosflux  Talk 04:40, 31 January 2017 (UTC)
 * - Edits. The issue's been cleared up. Primefac (talk) 17:41, 4 February 2017 (UTC)
 * As a suggestion, and possibly a testcase for a bot with wider scope in the future. How easy/hard would it be to implement the changes from the first two expandable boxes in User:Headbomb/sandbox? WP:TV might also have a preference for parameter order (third box), but that would probably be much trickier to implement. Headbomb {talk / contribs / physics / books} 11:03, 2 February 2017 (UTC)
 * , the changes in the first two boxes would be relatively trivial to implement. For the purposes of this BRFA it would require the regex to be rewritten (and given that the original works fine I honestly don't feel like messing with it), but going forward it's definitely possible. I know this is starting to go somewhat off topic, but are you thinking of doing a "check every page that has an infobox" search, or would you narrow it down somehow? Primefac (talk) 14:44, 2 February 2017 (UTC)
 * Well, the idea really is at the brainstorming stage, so basically what I'd want in some way is infoboxes to be tidier. This could mean we have a dedicated "infobox fixer" bot, or that these get rolled out as part of AWB genfixes, or something. Likely a BRFA would be needed, and the exact scope of the run delimited in there (and a per-infobox BRFAs makes complete sense, especially if the changes re-order parameters). But I figured if this was running on infoboxes already, then those would be cosmetic edits to go alongside the more substantial edit of parameter replacement. So yeah. We can take this discussion somewhere else, either my talk page or the sandbox. Headbomb {talk / contribs / physics / books} 17:57, 2 February 2017 (UTC)

The run looks good, and between the discussions on the template talk page as well as the bot request, there seems to be support for it. -- slakr \ talk / 05:37, 10 February 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.