Sorry, that didnt really work - I got a set of results, the first of which
is an image of Einstein's house in Princeton:
http://en.wikipedia.org/w/api.php?action=query&prop=images&titles=A…
I want the first result to be the one in the infobox on the Einstein page,
which does appear before the image of his house. Is there a way to sort
images based on location in the page? Maybe that is to use action=render,
with blacklist dictionary for standard images?
Thanks
Anand
On Fri, Mar 12, 2010 at 4:06 PM, Anand Ramanathan <rcanand(a)gmail.com> wrote:
got it - that worked!
Thanks
Anand
On Fri, Mar 12, 2010 at 3:51 PM, Roan Kattouw <roan.kattouw(a)gmail.com>wrote;wrote:
2010/3/13 Anand Ramanathan
<rcanand(a)gmail.com>om>:
Thanks, Platonides.
I
tried
http://www.mediawiki.org/w/api.php?action=query&prop=images&titles=…
and it gave me no results - here's what I
got:
That's because [[Albert Einstein]] exists on enwiki (among others),
not on mediawikiwiki.
Roan Kattouw (Catrope)
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api