Wikipedia:Bots/Requests for approval/SmackBot 36


 * 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.

SmackBot 36
Operator: Rich Farmbrough

Automatic or Manually assisted: Automatic

Programming language(s): Perl/AWB

Source code available: AWB, yes; Perl no.

Function overview: Hyphenate adjectival uses of nn mile

Links to relevant discussions (where appropriate): User_talk:Rich_Farmbrough/Archive/2010Oct

Edit period(s): Continous

Estimated number of pages affected: 2226, about 2 new per day

Exclusion compliant (Y/N): Y

Already has a bot flag (Y/N): Y

Function details: Hypenate adjectival use of nn mile, nn miles and nn miles-per-hour, and their conversions Five examples here.

Discussion
Simple fix, may be a pilot for AWB. Rich Farmbrough 22:32, 8 October 2010 (UTC)

Rich Farmbrough 23:35, 10 October 2010 (UTC)


 * What about "nn-metre" or any other unit? Also note that many languages have a singular noun if used after a number ending in 1, so "river flows for 401 mile.", although grammatically incorrect, may have been used. Wikipedia being multi-cultural, I suspect there will be cases of this. The above link does not look like a discussion on the subject, merely a mention that spaces should have been dashes in a specific case. Also, per an example in WP:MEASUREMENT, should not change (3 km) to (3-km). It seems there needs to be a wider discussion first. This looks more suitable for AWB with human supervision. —  HELL KNOWZ  ▎TALK 10:46, 11 October 2010 (UTC)
 * I'm not looking at other units yet. This is big enough to weed out the "gotchas".
 * I look for an indefinite article too: I suppose a definite article would also suffice. If there are plural/singular errors they should be fixed not used to prevent the fixing of this (which was in turn cited as a reason not to use non-breaking spaces). Where would we stop? Someone may have written "5 mile" and meant "5 mille" or "5 mils".
 * Mosnum has examples of not hyphenating where abbreviations are used, (but no injuction) this will be respected.
 * The subject is up for discussion:
 * here
 * on my talk page
 * at Wikipedia talk:MOSNUM where Tony mentions ISO (which as Mosnum says we don't follow), but may mean the SI people (BIMP? BIPM?).
 * at Template talk:Convert
 * the last three of which are recent or only discovered by me just now. Rich Farmbrough, 16:47, 11 October 2010 (UTC).


 * Would indefinite, definite and negative articles all work? "Pave a 5-mile line" vs. "Travel the 5-mile road" vs. "No 5-mile road left untravelled"?
 * Of course, typos are user mistakes and bots cannot be blamed for fixing those. For now, both your and mine estimates of error margin are as good as guesses.
 * Also, don't get me wrong, I am pro minor fixes if they are well-defined. For example, you have brought up two more discussions I was unaware of. I'm not necessarily suggesting VP/WT:MOS or anything large scale, I think a discussion here could be sufficient. — HELL KNOWZ  ▎TALK 17:11, 11 October 2010 (UTC)
 * Looks like pronouns work too "His 250-mile (400-kilometre) march to prevent Vienna falling into enemy hands was a masterpiece of deception, meticulous planning and organisation.", but that would need testing. I have investigated likely cases of "mile" for "miles" and only found a handful, which I fixed (of course I could see other errors in those articles&hellip;). Rich Farmbrough, 18:08, 11 October 2010 (UTC).


 *  MBisanz  talk 23:54, 14 October 2010 (UTC)
 * OperatorAssistanceNeeded what is the current status of this request? ΔT The only constant 00:16, 11 November 2010 (UTC)
 * Ready to go any time. I'll do a live trial later tonight. Rich Farmbrough, 17:14, 15 November 2010 (UTC).


 * here. Rich Farmbrough, 09:25, 16 November 2010 (UTC).


 * Given the lack of objection from any of our many and varied grammar experts, . - Jarry1250 [Who? Discuss.] 16:42, 3 December 2010 (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.