I wrote a small little tool ages ago to help with Gadget development:
http://github.com/yuvipanda/mwuppet
It lets me write on Vim and push to the wiki whenever I want. I've the following line in my .vimrc that makes this simple:
command Mw :w | :! mwuppet %
I'm sure this can be extended easily to support more things. -- Yuvi Panda T http://yuvi.in/blog