Michael . wrote:
For example, if a file is stored in p:\docs\some user documentation.doc, I can't link to it in the wiki without setting $wgRawHtml and using the a href=... tag directly inside html tags. Not a very secure option, and also not very user-friendly. Substituting spaces for %20 doesn't work (IE renders the %20 directly for file:// links, it seems), and using [blah] doesn't work, becuase the first space gets regarded as the split between the url and the title of the link to be displayed. And an a href tag just gets ignored, despite my efforts to try and add it to the attribute whitelist.
%20 works for me in IE 7. That would be the standard solution. You need to use file:/// not file:// for local links for this to work in IE. Three slashes are required to comply with RFC 1738 anyway.
-- Tim Starling