I'd much rather keep permission keys clean and separate.
$wgAJAXCategoriesNamespaces.
* Admins could disable some variants using $wgDisabledVariants now. ONLY apply
on wikis enabled LanguageConverter.
-* A new permission, 'root', is created. Analogous to root users on Unix
- systems, the root permission effectively grants all other permissions on a
- wiki. Useful for debugging and administration.
* New configuration variable $wgShowPageOnRedlink that can be set to show the
page instead of an edit interface when visiting a red link. The value can be
specified for specific usergroups and namespaces.
}
# Use strict parameter to avoid matching numeric 0 accidentally inserted
# by misconfiguration: 0 == 'foo'
- return in_array( $action, $this->getRights(), true )
- || in_array( 'root', $this->getRights(), true );
+ return in_array( $action, $this->getRights(), true );
}
/**
'right-reset-passwords' => "Reset other users' passwords",
'right-override-export-depth' => 'Export pages including linked pages up to a depth of 5',
'right-versiondetail' => 'Show the extended software version information',
-'right-root' => 'Perform all actions on the wiki',
'right-sendemail' => 'Send e-mail to other users',
# User rights log
'right-versiondetail' => '{{doc-right|versiondetail}}
Users having this right receive more detailed information on [[Special:Version]].',
-'right-root' => "{{doc-right|root}}
-Analogous to the 'root' permission on Unix systems, allows the user to perform ''any'' action on the wiki; effectively granting them all other permissions.",
'right-sendemail' => '{{doc-right}}',
# User rights log
'right-reset-passwords',
'right-override-export-depth',
'right-versiondetail',
- 'right-root',
'right-sendemail',
),
'rightslog' => array(