|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
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 15 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 | |
| null | bool | &$result | Result of checking autopromote condition |
Implemented in MediaWiki\HookContainer\HookRunner.