Jim Higson wrote:
Hi.
I've been trying for a while to get an edittoken and use it to submit edits to a test wiki running on my own machine (medaiwiki 1.11 from SVN, newer than the Wikipedia.org at time of writing)
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.
1- http://permalink.gmane.org/gmane.science.linguistics.wikipedia.technical/333...