Last modified: 2014-10-01 12:50:24 UTC
After the implementation of the spaces to separate thousands with {{formatnum:}}, sortable tables do not work well with them. You can test an example in http://es.wikipedia.org/wiki/Usuario:Invadinado/testing-tables Thanks in advance.
$.tablesorter doesn't consider space a valid number separator, and it's not included in the regex for detecting numbers that's built on line 391 of resources/jquery/jquery.tablesorter. I'm not sure if we can just include it there, or if it's going to cause some breakage.
Actually, it seems like it is, coming from wgSeparatorTransformTable. I'd have to look into it more to figure out what's happening.
The vars are correct: "wgSeparatorTransformTable":[", ."," ,"] "wgDigitTransformTable":["",""] And tablesort splits by the \t Looks like the regex get confused by the space and only getting the first block as number.
*** Bug 56952 has been marked as a duplicate of this bug. ***