During an extremely long hackfest today at FUDCon Toronto 2009, I planned to work on resurrecting fuse-mediawiki from its 15-month slumber.
After talking with Jesus M. Rodriguez for an hour or so, we both determined that FUSE is not the right way to go about this for what I want to accomplish. The only thing we were planning to use FUSE for so far was downloading the wiki pages; everything else would be done with helper scripts.
We discussed things like “pull” and “commit”. It started to sound like a bastardized VCS. So we wrote a bastardized VCS. :)
Introducing mw: a command-line program with subcommands like “fetch” and “commit” to work with MediaWiki installations. I spent all day creating the framework for commands and all sorts of things, and ended up creating the init and fetch commands to start a mw repo and fetch some pages.
Currently: useless. Future: promising. I’m hoping that I can get the committing portion ready to roll within the week, and have fetch get all the pages of wikis and categories soonish.
Some key awesomeness: attempts to merge instead of just giving up (haha, you suck, MediaWiki), unified diffs, logs, and anything you really feel like doing.
Clone it now and read the README and HACKING:
git clone git://github.com/ianweller/mw.git
Edit: If you want to discuss this with me at FUDCon tomorrow, by all means do. Ping me on IRC to see where I’m at. :)