Last modified: 2011-04-15 01:00:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30540, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28540 - Category headers wrong when using uca-default collation
Category headers wrong when using uca-default collation
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
1.18.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://translatewiki.net/wiki/Categor...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-14 18:11 UTC by Niklas Laxström
Modified: 2011-04-15 01:00 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Niklas Laxström 2011-04-14 18:11:44 UTC
Everything is categorized under ۞

U+06DE ARABIC START OF RUB EL HIZB
Comment 2 Bawolff (Brian Wolff) 2011-04-14 19:51:34 UTC
(In reply to comment #1)
> Looks like everything has no sort key...
> http://translatewiki.net/w/api.php?action=query&list=categorymembers&cmprop=sortkey|title&cmtitle=category:Languages_with_a_Wikiquote_project&cmlimit=max

Nevermind, thats unrelated (api doesn't like non-valid utf-8 strings. Filed separate bug 26614).

Also probably unrelated, looks like CategoryPage doesn't like sortkeys that have nulls in them. Try pressing next 500 on http://translatewiki.net/w/i.php?title=Category:User_en&pagefrom=%29%80%05%09%3C%40%40P%01%0A%01%84%8F%07%00 (Note how the key is cut off directly after the %00 )
Comment 3 Bawolff (Brian Wolff) 2011-04-14 23:30:13 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Looks like everything has no sort key...
> > http://translatewiki.net/w/api.php?action=query&list=categorymembers&cmprop=sortkey|title&cmtitle=category:Languages_with_a_Wikiquote_project&cmlimit=max
> 
> Nevermind, thats unrelated (api doesn't like non-valid utf-8 strings. Filed
> separate bug 26614).
> 
> Also probably unrelated, looks like CategoryPage doesn't like sortkeys that
> have nulls in them. Try pressing next 500 on
> http://translatewiki.net/w/i.php?title=Category:User_en&pagefrom=%29%80%05%09%3C%40%40P%01%0A%01%84%8F%07%00
> (Note how the key is cut off directly after the %00 )

Nevermind, that was totally wrong. The thingy's ending in null was just coincidence.


Anyways, both the first letter headers and paging not working is caused by r83544 - Some parts expected the human readable sortkey, while were getting the binary sortkey, which causes problems on uca-default, but wouldn't really be noticeable on uppercase collation. Reverted that revision in r86100.
Comment 4 Bawolff (Brian Wolff) 2011-04-15 01:00:49 UTC
Actually, sortkeys with a leading space are still sorting under a U+6DE. Presumably what was happening is all non-graphical characters sort under that, and before the double-encoded sortkey started with a non-graphical character. Anyways splitting that off to a different bug (bug 28545) since its really a separate issue from the all things sorting under the wrong thing.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links