Pwirth has submitted this change and it was merged.

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(-)

Approvals:
  Pwirth: Verified; Looks good to me, approved



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: merged
Gerrit-Change-Id: I83edb24c265190841c5419a041315d4a7020a451
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation
Gerrit-Branch: master
Gerrit-Owner: Robert Vogel <[email protected]>
Gerrit-Reviewer: Mglaser <[email protected]>
Gerrit-Reviewer: Pigpen <[email protected]>
Gerrit-Reviewer: Pwirth <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to