Inherits SpecialPage.
Public Member Functions | |
__construct () | |
Constructor. | |
execute ($par) | |
Show the special page. | |
Public Attributes | |
$skin | |
Static Private Member Functions | |
static | formatPermissions ($permissions, $revoke, $add, $remove, $addSelf, $removeSelf) |
Create a user-readable list of permissions from the given array. |
See also $wgGroupPermissions.
Definition at line 10 of file SpecialListgrouprights.php.
SpecialListGroupRights::__construct | ( | ) |
SpecialListGroupRights::execute | ( | $ | par | ) |
Show the special page.
Reimplemented from SpecialPage.
Definition at line 26 of file SpecialListgrouprights.php.
References $msg, $wgAddGroups, $wgGroupPermissions, $wgGroupsAddToSelf, $wgGroupsRemoveFromSelf, $wgImplicitGroups, $wgMessageCache, $wgOut, $wgRemoveGroups, $wgRevokePermissions, Xml::closeElement(), Xml::element(), MWNamespace::getCanonicalName(), SpecialPage::getTitleFor(), Title::newFromText(), Xml::openElement(), SpecialPage::outputHeader(), SpecialPage::setHeaders(), wfEmptyMsg(), wfMsg(), wfMsgForContent(), and wfMsgHtml().
static SpecialListGroupRights::formatPermissions | ( | $ | permissions, | |
$ | revoke, | |||
$ | add, | |||
$ | remove, | |||
$ | addSelf, | |||
$ | removeSelf | |||
) | [static, private] |
Create a user-readable list of permissions from the given array.
$permissions | Array of permission => bool (from $wgGroupPermissions items) | |
$revoke | Array of permission => bool (from $wgRevokePermissions items) | |
$add | Array of groups this group is allowed to add or true | |
$remove | Array of groups this group is allowed to remove or true | |
$addSelf | Array of groups this group is allowed to add to self or true | |
$removeSelf | Array of group this group is allowed to remove from self or true |
Definition at line 126 of file SpecialListgrouprights.php.
References $wgLang, User::getRightDescription(), and wfMsgExt().
SpecialListGroupRights::$skin |
Definition at line 12 of file SpecialListgrouprights.php.