Roan,

I've looked at search, but it only seems to return names of pages, not
images. Is there a way to make it return images?

Tim

On Fri, Dec 30, 2011 at 7:13 AM, Roan Kattouw <[email protected]>wrote:

> On Thu, Dec 29, 2011 at 10:21 PM, Timothy Helck <[email protected]>
> wrote:
> > Basically, I would like to replicate the functionality of the
> > commons.wikimedia.org search page. Ideally I would like to be able to
> get a
> > Category listing (ex.
> http://commons.wikimedia.org/wiki/Chartres_Cathedral)
> > or a true search results (ex.
> >
> http://commons.wikimedia.org/w/index.php?title=Special%3ASearch&search=%22chartres+cathedral
> ),
> > but at this point I would be happy with either.
> >
> The search results are exposed through the API:
>
> https://commons.wikimedia.org/w/api.php?action=query&list=search&srsearch=%22chartres+cathedral%22
> . Unfortunately we don't really have image keywords or anything like
> that, so searching for images is not as simple as it probably should
> be. But it's probably been done before.
>
> Roan
>
> _______________________________________________
> 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

Reply via email to