The CategoryControl2 Mediawiki Extension
was derived from https://www.mediawiki.org/wiki/Extension:CategoryControl that was archived
This version works with Mediawiki 1.37.x and php 7.3.x
All scripts are under GPL License.
To install this extension, add the following to LocalSettings.php:
require_once("$IP/extensions/CategoryControl2/CategoryControl.php");
exemple: $wgCategoryPermissions['Catégories_cachées']['*'][] = 'sysop'; // Sysops can do anything they want with this category.
$wgCategoryPermissions['Catégories_cachées']['read'] = array('sysop', 'family'); // Sysops can do anything they want with this category.
$wgCategoryPermissions['Private']['*'][] = 'sysop'; // Sysops can do anything they want with this category.
$wgCategoryPermissions['Private']['read'] = array('sysop', 'family'); // Sysops can do anything they want with this category.
https://www.mediawiki.org/w/index.php?oldid=2495022
adapt to mediawiki 1.31.x
This extension allows to control access to categories depending on user