I used the wiki in a project hosted at Google Code. With this wiki all the changes you make with the web interface are committed in the subversion repository of the project.
There is also Gitit, a wiki backed by a git or darcs filestore. Installing it is quite simple on any platform because it uses the cross-platform Haskell platform (even for the webserver, AFAIU).