yishai goldstein schreef: > 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 This bug was fixed a week ago, but the fix hasn't gone live on Wikipedia yet (I'll poke Brion to put it live). The error is caused by the presence of a [[Media:Foo.ogg]] link on the page (or any link to the Special: or Media: namespace, really), which can't be fed to the generator. Last week's fix doesn't change that, but changes the error to a warning; you'll get the list of links along with a warning that the Special: and Media: namespaces aren't supported, but the link to the sound file won't be listed unless you do a simple (i.e. non-generator) request. I intend to fix this properly in the future, but only once registration of links to the Special: and Media: namespaces has been made consistent.
Roan Kattouw (Catrope) _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
