i've got the same problem. Reorganizing the wiki's namespaces,pages andmediafiles is a common task for every wikiadmin and should therefore be an integrated part of dokuwiki.Oh, I'm looking forward to your patch.
I'll do my very best. Oliver -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist