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.
Haven't used it, but svnwiki seems it could be what you want.
ikiwiki is a wiki compiler and cgi script that can integrate various VCS (svn and git at least) as storage backends.
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).