2010/11/25 Leena <leena...@gmail.com>:
> Hello all,
> I use opensearch to search Wikimedia Commons for images for a search tool I
> have created. The query is as follows:
> http://commons.wikimedia.org/w/api.php?action=opensearch&&format=xml&namespace=6&search=[searchTerm]
> However, I find that the number of "Item" elements returned by this query is
> often either 9, 10 or 11. So far it seems that the number is more or less
> within this range.
> Is there some sort of limit on the number of results that are fetched? How
> could I get more results?
Set &limit=25 to get (at most) 25 results. The highest limit you can set is 100.

Roan Kattouw (Catrope)

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to