Page MenuHomePhabricator

Discontinue tableSorterCollation
Open, Needs TriagePublic

Description

In rMW resources/src/jquery.tablesorter/jquery.tablesorter.js a configuration tableSorterCollation is offered.

This has been a workaound about 2010, when sorting was always performed by numeric codepoint. By replacing some letters of the text by others, the local wiki language could change that behaviour and adopt to common practice, e.g. for éäöüßê etc.

Meanwhile all common browsers should have learnt Intl.Collator (CanIuse).

Line 505 says // Android doesn't support Intl.Collator but current mobilephones are able to cope with that.

Workaround discussed in T32674 (2011).

Action

Simplify and accelerate code.

  • Remove from buildCollation() etc.

Follow up

Site configuration may be reduced.