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%20Page&intoken=edit

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,
-- 
Jim


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

Reply via email to