Topic on Extension talk:CategoryLockdown

Multiple groups allowed to access a category

2
Summary by Sophivorus

Use the following syntax:

$wgCategoryLockdown['Maintenance']['read'] = ['sysop','developer'];
SharonFVR (talkcontribs)

Hi Sophivorus,

Thanks for creating this extension, it's been really useful so far.


Would you be able to adapt it to allow multiple groups to access a category instead of only one?

For instance :

$wgCategoryLockdown = [

'Maintenance' => 'sysop', 'developer', 'technician',

];

without having to duplicate the line each time for each user group


It would be totally awesome.

Thanks!

Sophivorus (talkcontribs)

Done! Download the latest version (1.1) and use the following syntax:

$wgCategoryLockdown = [
	'Maintenance' => [ 'sysop', 'developer', 'technician' ],
];

I'm glad you're finding the extension useful, good luck!