Patch from Bug #28406:
authorMark A. Hershberger <mah@users.mediawiki.org>
Wed, 6 Apr 2011 00:56:22 +0000 (00:56 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Wed, 6 Apr 2011 00:56:22 +0000 (00:56 +0000)
commit46cf8879ea5c81a8dfd4d314c8c9a1d40f3c3ae7
tree1bc36a67e0c54b41cd2066b26dd82ec4b3f5d48b
parentb845e4899a4cb9864f7300018257f0c077bb9317
Patch from Bug #28406:
    # the digitClass join versions were inverted: for a maxLength > 1 it should be
      (|||), not []
    # the regexp escape for digits in the ts_number_transform_table was a bit, er,
      strange. Although it worked, I think my version is more common.
    # most important: As recommended in http://en.wikipedia.org/wiki/Percent_sign,
      there may be some whitespaces between the number and the
      "%". See also Bug #15422 for that, I'm not sure wheter it's
      included there.

I didn't include the “non-breaking space is part of \s” bit since I didn't want to mess up browser bug work-arounds
skins/common/wikibits.js