If $wgCategoryCollation is set to 'numeric' (which tell it to use the NumericUppercaseCollation class), numbers that start with leading zeros are sorted incorrectly. For example:
0
1
9
01
10
99
001
019
023
100
If $wgCategoryCollation is set to 'numeric' (which tell it to use the NumericUppercaseCollation class), numbers that start with leading zeros are sorted incorrectly. For example:
0
1
9
01
10
99
001
019
023
100
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Fixing numeric sorting for numbers with leading zeros | mediawiki/core | master | +4 -2 |
Change 317004 had a related patch set uploaded (by Kaldari):
Fixing numeric sorting for numbers with leading zeros
Change 317004 merged by jenkins-bot:
Fixing numeric sorting for numbers with leading zeros
Wikis using the 'numeric' collation need to have the updateCollation.php script re-ran (after the patch is deployed) to correct the missorted entries.