Manual:$wgWhitelistReadRegexp/ja

詳細
と類似していますが、この変数は正規表現のリストを使用します.

This would be useful in a semi-public team wiki situation where one would want to hide everything except for an entire namespace from everyone.

This function will match the regexp against the title name, which is without underscore. Unless  and/or   is specified, a regular expression might match pages not intended to be whitelisted.

This configuration parameter will only work if the following is set:

Otherwise, all pages are accessible, regardless of this setting.

例
Whitelist " Main Page " or " Security Main Page ":

Allow reading any page starting with 'User' regardless of the case, e.g. " User is banned " and " User:JohnDoe ":

Allow reading "Main Page" and all pages in namespace "Foo Bar":