I have a script for this, call editpage.php Please put your name to the mailinglist on http://bugzilla.wikimedia.org/show_bug.cgi?id=831
Jim Higson schrieb:
I'm trying to programatically submit edits to my wiki via a http post, using XMLHTTP. However, I am unable to 'persuade' the server to accept them. The server always responds as if I'm asking for a preview.
Either:
- I'm not making the upload requests correctly
- There is a server side security model that forbids this
- I'm going mad :)
You can see the form-data I'm sending by going here:
http://81.5.150.113/wysi/Very_small_test?debug=yes&action=edit then change the wikitext and click save, the request and response body will be shown on the right (which I use as a debugging area)
Any help would be really appreciated, this is a real show-stopper for my project.
Thanks, Jim
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l