From 1ad3e0f29e7807a1c48659613ef0d7eb77127aaa Mon Sep 17 00:00:00 2001 From: Jackmcbarn Date: Sun, 7 Sep 2014 11:08:20 -0400 Subject: [PATCH] Warn about bug 44011 Add a note to the documentation for $wgURLProtocols warning about bug #44011. Change-Id: Ifc8a1efefb862173c897796395532fda8300439f --- includes/DefaultSettings.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 26ce83c111..32cbae0a26 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -3877,6 +3877,12 @@ $wgMaxPPExpandDepth = 40; /** * URL schemes that should be recognized as valid by wfParseUrl(). + * + * WARNING: Do not add 'file:' to this or internal file links will be broken. + * Instead, if you want to support file links, add 'file://'. The same applies + * to any other protocols with the same name as a namespace. See bug #44011 for + * more information. + * * @see wfParseUrl */ $wgUrlProtocols = array( -- 2.20.1