When using MediaWiki in an intranet context and you want file: URLs to be rendered correctly

by

/etc/mediawiki/LocalSettings.php:$wgUrlProtocols[] = “file:”;

(N.B. this doesn’t work with Firefox anyway, but for IE users there are situations where having working links is nice.)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: