desbest wrote
How do I make dokuwiki stop using underscores for spaces in file names, and use dashes instead?
See
https://www.dokuwiki.org/config:sepchar
desbest wrote
I believe the behaviour changed in later versions of dokuwiki, but I want it back.
Nope, the behaviour had always been like that (unless you changed the above config option).