On Tue, Sep 30, 2008 at 2:34 PM, Roan Kattouw <roan.kattouw(a)home.nl> wrote:
The following parameters are then used as part of a POST request in
the attempt to create a new page;
action=edit&title=IBWikiBotTest&summary=Page created by the
IBWikiBot.&text=This is some test content added by the
IBWikiBot.&md5=e21e79d8ee8ee6b5038c9bac090decf1&bot&recreate&token=0e72e13613a9408646cae5aa1a630d0a+\\&format=php
Try removing the second backslash (you don't need to escape backslashes
in URLs) and encoding the + as %2B (if you don't do that, it could end
up being converted to a space).
Roan Kattouw (Catrope)
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
You should actually encode the +\ in proper url encoding. Those
characters exist on purpose in edittokens to detect software that
handles escaping badly.
Bryan