Hi Gergo, is this the right way? https://commons.wikimedia.org/w/api.php?action=query&format=xml&gsrprop=size&generator=search&gsrsearch=london&gsrnamespace=6&gsrlimit=10&gsrqiprofile=wsum_inclinks&gsrenablerewrites=1
If so, could you help me to understand how can I set a defined size? Moreover, I see that there is also paragraph that talk about search for specific file measures. Is this active? How could I use it? https://www.mediawiki.org/wiki/Help:CirrusSearch#File_measures Thank you really for your help. Luca 2017-02-05 0:21 GMT+01:00 Luca Libonati <[email protected]>: > ok. > Thank you. > Luca > > 2017-02-04 23:58 GMT+01:00 Gergo Tisza <[email protected]>: > >> Please don't use opensearch. It's meant for generic applications which >> implement the OpenSearch protocol (e.g. browsers which want to expose site >> search in their address bar for aritrary websites). Use one of the normal >> search APIs, like action=search or action=prefixsearch. >> >> On Sat, Feb 4, 2017 at 2:00 PM, Luca Libonati <[email protected]> >> wrote: >>> >>> Is there a way to filter images in order to have only images with a >>> width bigger than a defined value? >>> >> >> You can use the filesize option with normal search: >> https://www.mediawiki.org/wiki/Help:CirrusSearch#filesize >> >> prefixsearch is geared for performance (real-time suggestions as you >> type) and has very few options. >> >> _______________________________________________ >> Mediawiki-api mailing list >> [email protected] >> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api >> >> >
_______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
