Fix documentation of $wgProxyList
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Mon, 1 Oct 2012 19:11:21 +0000 (21:11 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Mon, 1 Oct 2012 19:11:21 +0000 (21:11 +0200)
Change-Id: Iaac13bee34a978061605182123a90b3167e78129

includes/DefaultSettings.php

index c2574dd..ae8a2ad 100644 (file)
@@ -4276,8 +4276,18 @@ $wgProxyScriptPath = "$IP/maintenance/proxy_check.php";
 $wgProxyMemcExpiry = 86400;
 /** This should always be customised in LocalSettings.php */
 $wgSecretKey = false;
-/** big list of banned IP addresses, in the keys not the values */
+
+/**
+ * Big list of banned IP addresses.
+ *
+ * This can have the following formats:
+ * - An array of addresses, either in the values
+ *   or the keys (for backward compatibility)
+ * - A string, in that case this is the path to a file
+ *   containing the list of IP addresses, one per line
+ */
 $wgProxyList = array();
+
 /** deprecated */
 $wgProxyKey = false;