On Fri, Feb 15, 2008 at 8:32 AM, Minh Lê Ngọc cumeo89@gmail.com wrote:
I'm having trouble with querying English pronunciation from commons by my bots. Take a look at queries below:
title=Category:English pronunciation title=Category:English pronunciation&cmcontinue=used to.ogg| There are 4 items appear twice in these 2 queries: wherewithal, wires, wire, wired and items are sorted in no order. What's up?
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
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