Here it is described a small hack I use to push ZWiki changes into a Subversion repository. It does not track edit messages, will collapse several edits in just one commit (depending on how often you run the push script), and will handle a page rename just like a delete+add.
I use it to download the ZWiki sources every few hours (via a cron job) and commit the changes to a SVN repository.
Installation
Install in your Wiki this DTML method:
http://www.egrid.it/cgi-bin/viewcvs.cgi/*checkout*/gme/list_all_pages.dtml?root=svn
Give it the list_all_pages id.
Create a subversion repository to host your wiki pages (Note: they will all end up in the same directory!). Check a copy out, and add to it the script push-zwiki-to-svn.sh from the following URL:
Edit the push-zwiki-to-svn.sh script to suit your ZWiki URL.
Now, each time you run push-zwiki-to-svn.sh, all pages of the ZWiki will be downloaded and the changed ones will be committed to the SVN repository.