It works fine for me when I try it locally. Try using wget's --debug
option to see exactly what is being sent to the server, or otherwise
examine what is being sent to verify that it is actually what it is
supposed to be.
On Fri, Sep 27, 2013 at 4:34 AM, Andreas Mrvka <andreas.mrvka(a)gmail.com> wrote:
Hello list,
after I can successfully edit pages via API function I want to send
text content with pipe characters.
It works as long this characters is not at the beginning of a line.
(but most formulars work in that way)
Leading pipe " | " sign is ignored.
My script looks like:
content="content|pipe|content
|newline
|newline"
wget ..... --post-data "action=edit&title=pagename&text=$content&token=
The result looks like:
content|pile|content
newline
newline
Can anybody help me how to quote it?
Thanks
Andreas
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
--
Brad Jorsch (Anomie)
Software Engineer
Wikimedia Foundation