[Mediawiki-api] Query PageID for Links (prop=links)

Christian Koncilia christian.koncilia at gmx.net
Mon Oct 4 09:31:03 UTC 2010


Sorry, correct link should be  ...&prop=links (instead of prop=lin)


-----Ursprüngliche Nachricht-----
Von: mediawiki-api-bounces at lists.wikimedia.org
[mailto:mediawiki-api-bounces at lists.wikimedia.org] Im Auftrag von Christian
Koncilia
Gesendet: Montag, 04. Oktober 2010 11:27
An: 'MediaWiki API announcements & discussion'
Betreff: [Mediawiki-api] Query PageID for Links (prop=links)

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&prop=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?

Best regards,
	Christian


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




More information about the Mediawiki-api mailing list