(bug 28540) revert r83544 - It really breaks things when using uca-default collation...
authorBrian Wolff <bawolff@users.mediawiki.org>
Thu, 14 Apr 2011 23:28:11 +0000 (23:28 +0000)
committerBrian Wolff <bawolff@users.mediawiki.org>
Thu, 14 Apr 2011 23:28:11 +0000 (23:28 +0000)
commit225e0118f14beb39c59945a6005f737d49c475a4
treebf8981a84c7834aff72fecf7f679745709f3dc8b
parent7d6ddfe836310c89469b339e18fef21114d80e70
(bug 28540) revert r83544 - It really breaks things when using uca-default collation (As noticed on tw)

Various functions (particuarly the getFirstCharacter ones) all expect to have the human readable sortkey.
Passing them the binary sortkey results in the getFirstChar headers to be totally wrong. It also
causes paging not to work since the sortkey gets double encoded.

This issue probably wasn't noticed, since it wouldn't be visible on the uppercase collation
as uppercasing the first letter won't affect the first character headings, nor does double uppercasing
something matter.

Also changed one of the variable names from $rawSortkey to $humanSortkey as it confused me
(raw as in before turning to binary, or raw as in the real non-human readable sortkey)
includes/CategoryPage.php