Wikipedia:Bots/Requests for approval/Hazard-Bot 24


 * 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

Hazard-Bot 24
Operator:

Time filed: 02:52, Tuesday June 25, 2013 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): Pyton

Source code available: [//github.com/HazardSJ/HazardBot/blob/master/enwiki/infoboxCompany.py GitHub]

Function overview: Replacing slogan (depreciated for some time now per a discussion) with caption in infobox company

Links to relevant discussions (where appropriate): AutoWikiBrowser/Tasks

Edit period(s): One time run

Estimated number of pages affected: > 1210

Exclusion compliant (Yes/No): Yes

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

Function details: See overview

Discussion
Will you be adding this replacement to AWB/RTP? GoingBatty (talk) 03:19, 25 June 2013 (UTC)
 * ✅  Hazard-SJ  ✈   01:00, 3 July 2013 (UTC)
 * A AWB run to do this was requested at AutoWikiBrowser/Tasks. --Nathan2055talk - contribs 17:29, 26 June 2013 (UTC)
 * I already mentioned this above   Hazard-SJ  ✈   21:06, 26 June 2013 (UTC)

BAGAssistanceNeeded  Hazard-SJ  ✈   01:00, 3 July 2013 (UTC)

-- Chris 16:05, 15 July 2013 (UTC)

I started with [//en.wikipedia.org/wiki/Special:Contributions/Hazard-Bot?limit=24&offset=20130719000400 these] then switched to [//en.wikipedia.org/wiki/Special:Contributions/Hazard-Bot?limit=26&offset=20130719001900 these] to preserve spacing.  Hazard-SJ  ✈   00:23, 19 July 2013 (UTC)

What is the behavior if a template has both slogan and caption? — Earwig   talk  01:13, 1 August 2013 (UTC)
 * If there's such a case it will skip.  Hazard-SJ  ✈   02:51, 25 August 2013 (UTC)

Can you not remove whitespace around the parameter name and leave it as in the original "| slogan =" -> "| caption =" not "|caption=". Should be trivial with some whitespace Regex. — HELL KNOWZ  ▎TALK 22:27, 25 August 2013 (UTC)
 * I'll be using mwparserfromhell which should attempt to preserve whitespace.  Hazard-SJ  ✈   05:17, 28 August 2013 (UTC)
 * Well, actually, it depends on how you use it. Also, as I mentioned above, I fixed the issue for the last set of edits.

— HELL KNOWZ  ▎TALK 07:50, 28 August 2013 (UTC)
 * I made [//en.wikipedia.org/wiki/Special:Contributions/Hazard-Bot?limit=52&offset=20130829081200 52 more edits]. The script is also now available (see above). Hazard SJ 08:15, 29 August 2013 (UTC)
 * BAGAssistanceNeeded Hazard SJ 19:38, 6 September 2013 (UTC)

Sorry for delay. All looks good, quite a simple one. I'm okay to extend this from one-time task to running when requested in the future if requested by someone else following a consensus to do so. — HELL KNOWZ  ▎TALK 21:42, 12 September 2013 (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.