Στις 21-07-2010, ημέρα Τετ, και ώρα 23:49 +0200, ο/η Roan Kattouw έγραψε:
2010/7/21 Aryeh Gregor Simetrical+wikilist@gmail.com:
The overall solution, then, would be:
- Change the way category sortkeys are generated. Start them with a
letter depending on namespace, like 'C' for category, 'P' for regular page, 'F' for file. After that first letter, append a sortkey generated by ICU or whatever. I think Tim has opinions on what would be a good choice to convert the article title into sort key -- if not, I'll have to research it and hopefully not come up with a completely incorrect answer.
Note that different languages will want different orders. For instance, German generally sorts ä as ae, ö as oe and ü as ue, whereas the Swedish sort å, ä and ö at the end of the alphabet (so they actually say A, B, C, ... Z, Å, Ä, Ö and use the phrase "from A to Ö"). These collation schemes obviously conflict in their handling of ä and ö, and I'm sure there's crazier stuff out there.
This could be solved by having a different collation scheme for each content language (these have to be standardized *somewhere*, right?) and using {{DEFAULTSORT:}} for those rare cases where you have an article about a German person on a non-German wiki and want it to sort the German way.
It's much worse than that. On the Wiktionary projects, which have the modest goal of documenting all words in all languages *on each language edition*, you can expect to find german, french, arabic, etc. lemmas on say the russian project. Even worse, you can expect to find multiple lemmas on one page if the lemma has the same orthography in more than one language. If the sort order differs between languages it's loads of fun.
Ariel