* (bug 11795) Be more paranoid about confirming accept-encoding header is present
* (bug 11809) Use formatNum() for more numbers
* (bug 11818) Fix native language name of Inuktitut (iu)
+* Remove all commas when parsing float numbers in sorted tables
=== API changes in 1.12 ===
* to ensure that client-side caches don't keep obsolete copies of global
* styles.
*/
-$wgStyleVersion = '100';
+$wgStyleVersion = '101';
# Server-side caching:
function ts_parseFloat(num) {
if (!num) return 0;
- num = parseFloat(num.replace(/,/, ""));
+ num = parseFloat(num.replace(/,/g, ""));
return (isNaN(num) ? 0 : num);
}