So, I see that I can complete the project using opensearch. It’s short, it’s sweet, it returns a manageable little 3-array result. But I keep thinking, wouldn’t it be sweet if our “viewer” included images? You know, like when you Google something and (at least in Chrome), alongside the Google results, Google puts together a little box with a Wikipedia entry’s title, snippet, and first image.
So I was looking into API:Query, using prop=images and list=search, but I don’t see any image URLs in the results (that would be
/w/api.php?action=query&format=json&prop=images&list=search&srsearch=chrome–try in sandbox. Anybody see a way to do this?