There is a
mime.conf file in the
/conf/ folder, where allowed extensions are defined.
http://wiki.splitbrain.org/wiki:mime.
You can create a
mime.local.conf file in that folder, which will serve as additional file extensions and not be overwritten in case you need to upgrade DokuWiki.