yishai goldstein wrote:
> Hi,
> Articles which are spoken (have a sound file reading the article) such 
> as Barack Obama have a problem:
> http://en.wikipedia.org/w/api.php?action=query&generator=links&redirects&gpllimit=500&titles=Barack%20Obama
>  
> <http://en.wikipedia.org/w/api.php?action=query&generator=links&redirects&gpllimit=500&titles=Barack%20Obama>
> returns an error "No support for special pages has been implemented".
> Thanks,
> Yishai

That's because generator=links "Get information about the link pages in 
the page" [1]
The first link point to a Media: file [2]
<pl ns="-2" title="Media:En-Barack Obama-article1.ogg" />

Information about Media is not supported. It should be set as an alias 
to NS_IMAGE

1-http://en.wikipedia.org/w/api.php?
2-http://en.wikipedia.org/w/api.php?action=query&prop=links&titles=Barack%20Obama&pllimit=500

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to