[Mediawiki-l] Providing local links in a wiki page

Rick DeNatale rick.denatale at gmail.com
Wed Apr 19 14:43:19 UTC 2006


On 4/19/06, Vasiliadis, Thomas <T.Vasiliadis at schlemmerblock.de> wrote:
> Hi,
>
> I did it with the following:
>
> I Added
>
>    #Hinzufügen des Protokolls:"file:\\"
>
>    $wgUrlProtocols = 'http:\/\/|https:\/\/|ftp:\/\/|irc:\/\/|gopher:\/\/|news:|mailto:|file:\\\\';
>
> To the localsettings.php in the wiki main directory.
>
> Now I am able to use links like
>
>    [file:\\server\path]
>
> That's it
>

Bear in mind though that  file urls are interpreted by the client
browser, NOT the server.  So if the client doesn't have network access
to the file or if its access is via a different path than the path in
the url, it won't work.


--
Rick DeNatale

Visit the Project Mercury Wiki Site
http://www.mercuryspacecraft.com



More information about the MediaWiki-l mailing list