dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8f22cb4
)
Documentation fix for wgWhitelistRead
author
Brion Vibber
<brion@users.mediawiki.org>
Fri, 7 May 2004 23:47:46 +0000
(23:47 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Fri, 7 May 2004 23:47:46 +0000
(23:47 +0000)
LocalSettings.sample
patch
|
blob
|
history
diff --git
a/LocalSettings.sample
b/LocalSettings.sample
index
eee6a5e
..
0d64d31
100644
(file)
--- 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 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".
#
# 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;
#
# 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
# $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
#
# Public website, closed editorial team