Tei schrieb:
> note to self:  look into the code that order text  (collation) in
> mediawiki, has to be fun one :-)

There is none. Sorting is done by the database. That is to say, in the default
"comnpatibility" mode, binary "collation" is used - that is, byte-by-byte
comparison of UTF-8 encoded data. Which sucks. But we are stuck with it until
MySQL gets proper Unicode support.

If you set up the database to use proper UTF-8, collation is a bit better
(though still not configurable, i think). But it crashes hard if you try to
store characters that are outside the Basic Multilingual Plane (Gothic runes,
some obscure Chinese characters, ...) - that's why this is not used on 
wikipedia.

-- daniel

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to