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 http://en.wikipedia.org/w/api.php?format=xml&action=query&prop=revisions&rv prop=content&pageids=10 &action=query&prop=revisions&rvprop=content&pageids=10 and don't see the revision number for the page. Please let me know
Thanks
http://en.wikipedia.org/w/api.php?format=xml&action=query&prop=revis...
See the API documentation on rvprop
On Fri, Dec 12, 2014 at 6:15 PM, practikalmind practikalmind@gmail.com 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=revis... and don’t see the revision number for the page. Please let me know
Thanks
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Thanks, appreciate the quick response.
From: mediawiki-api-bounces@lists.wikimedia.org [mailto:mediawiki-api-bounces@lists.wikimedia.org] On Behalf Of Betacommand Sent: Friday, December 12, 2014 3:27 PM To: MediaWiki API announcements & discussion Subject: Re: [Mediawiki-api] Revision / version number of a wikipedia page / title
http://en.wikipedia.org/w/api.php?format=xml http://en.wikipedia.org/w/api.php?format=xml&action=query&prop=revisions&rvprop=content|ids&pageids=10&format=jsonfm &action=query&prop=revisions&rvprop=content|ids&pageids=10&format=jsonfm
See the API documentation on rvprop
On Fri, Dec 12, 2014 at 6:15 PM, practikalmind <practikalmind@gmail.com mailto:practikalmind@gmail.com > 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 http://en.wikipedia.org/w/api.php?format=xml&action=query&prop=revisions&rvprop=content&pageids=10 &action=query&prop=revisions&rvprop=content&pageids=10 and don’t see the revision number for the page. Please let me know
Thanks
_______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org mailto:Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
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=revis... 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=revis...
See http://en.wikipedia.org/w/api.php?action=help&modules=query%2Brevisions for full parameter list.
Perfect, thanks
-----Original Message----- From: mediawiki-api-bounces@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=revis... 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=revis...
See http://en.wikipedia.org/w/api.php?action=help&modules=query%2Brevisions for full parameter list.
_______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
mediawiki-api@lists.wikimedia.org