Hi,
How do I include a newline at the start of "appendtext"? Do I use "\n"?
Kind regards,
Geoffrey De Belie
window.onbeforeunload = function() {}
MediaWiki expects a literal newline (%0A when URL-encoded). How to include one in a string depends on the programming language you're accessing the API from.
---- On wo, 01 feb 2017 15:33:51 +0100 Bartosz Dziewoński matma.rex@gmail.com wrote ----
MediaWiki expects a literal newline (%0A when URL-encoded). How to include one in a string depends on the programming language you're accessing the API from.
Thanks a lot :) I was using Bash and just making a multi line string worked (didn't know you could do that in Bash).
If you're interested in the code, it's here: https://github.com/Smile4ever/wikitools/tree/master/nocat
Kind regards, Geoffrey De Belie
mediawiki-api@lists.wikimedia.org