Implemented '$wgWhitelistRead'.
authorNicholas Pisarro, Jr <npassoc@users.mediawiki.org>
Fri, 5 Mar 2004 13:19:19 +0000 (13:19 +0000)
committerNicholas Pisarro, Jr <npassoc@users.mediawiki.org>
Fri, 5 Mar 2004 13:19:19 +0000 (13:19 +0000)
commit74a1c21d60ed8fd74fb4aa37c31815fe8559f15e
tree15d0c05e602644e3cbc40b2de05af9a434fbf5f9
parent4e405da5e7bcfab50dfea35ca5525c3e535da4ce
Implemented '$wgWhitelistRead'.

$wgWhitelistRead is now defined to be an optional array
of namespace:pages a user may see unless they login.

For example:
$wgWhitelistRead = array ( ":Main_Page", "Special:Userlogin", "Wikipedia:Help" );

will restrict an anonymous user to only those pages. They are
alerted that they must login, if the try to go to another page.

If 'false', the default, the anonymous user may see all pages,
except Sysop pages, of course.
includes/DefaultSettings.php
includes/OutputPage.php
index.php
languages/Language.php