Home
Random
Nearby
Log in
Settings
Donate Now
If Wikipedia is useful to you, please give today.
About Wikipedia
Disclaimers
Search
User:Bobblewik/monobook.js/unitformatter.js: Difference between revisions
User page
Talk
Language
Watch
View history
View source
Browse history interactively
← Previous edit
Next edit →
Content deleted
Content added
Revision as of 15:24, 18 March 2006
view source
Bobblewik
(
talk
|
contribs
)
66,026
edits
m
No edit summary
← Previous edit
Revision as of 15:26, 18 March 2006
view source
Bobblewik
(
talk
|
contribs
)
66,026
edits
m
No edit summary
Next edit →
Line 30:
// Fix kilometres
txt.value = txt.value.replace(/(\d\s
?\-
?)(kms
?
)/gi, '$
1$2
1km
');
txt.value = txt.value.replace(/(\d
\-
)
\s
(kms
?
(km
)/gi, '$
1 km
1km
');
// Standardise kilometres per hour