Robert Vogel has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/187380

Change subject: Added file protocol to DefaultSettings
......................................................................

Added file protocol to DefaultSettings

Good default for intranet/business use

Change-Id: I83edb24c265190841c5419a041315d4a7020a451
---
M includes/DefaultSettings.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceFoundation 
refs/changes/80/187380/1

diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php
index 19ed476..2dac392 100644
--- a/includes/DefaultSettings.php
+++ b/includes/DefaultSettings.php
@@ -39,6 +39,7 @@
 $wgExternalLinkTarget = '_blank';
 $wgCapitalLinkOverrides[ NS_FILE ] = false;
 $wgRestrictDisplayTitle = false; //Otherwise only titles that normalize to the 
same DB key are allowed
+$wgUrlProtocols[] = "file://";
 
 //wgScriptPath relative paths
 $sResourcesPath = '/extensions/BlueSpiceFoundation/resources';

-- 
To view, visit https://gerrit.wikimedia.org/r/187380
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I83edb24c265190841c5419a041315d4a7020a451
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation
Gerrit-Branch: master
Gerrit-Owner: Robert Vogel <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to