mediawiki from the shell
Basic set of scripts to login/out and fetch/edit pages on a mediawiki site from the command line using curl.
See also
MediaWiki API documentation at:
http://www.mediawiki.org/wiki/API:Main_page
Credits
Initial example taken from http://www.mediawiki.org/wiki/API:Client_code/Bash
Updated and split into separate scripts by Matthew Newton, October 2014.