Platonides wrote:
I wrote:
If I try to get a token for the WP main page thus:
http://en.wikipedia.org/w/api.php?action=query&prop=info&titles=Main...
The response I get is this (reformatted for clarity):
<?xml version="1.0" encoding="utf-8"?>
<api> <query> <pages> <page pageid="11105676" ns="0" title="Main Page" touched="2007-08-25T12:09:35Z" lastrevid="153530626" counter="0" length="4726" /> </pages> </query> </api>
I can't see any edittoken In the XML that is returned - is it just that this hasn't been implemented yet, or am I doing something wrong?
Many thanks,
It worked. But yesterday there were problems [1] on upgrading and several revisions were reverted, included this. Brion said that we should wait a day or two to have it again :-)
PS: I see it's now fixed.
So it is! Or, at least I get a value in the XML called "edittoken" - I'll have to try to get it to do something meaningful.
1-
http://permalink.gmane.org/gmane.science.linguistics.wikipedia.technical/333...
Thanks for the link,