My primary driver for seeking out a new wiki was because of how difficult testing and managing Dokuwiki can be. Updates to the main wiki are infrequent, plugins are often abandoned, and the setup, running, and maintained of the wiki is non-trivial.
I recommended wiki.js is easier to run, uses markdown by default, backs up data as flat files in a git repository, and does not require many resources either. Plus, there's a supported Docker image that works out of the box.
There's no problem with choice. Dokuwiki is frequently recommended to new users and wonder if that wiki is an appropriate recommendation. I explicitly would suggest wiki.js or something similar to someone not already running Dokuwiki.