On Sun, Feb 17, 2008 at 1:24 AM, Stephen Bain stephen.bain@gmail.com wrote:
On Feb 17, 2008 6:41 AM, Bryan Tong Minh bryan.tongminh@gmail.com wrote:
That looks totally weird... the default sorting algorithm is by sortkey: "$this->addOption('ORDER BY', 'cl_to, cl_sortkey' . ($params['dir'] == 'desc' ? ' DESC' : '') . ', cl_from');" but if you look at the sortkeys, you see that they are totally out of order: http://commons.wikimedia.org/w/api.php?action=query&list=categorymembers&cmtitle=Category:English%20pronunciation&cmlimit=20&cmprop=title|sortkey
It seems to be sorting by timestamp instead:
-- Stephen Bain stephen.bain@gmail.com
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Fixed in r31034.
Bryan