Hi,

I'm trying to append text to a page as logged in MediaWiki user from within Bash.

I tried this, but it's very outdated:
https://www.mediawiki.org/wiki/API:Client_code/Bash

I had updated it to this:
http://pastebin.com/e9LF3UDa

I want to use this: https://www.mediawiki.org/wiki/API:Edit#Editing_pages -> appendtext

Can someone please provide me with at least a partial solution? I'm lost.

Kind regards,
Geoffrey De Belie