Hi all,

I'm trying to fetch list of all images from an article. I'm using this query:

http://en.wikipedia.org/w/api.php?action=parse&page=Norway&prop=images&format=xml

This query works; however as you can see in the result; first image item is an .ogg file. Is it a bug in MediaWiki ?

What's the preferred query to fetch list of images from an article ?

Also list of images contains logos of Wiki sites like Wikimedia commons. It may be expected; but is there a way to remove them ?

Regards,
Siteshwar Vashisht