https://bugzilla.wikimedia.org/show_bug.cgi?id=54081

       Web browser: ---
            Bug ID: 54081
           Summary: Add a $wgNamespaceCascade similar to the deprecated
                    $wgEnableCascadingProtection
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to