MediaWiki
master
SpecialUserRightsChangeableGroupsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Permissions\Authority
;
6
use
MediaWiki\User\UserIdentity
;
7
15
interface
SpecialUserRightsChangeableGroupsHook
{
38
public
function
onSpecialUserRightsChangeableGroups
(
39
Authority
$authority,
40
UserIdentity
$target,
41
array $addableGroups,
42
array &$restrictedGroups
43
): void;
44
}
MediaWiki\Hook\SpecialUserRightsChangeableGroupsHook
This is a hook handler interface, see docs/Hooks.md.
Definition
SpecialUserRightsChangeableGroupsHook.php:15
MediaWiki\Hook\SpecialUserRightsChangeableGroupsHook\onSpecialUserRightsChangeableGroups
onSpecialUserRightsChangeableGroups(Authority $authority, UserIdentity $target, array $addableGroups, array &$restrictedGroups)
This hook is called on checking changeable groups in SpecialUserRights.
MediaWiki\Permissions\Authority
This interface represents the authority associated with the current execution context,...
Definition
Authority.php:23
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:24
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Specials
Hook
SpecialUserRightsChangeableGroupsHook.php
Generated on Sun Nov 9 2025 10:26:45 for MediaWiki by
1.10.0