MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onAutopromoteCondition ( $type, $args, $user, &$result) | |
Use this hook to check autopromote condition for user. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "AutopromoteCondition" to register handlers implementing this interface.
Definition at line 14 of file AutopromoteConditionHook.php.
MediaWiki\User\Hook\AutopromoteConditionHook::onAutopromoteCondition | ( | $type, | |
$args, | |||
$user, | |||
& | $result ) |
Use this hook to check autopromote condition for user.
string | $type | Condition type |
array | $args | Arguments |
User | $user | |
array | &$result | Result of checking autopromote condition |
Implemented in MediaWiki\HookContainer\HookRunner.