Documentation fix for wgWhitelistRead
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 7 May 2004 23:47:46 +0000 (23:47 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 7 May 2004 23:47:46 +0000 (23:47 +0000)
LocalSettings.sample

index eee6a5e..0d64d31 100644 (file)
@@ -166,8 +166,8 @@ $wgLocalInterwiki   = $wgSitename;
 #
 # If wgWhitelistEdit is set to true, only logged in users
 # are allowed to edit articles.
-# If wgWhitelistRead is set to true, only logged in users
-# are allowed to read articles.
+# If wgWhitelistRead is set to an array of page names, only logged in users
+# are allowed to read pages *not in the list*.
 #
 # wgWhitelistAccount lists user types that can add user accounts:
 # "key" => 1 defines permission if user has right "key".
@@ -181,7 +181,7 @@ $wgLocalInterwiki   = $wgSitename;
 #
 # Invitation-only closed shop type of system
 # $wgWhitelistEdit = true;
-# $wgWhitelistRead = true;
+# $wgWhitelistRead = array ( ":Main_Page" );
 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
 #
 # Public website, closed editorial team