On Sun, Feb 17, 2008 at 1:24 AM, Stephen Bain <stephen.bain(a)gmail.com> wrote:
On Feb 17, 2008 6:41 AM, Bryan Tong Minh
<bryan.tongminh(a)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:
<http://commons.wikimedia.org/w/api.php?action=query&list=categorymembers&cmtitle=Category:English%20pronunciation&cmlimit=20&cmprop=title|sortkey|timestamp>
--
Stephen Bain
stephen.bain(a)gmail.com
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api