|
MediaWiki
REL1_19
|
This special page lists all defined user groups and the associated rights. More...


Public Member Functions | |
| __construct () | |
| Constructor. | |
| execute ($par) | |
| Show the special page. | |
Private Member Functions | |
| formatPermissions ($permissions, $revoke, $add, $remove, $addSelf, $removeSelf) | |
| Create a user-readable list of permissions from the given array. | |
This special page lists all defined user groups and the associated rights.
See also $wgGroupPermissions.
Definition at line 31 of file SpecialListgrouprights.php.
Constructor.
Definition at line 36 of file SpecialListgrouprights.php.
| SpecialListGroupRights::execute | ( | $ | par | ) |
Show the special page.
Reimplemented from SpecialPage.
Definition at line 43 of file SpecialListgrouprights.php.
References $out, $wgAddGroups, $wgGroupPermissions, $wgGroupsAddToSelf, $wgGroupsRemoveFromSelf, $wgImplicitGroups, $wgRemoveGroups, $wgRevokePermissions, Xml\closeElement(), Xml\element(), Sanitizer\escapeId(), formatPermissions(), MWNamespace\getCanonicalName(), SpecialPage\getOutput(), SpecialPage\getTitleFor(), Linker\link(), Linker\linkKnown(), Title\newFromText(), Xml\openElement(), SpecialPage\outputHeader(), Html\rawElement(), SpecialPage\setHeaders(), wfMessage(), wfMsg(), and wfMsgHtml().

| SpecialListGroupRights::formatPermissions | ( | $ | permissions, |
| $ | revoke, | ||
| $ | add, | ||
| $ | remove, | ||
| $ | addSelf, | ||
| $ | removeSelf | ||
| ) | [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 150 of file SpecialListgrouprights.php.
References SpecialPage\getLanguage(), User\getRightDescription(), and wfMsgExt().
Referenced by execute().

