mwuppet is a Mediawiki Userscripts deploy tool. Use it to easily deploy your userscript bundles (JS/CSS/HTML) onto the wiki. Because copy pasting code into an edit box and hitting 'Save Page' sucks.
(pip install | easy_install) python-mwuppet
mwuppet push filename(s)
filename(s): MediaWiki userscript that you want to deploy onto the wiki.
mwuppet pull filename(s)
filename(s): MediaWiki userscript that you want to update fron the wiki.
The mediawiki_scriptname should be in the following format:
Page:User:Wiki_username:path
Example: page:User:Yuvipanda/wizard/wizard.js
Now according to the above example, the userscript wizard.js will be deployed to/updated from http://en.wikipedia.org/wiki/User:Yuvipanda/wizard/wizard.js
- Old user of mwuppet, make sure that you delete ~/.mwuppet and try the script.