Thanks Roan! This is exactly what I was looking for...

Bye
        Christian

-----Ursprüngliche Nachricht-----
Von: mediawiki-api-boun...@lists.wikimedia.org
[mailto:mediawiki-api-boun...@lists.wikimedia.org] Im Auftrag von Roan
Kattouw
Gesendet: Montag, 04. Oktober 2010 11:54
An: MediaWiki API announcements & discussion
Betreff: Re: [Mediawiki-api] Query PageID for Links (prop=links)

2010/10/4 Christian Koncilia <christian.konci...@gmx.net>:
> Hi,
>
> I would like to get a list of all links. Basically, this query 
> produces the expected result:
>
> http://en.wikipedia.org/w/api.php?action=query&titles=Active_Worlds&pr
> op=lin
> ks
>
> However, I would like to get the PageID for each link (instead of or 
> together with the name). Is there a simple way to do this?
>
http://en.wikipedia.org/w/api.php?action=query&titles=Active_Worlds&generato
r=links&prop=info

Roan Kattouw (Catrope)

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api


_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to