Perfect, thanks
-----Original Message-----
From: mediawiki-api-bounces(a)lists.wikimedia.org
[mailto:mediawiki-api-bounces@lists.wikimedia.org] On Behalf Of Platonides
Sent: Friday, December 12, 2014 3:47 PM
To: MediaWiki API announcements & discussion
Subject: Re: [Mediawiki-api] Revision / version number of a wikipedia page / title
On 13/12/14 00:15, practikalmind wrote:
Hi,
Using the mediaWiki API, is it possible to get the revision / version
number of the Wikipedia page / title? I am using
http://en.wikipedia.org/w/api.php?format=xml&action=query&prop=revi…
ns&rvprop=content&pageids=10 and don’t see the revision number for the
page. Please let me know
Thanks
You requested to only receive the content. Try
http://en.wikipedia.org/w/api.php?format=xml&action=query&prop=revi…
See
http://en.wikipedia.org/w/api.php?action=help&modules=query%2Brevisions
for full parameter list.
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api