You may also define new languages using the $wgExtraLanguageNames variable in 
LocalSettings.php. Language names may be more than 3 characters. If you define 
a new language name for each interwiki prefix, your interwiki links shall be 
considered like language links. On the other hand, this means they will appear 
in the "other languages" box. Up to you.

You may also use some kind of extension to fetch raw wiki text from the distant 
wiki and extract interwiki links from it.

M.B.

-----Message d'origine-----
De : [email protected] 
[mailto:[email protected]] De la part de Roan Kattouw
Envoyé : dimanche 28 mars 2010 15:00
À : MediaWiki API announcements & discussion
Objet : [english 100%] Re: [Mediawiki-api] Get interwiki links from page

2010/3/28 Alexrk <[email protected]>:
> Hi, is there any way to get the interwiki links from a page. It seems, neither
> prop=extlinks nor prop=links are able to find these.
>
There's prop=langlinks, but that only lists interlanguage links.
Interwiki links can't be listed by the API because they're not tracked
in the database.

Roan Kattouw (Catrope)

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

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

Reply via email to