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





--- Comment #141 from Philippe Verdy <verd...@wanadoo.fr>  2009-11-19 16:09:07 
UTC ---
#137 From Roan Kattouw 2009-11-19 14:17:38 UTC
>(In reply to comment #134)
>> Tdoday, basically, the categories are sorted by [sort key, full page name].
>> (possibly truncated to a reasonable size using unique identifier).
>> 
>This is not true. We're sorting by (sort key, pageID) where the sortkey is
>whatever the page sets as sortkey (or the page name if not set), and pageID is
>a unique number identifying the page (roughly proportional to creation time).

I was speaking conceptually. The "pageID" is absolutely not conceptual and
makes absolutely no sense lingusitically for most users, for sorting pages
having the same sort key specified. We really want these pages to be sorted
according to the specified sort key (when it is present), then by the full page
name; and both using the same locale-dependant collation order.

The pageID was just added to make sure that the sort key was unique (actually
this is not a requirement), and for allowing navigation from page to page
without missing entries or duplicating them across pages, but it is definitely
not part of a good sort key (this is the only reason why we want a unique id
there, but in fact it is redundant and is an alternate binary representation of
the full pagename which is also unique, but which is completely unsuitable for
collation).


-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to