Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil
User Access: $wgWhitelistReadRegexp
Whitelists publicly readable titles with a regex.
Introduced in version: 1.21.0 (Gerrit change 11137; git #550b878e)
Removed in version: still in use
Allowed values: Array of regexes, or false
Default value: false
Other settings: Alphabetical | By function


It is similar to $wgWhitelistReadManual:$wgWhitelistRead, but uses a list of regular expressions.

This would be useful in a semi-public team wiki situation where the admin would want to hide an entire namespace from everyone except those in a particular group due to sensitive team specific information.

$wgGroupPermissions['*']['read'] = false;
$wgGroupPermissions['*']['edit'] = false;
$wgWhitelistReadRegexp = array( "/Special:Userlogin/" );