https://bugzilla.wikimedia.org/show_bug.cgi?id=28406

             Bug #: 28406
           Summary: some wikibits.js fixes for sortable tables
           Product: MediaWiki
           Version: 1.17
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Javascript
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 8370
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8370
proposed patch

I've done 4 fixes for the sorttable script:
# 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.
# the non breaking space \xa0 is included in the whitespace shortcut \s (or is
there a browser bug?), so I've changed [\xa0\s] to \s
# 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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to