From: Jackmcbarn Date: Sun, 7 Sep 2014 15:08:20 +0000 (-0400) Subject: Warn about bug 44011 X-Git-Tag: 1.31.0-rc.0~14124^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=1ad3e0f29e7807a1c48659613ef0d7eb77127aaa;p=lhc%2Fweb%2Fwiklou.git Warn about bug 44011 Add a note to the documentation for $wgURLProtocols warning about bug #44011. Change-Id: Ifc8a1efefb862173c897796395532fda8300439f --- 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(