On Sun, Jul 13, 2008 at 5:52 AM, Dirk Riehle <[EMAIL PROTECTED]> wrote:
>
> looking through the API: http://en.wikipedia.org/w/api.php I can't find
> any way to get at the actual page contents. Is this correct?

Sure there is, you use something like this:

http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=Main%20Page&rvlimit=1&rvprop=content

That's the contents of the current revision of the Main Page.

Search for "prop=revisions" in the API documentation.

-- 
Stephen Bain
[EMAIL PROTECTED]

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

Reply via email to