It would be good to have an option to disable cascading protection in a specific namespace in certain cases. For example: If it was wanted to create a new "special group only namespace", then cascading protection on pages in that namespace would be fruitless or counter-productive.
The ability to add something like:
$wgAvailableRights[] = 'editmyarea'; $wgGroupPermissions['*']['editmyarea'] = false; $wgGroupPermissions['myarea_editor']['editmyarea'] = true; $wgGroupPermissions['sysop']['editmyarea'] = true; function myareaAddNamespaces( &$list ) { $list[NS_MYAREA] = 'MyArea'; $list[NS_MYAREA_TALK] = 'MyArea_talk'; return true; } $wgNamespaceProtection[NS_MYAREA] = array( 'editmyarea' ); $wgNamespaceCascade[NS_MYAREA] = false;
Would allow the extension to create a new userright that would be given to a new usergroup and sysop for a new namespace that can be inclusively edited by any editor with the new right or sysops and ignore cascading protection.
I could see this used for extensions like [[mw:Extension:Widgets]] or [[mw:Extension:Scribunto]] and likely others.
Version: unspecified
Severity: enhancement