|User Access: $wgWhitelistRead|
|Pages anonymous user may see.
|Introduced in version:||1.1.0|
|Removed in version:||still in use|
|Allowed values:||(array of page names) or
|Other settings: Alphabetical | By function|
If a group of users is blocked from viewing the wiki by using the
$wgGroupPermissions configuration parameter...
$wgGroupPermissions[...]['read'] = false;
...you may still want them to be able to view certain key pages, in particular the login page! This setting holds an array of page names that all users are allowed to view, regardless of their group permissions.
A recommended minimum which allows everyone to view the home page and the login screen as well as loading CSS/JS customizations is as follows:
- MediaWiki ≥ 1.18.1
$wgWhitelistRead = [ "Main Page", "MediaWiki:Common.css", "MediaWiki:Common.js" ];
- Starting with r105428 "Special:PasswordReset" is always whitelisted just like "Special:UserLogin" and "Special:ChangePassword".