In a MediaWiki page, I'd like to add an URL to a file on a file server. The path is an UNC one(\\fileserver\project\...\SPECIAL.ext
), and I already have tried following "path link":
file:////fileserver/projet/.../SPECIAL.ext
I know this is correct: when I enter this location in the address bar of my internet browser, automatically the file gets downloaded.
However, when I put the following line in a Mediawiki page, it doesn't work:
[file:////fileserver/projet/.../SPECIAL.ext]
Not working simply means that I just see "[file:...]" on the page (apparently Mediawiki does not understand that the square brackets are used for defining an URL. When I remove the square brackets, still no good result, I just see "file:...").
However, there are some URLs inside my wiki (they just start with http://
), so I have the impression that my MediaWiki doesn't know that file://
has a similar meaning than http://
. How do I configure my MediaWiki for this?
Oh, I prefer solving this issue using a simple configuration, if possible. I'd like to avoid installing extensions.
file:
URIs are forbidden entirely.http://
instead offile://
. This works, buthttp:////fileserver/projet
gets translated intofileserver/projet
instead of\\fileserver\projet
, no matter how many slashes I put (2, 4, 6, ...).