[Mediawiki-api] new bug in category members query?

Bryan Tong Minh bryan.tongminh at gmail.com
Sat Feb 16 19:41:27 UTC 2008


On Fri, Feb 15, 2008 at 8:32 AM, Minh Lê Ngọc <cumeo89 at 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 at 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>


More information about the Mediawiki-api mailing list