Add new global $wgUseInstantCommons for quick && easy enabling of Commons for 3rd...
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index 0b3e182..9be4b5c 100644 (file)
@@ -256,6 +256,13 @@ $wgLocalFileRepo = false;
 $wgForeignFileRepos = array();
 /**@}*/
 
+/**
+ * Use Commons as a remote file repository. Essentially a wrapper, when this
+ * is enabled $wgForeignFileRepos will point at Commons with a set of default
+ * settings
+ */
+$wgUseInstantCommons = false;
+
 /**
  * Allowed title characters -- regex character class
  * Don't change this unless you know what you're doing