From: Brion Vibber Date: Fri, 7 May 2004 23:47:46 +0000 (+0000) Subject: Documentation fix for wgWhitelistRead X-Git-Tag: 1.3.0beta1~127 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=ff6f3058c55267d73167fb100e309718e0cbf31e;p=lhc%2Fweb%2Fwiklou.git Documentation fix for wgWhitelistRead --- diff --git a/LocalSettings.sample b/LocalSettings.sample index eee6a5e51c..0d64d31291 100644 --- a/LocalSettings.sample +++ b/LocalSettings.sample @@ -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