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

Time filed: 20:11, Tuesday, January 30, 2018 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): AWB

Source code available: WP:AWB

Function overview: Replace deprecated parameters in ((Infobox rail line))

Links to relevant discussions (where appropriate): The existence of Category:Pages using infobox rail line with deprecated parameters plus a general inclination towards removal of these parameters at Template talk:Infobox rail line.

Edit period(s): one time run

Estimated number of pages affected: 1200

Namespace(s): all

Exclusion compliant (Yes/No): yes

Function details: A relatively straight-forward find/replace inside of the template, with the following params changes:

image_size or imagesize use image_width
ridership use daily_ridership
notrack use tracks
ra use availability
ogauge use old_gauge
lgauge use load_gauge
el use electrification

Discussion[edit]

Comment: Have you considered whether you will need to check for the existence of the corresponding non-deprecated parameter before doing the replacement? You wouldn't want to end up with electrification=yes | electrification = no. If I were running this bot, I would either do a manual run with AWB and check each one, or skip instances where the supported parameter is already present. – Jonesey95 (talk) 21:20, 30 January 2018 (UTC)[reply]

I have, and so far (I have one more check to run) I have yet to find any that fit that bill. Primefac (talk) 17:14, 31 January 2018 (UTC)[reply]
UPDATE: There are no pages that transclude this template that use both a deprecated parameter and its replacement. Primefac (talk) 19:16, 31 January 2018 (UTC)[reply]
Groovy. Support, by the way. Cleanup is good. – Jonesey95 (talk) 23:26, 31 January 2018 (UTC)[reply]
 Approved. Task approved. — xaosflux Talk 02:14, 8 February 2018 (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.