Download, upload changes to, and manage pages from MediaWiki wikis from the command line.
This tool may work on other wiki sites, but is primarily intended for management of the Kicksecure and Whonix wikis.
Create a credentials file in /usr/share/mediawiki-shell/credentials or
~/.mediawikishell_credentials with the following contents:
case "${WIKI_URL-}" in
*".whonix."*)
WIKI_API_USER_NAME='username'
WIKI_API_USER_PASS='password'
;;
*".kicksecure."*)
WIKI_API_USER_NAME='username'
WIKI_API_USER_PASS='password'
;;
esac
WIKI_API="$WIKI_URL/api.php"
WIKI_INDEX="$WIKI_URL/index.php"If using a different wiki, add an entry to the case block.
Can be built using standard Debian package build tools such as:
dpkg-buildpackage -b
See instructions. (Replace generic-package with the actual name of this package: mediawiki-shell.)
- A) easy, OR
- B) including verifying software signatures
mediawiki-shell requires donations to stay alive!