2009/8/11 Petr Kadlec <[email protected]>: > I don’t (at least not in the way it is expressed). If you want to use > the page title as a tiebreaker, then add it as a new column to the > index (before the page_id), not (as I read the original sentence) by > appending the title to the sort key. > The page title is not in the categorylinks table, so we can't add it to the index.
> Otherwise, you’ll have to separate the sort key from the title with > some control character under U+0020 (to ensure correct ordering of > different-length sort keys – you need a separator which sorts before > any valid character), which would be messy. > > But still, I don’t see the point in doing that. You don’t want a page > called “Aaa” to come after a page called “Abc” when you set their > sortkeys both to the same value? Don’t do that then. Set the sortkey > accordingly to what you want. > Exactly. When using identical sortkeys, you shouldn't complain that MediaWiki doesn't magically know in which order you want to sort them. You can make it predictable by using a (more) unique sortkey. Roan Kattouw (Catrope) _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
