Adding optional built-in support for SubVersion could enhance the current history/diff tracking capabilities while adding automatic dokuwiki backup support. SubVersion is very easy to interface with from the command line or with various bindings.
There is another wiki attempting to use SubVersion as their backend, but dokuwiki is much farther along, this is a feature, not necessarily an entire approach for a wiki.
http://subwiki.tigris.org/