This is a pretty simple script that launches the equivalent of the moin command on all defined wikis. It uses the same hack as the MacroMarket/WikiList macro to determine the CanonicalUrl of a wiki to be able to launch the moin command properly.

I haven't hacked this functionality straight into moin because the way it determines the CanonicalUrl is really a hack and should be done more cleanly. I think we need to think a bit more about how we want to configure wiki urls in wikifarm.

This has only been tested with the migration data command, but might work for other commands too, not tested, use at your own risk, etc.

https://svn.koumbit.net/svn/koumbit/trunk/bin/moin_farm.py

-- TheAnarcat 2006-09-30 19:16:49

MoinMoin: ScriptMarket/AllWikisHack (last edited 2007-10-29 19:12:38 by localhost)