2010/7/22 Aryeh Gregor <[email protected]>: > On Wed, Jul 21, 2010 at 5:49 PM, Roan Kattouw <[email protected]> wrote: >> This is true for categories but not for files: >> http://www.mediawiki.org/w/index.php?title=Special:Log&dir=prev&offset=20091202100459&limit=2&type=move&user=Catrope > > Blech. Does this make any sense? Can we change it? It would simply > this considerably. > It doesn't make a great deal of sense and can be changed fairly easily in Title::isValidMoveTarget(). > This would also require altering the table. Why is it necessary? For > paging, we can just use cl_from to stick in the URL, and retrieve > cl_sortkey based on that and cl_to. That will make it be short and > not look horribly ugly. When do we ever need a human-readable form of > the sortkey, as opposed to a human-readable form of the title? API > users should keep working when this happens with no special code > changes on server or client, just they'll have horribly long and ugly > URLs with encoded binary. Sortkeys are often weird and not suitable > for display to humans anyway, like when "*" is used. > > I'm not seeing this as worth adding a fourth field to categorylinks, > which is a huge table already. > Hm, you're right that even in the API there is very little value in displaying the sortkeys, so let's just drop it.
> But different articles that are sorted as though they started with the > same letter might not actually start with the same letter, so how do > we figure out which first letter is the correct one? Yeah, this is pretty much impossible: when you fold A and Á, there's no guarantee that the first entry (or even the majority of entries) for A will really be A's rather than Á's. Roan Kattouw (Catrope) _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
