Last modified: 2007-01-03 17:12:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T10275, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8275 - error sorting of numbers in table using JavaScript
error sorting of numbers in table using JavaScript
Status: RESOLVED DUPLICATE of bug 8155
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
PC All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.kryogenix.org/code/browser...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-15 21:51 UTC by Milan Jelisavčić
Modified: 2007-01-03 17:12 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Milan Jelisavčić 2006-12-15 21:51:18 UTC
There is an error sorting numbers in tables using JavaScript. For example, see
table on http://meta.wikimedia.org/wiki/Localization_statistics and sort it by
percentages. You will see that it sorts by first digit, neglect the fact that
there are some simple and some binomial numbers (I'm not sure I wrote this
right, I did my best).

Example: it sorts 91.35%, 91.35%, 9.73%, 9.39%, 89.38%, etc.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-01-03 17:12:45 UTC

*** This bug has been marked as a duplicate of 8155 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links