Is there a possibility in MediaWiki to create an external link to a windows network folder like
\\server\folder1 ????
It does not work using syntax of external or internal links ;-(
Any help is appreciated.
You can use $wgUrlProtocols
(in LocalSettings.php
) do define what url protocols MediaWiki should recognize. Adding file
, like this: $wgUrlProtocols[] = 'file://';
You should then be able to link to your network folder, e.g. [file://///server/folder Click here to go to folder]
.
For further discussion about how to create that url, and what browsers will actually let you follow it, see What are the ways to make an html link open a folder
This setting will also make your network folder show up on Special:LinkSearch
.
$wgUrlProtocols
is the array.
To add file://
to $wgUrlProtocols
in LocalSettings.php
:
array_push($wgUrlProtocols, "file://");