I guess I'm not sure we're on the same page. You say
displays the files correctly, but not from DokuWiki.
But the syntax is Dokuwiki. So I will assume that you mean this syntax does not work for you?
These are Samba shares. Samba shares work only in IE. I believe there may be a firefox work-around but I don't remember what it is and it is on a per-browser basis, I seem to recall.
If they won't work in IE, is it possible you have not set up the shares correctly or that the paths to the shares are not correct?