Warn about bug 44011
authorJackmcbarn <jackmcbarn@gmail.com>
Sun, 7 Sep 2014 15:08:20 +0000 (11:08 -0400)
committerJackmcbarn <jackmcbarn@gmail.com>
Sun, 7 Sep 2014 15:09:59 +0000 (11:09 -0400)
Add a note to the documentation for $wgURLProtocols warning about
bug #44011.

Change-Id: Ifc8a1efefb862173c897796395532fda8300439f

includes/DefaultSettings.php

index 26ce83c..32cbae0 100644 (file)
@@ -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(