Page MenuHomePhabricator

Add support for sorting fractions in jquery.tablesorter
Open, LowPublicFeature


Author: mhorvath2161

unified diff file

This patch allows tables with fractions in them to be sorted properly. It only works for the simplest of fractions consisting of only a numerator and denominator, with no other operations. It could be made more powerful, but it's beyond the scope of my efforts.

Version: unspecified
Severity: enhancement




Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:22 PM
bzimport set Reference to bz15404.
bzimport added a subscriber: Unknown Object (MLST).

*Bulk BZ Change: +Patch to open bugs with patches attached that are missing the keyword*

does the updated JS table sorter handle this?

Not related to language afaik (removing as bug 30673 blocker).

This is a separate bug for our javascript tablesorter.

sumanah wrote:

SharkD, your patch no longer cleanly applies against trunk, so I am marking it reviewed. Thanks for the patch. If you're still running into this problem, and you would like to revise your patch, please come into MediaWiki-General on freenode IRC to talk about revising the patch. Thanks again!

I have created a new and more complete fractions parser. I'll complete the testcase later tonight and add it.

sumanah wrote:

(for the benefit of other interested readers -- reverted in r113122 )

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:01 AM
Aklapper removed a subscriber: TrevorParscal.