Reputation: 1999
I am maintaining a private site based on MediaWiki with the following configurations.
$wgGroupPermissions['*']['read']=false;
$wgGroupPermissions['user']['read']=true;
In this case, how should I make pages in some category (e.g., Category:OpenAccess) publicly readable?
The version info is as follows:
The code using Extension:CategoryPermissions below (demonstrated in this example) does not work.
$wgGroupDefaultAllow=true;
$wgGroupPermissions['*']['Category:OpenAccess_read']=true;
Upvotes: 0
Views: 296
Reputation: 187
I would try using $wgWhitelistReadRegexp.
Try putting something like this in your LocalSettings.php to whitelist the entire Category namespace:
$wgWhitelistReadRegexp = array("/Category:.*/");
Upvotes: 0