Extension:NSWhitelist

The NSWhitelist extension adds the facility to grant read access to specific namespaces and user groups. When used in conjunction with restricted access for ungrouped and anonymous users it can be used to partition information for different user groups.

Example
This set-up in localsettings.php creates a customer group with no rights who are then granted read-only access to specific namespaces. It also indicates how to restrict access to anonymous and ungrouped users (although $wgGroupPermissions['*']['nothing'] = true; may also work).

Author Notes
Several similar extensions exist, but they are either not maintained or didn't do quite what I needed. Also only one uses the TitleReadWhitelist hook which was added in 1.19.