So I've heard. Unfortunately, a) the fix is plastered all over the mediawiki FAQ and
b) its confusing to a newbie becuase there is no $wgUrlProtocols being assigned in
LocalSettings.php.
Yes, I'm both a newbie and confused! :)
Taylor
----- Original Message ----
From: "christoph.huesler(a)css.ch" <christoph.huesler(a)css.ch>
To: MediaWiki announcements and site admin list <mediawiki-l(a)Wikimedia.org>
Sent: Tuesday, October 17, 2006 8:50:25 AM
Subject: [Mediawiki-l] Antwort: Re: Link to a Windows-Fileshare
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(a)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
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l