[Mediawiki-l] Antwort: Re: Link to a Windows-Fileshare

christoph.huesler at css.ch christoph.huesler at css.ch
Tue Oct 17 13:50:25 UTC 2006


Hi

You should _never_ edit DefaultSettings.php. Instead, make your changes in 
LocalSettings.php.

Otherwise you will have issues with upgrading to a newer version of 
mediawiki.

-- chris


mediawiki-l-bounces at Wikimedia.org schrieb am 17.10.2006 15:46:59:

> Philip,
> In 1.7.1, I found the $wgUrlProtocols in /includes/DefaultSettings.
> php.  Just add a comma after the last protocol in the array and add 
> 'file://' to the end.  Then file links will work just like external 
> hyperlinks.
> 
> Also, there's a nifty extension called FileLinkExtension I think. 
> It puts a button on the editor that brings up a dialog box for 
> browsing for the file to link to.
> 
> Taylor
> 



More information about the MediaWiki-l mailing list