https://bugzilla.wikimedia.org/show_bug.cgi?id=164





--- Comment #133 from Le Chat <[email protected]>  2009-11-19 12:53:22 UTC ---
We seem to be overcomplicating things now. Of course category sort keys and
binary collation keys are different beasts. We just need a couple of stub
functions (we - or rather individual projects - can worry about what they
should do later), F1 and F2, such that F1(T) means the collation key derived
from page title T, and F2(K) means the collation key derived from
human-readable category sort key K (the two functions will be similar, but
potentially not identical). Then apply them at the appropriate places in the
code generating the category listings. There will also need to be a function
that retrieves the first letter back from a binary key, as has been noted. All
these functions will be language- and project-dependent - no-one is in a
position to write all of them, but once the basic (and trivial) framework is in
place, people who know about the various languages will be able to work on
writing these functions. If a project thinks it needs the option of multiple
sort algorithms, then that's pretty simple to implement as well, though
starting with just one algorithm per project seems perfectly satisfactory - all
the main public-facing projects are language-specific anyway, so even if
English Wiktionary contains Czech words, we would still expect them to be
sorted in the English order.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to