HI,
I tried prop=info & intokens=edit to get the edittoken, however,
not working, I don't know whether the action=query of api.php can get
the edittoken?
Also, I'm not sure whether it's actually implemented.
Thanks
On 2/3/07, Matthew Flaschen <matthew.flaschen(a)gatech.edu> wrote:
Quoting Liang Chen <bigreat(a)gmail.com>om>:
HI,
I read some doc of mediawiki api, and is able to get the content
of one page or login. However I failed to use api.php?action=submit to
save one page. It seems that the action not include the "submit".
Could some body give a help?
Did you see
http://meta.wikimedia.org/wiki/API#Posting_Data_.2F_needs_major_editPage.ph…
?
You need to get an edittoken first.
Huge disclaimer: I have not used this part of the API, and it is not even
certain to me from reading it that it is actually implemented!
Matt Flaschen
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/wikitech-l
--
---BiGreat---
www.Liang-Chen.com