Thread:Project:Support desk/Requiring user email verification to view pages

Hi,

I'm working on a wiki with requirement is that users should be logged in and have completed email authentication to be able to view pages. We have it working that users must create an account to view, except for pages in $wgWhitelistRead.

I tried removing read privilege via $wgGroupPermissions['*']['read'] = false; $wgGroupPermissions['user']['read'] = false; $wgGroupPermissions['emailconfirmed']['read'] = true;

but then no user can read any page, even the ones in $wgWhiteListRead. Not sure if I'm even on the right track or there is a better way to handle this.

Mediawiki 1.21, PHP 5.3.28, MySQL 5.5.