Wikipedia:Bots/Requests for approval/HasteurBot 8
- 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 Withdrawn by operator.
Operator: Hasteur (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 05:10, Wednesday February 5, 2014 (UTC)
Automatic, Supervised, or Manual: Automatic
Programming language(s): AutoWikiBrowser
Source code available: AWB configuration
Function overview: Convert parameters of Template:Infobox dam (and the redirects to it) to new ones to support a request by users.
Links to relevant discussions (where appropriate): Bot Request thread
Edit period(s): one time run
Estimated number of pages affected: ~2.5k on the Infobox dam template, and potentially that many on the other side as well
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): YES
Function details: This bot does not need to be exclusion compliant as it is automating the replacement of template parameters
alt
intoimage_alt
caption
intoimage_caption
location_map_width
intolocation_map_size
location_map_text
intolocation_map_caption
official_name
intoname_official
locale
intolocation
status=U
intostatus=UC
began
intoconstruction_began
commissioned
andopen
, intoopening
closed
anddecommissioned
, intodemolished
type
todam_type
crosses
todam_crosses
length
todam_length
height
todam_height
height_foundation
todam_height_foundation
height_thalweg
todam_height_thalweg
crest_width
todam_width_crest
base_width
todam_width_base
crest_elev
todam_elevation_crest
volume
todam_volume
spillways
tospillway_count
reservoir
tores_name
reservoir_capacity
tores_total_capacityres_capacity_totalres_total_capacity
tores_capacity_total
active_capacity
tores_active_capacityres_capacity_activeres_active_capacity
tores_capacity_active
inactive_capacity
tores_inactive_capacityres_capacity_inactiveinactive_capacity
tores_capacity_inactive
reservoir_catchment
tores_catchment
reservoir_surface
tores_surface
reservoir_length
tores_max_length
reservoir_max_width
tores_max_width
reservoir_max_depth
tores_max_depth
reservoir_elevation
tores_elevation
tidal_range
tores_tidal_range
com
intoplant_commission
decom
intoplant_decommission
conventional
,run_of_river
,tide
, andpumped_storage
intoplant_type
turbines
toplant_turbines
installed_capacity
toplant_capacity
average_annual_gen
andannual_generation
, intoplant_annual_gen
url
towebsite
Discussion
[edit]Requesting a expedient approval as this request seems straight forward Hasteur (talk) 05:10, 5 February 2014 (UTC)[reply]
- There is consensus at the {{Infobox dam}}. Please assist in expediting per Hasteur, as this fairly straightforward and somewhat time critical. Rehman 17:55, 5 February 2014 (UTC)[reply]
Approved for trial (30 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. I pasted the missing change list above, does this match what you're doing? — HELLKNOWZ ▎TALK 10:47, 9 February 2014 (UTC)[reply]
- Yes, and I did update the list based on some changes that Rehman asked for. Hasteur (talk) 14:16, 9 February 2014 (UTC)[reply]
- [1] [2] [3] [4] [5] [6] [7] [8] are the ones I've done so far. I had to run under my wiki account because HasteurBot is not authorized for AWB. Hasteur (talk) 14:21, 9 February 2014 (UTC)[reply]
- Trial ought to be under bot's account, so do ask for AWB authorization first then. — HELLKNOWZ ▎TALK 14:41, 9 February 2014 (UTC)[reply]
- Trial complete. [9] is the set of 20 that I completed. First set of ten I used a 10 second wait period between saves, second set I used a 5 second delay between saves. I think 3 seconds delay is the lowest I'd go as that would have the infobox dam pages finish in a little over 2 hours of execution time. Hasteur (talk) 00:10, 12 February 2014 (UTC)[reply]
- that link seems to be (now) incorrect, but this one is working for me. seems not all the parameters are being updated, which is probably due to the description not being completely specified? for example,
depth
,width
, ... Frietjes (talk) 15:16, 12 February 2014 (UTC)[reply]- D'oh... Yep my contributions-fu is weak. As to some parms not being updates is because I am following the direction in which parms are to be "renamed". Hasteur (talk) 00:56, 13 February 2014 (UTC)[reply]
- also it looks like you are changing
crest_width
todam_elevation_crest
? Frietjes (talk) 15:39, 13 February 2014 (UTC)[reply]
- also it looks like you are changing
- D'oh... Yep my contributions-fu is weak. As to some parms not being updates is because I am following the direction in which parms are to be "renamed". Hasteur (talk) 00:56, 13 February 2014 (UTC)[reply]
- that link seems to be (now) incorrect, but this one is working for me. seems not all the parameters are being updated, which is probably due to the description not being completely specified? for example,
- As above,
|crest_width=
--|dam_elevation_crest=
or|dam_width_crest=
- Most edits made multiple
|plant_type=
params, for example, here the old value is now hidden. - Is
|depth=
or|width=
not supposed to be on the list too? — HELLKNOWZ ▎TALK 13:27, 19 February 2014 (UTC)[reply]
Withdrawn by operator. Looks like annother bot came in and did the replacements. I'm withdrawing this request since the base request is fufilled. Hasteur (talk) 14:00, 19 February 2014 (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.