MediaWiki REL1_35
MediaWiki\User\Hook\AutopromoteConditionHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\User\Hook\AutopromoteConditionHook:

Public Member Functions

 onAutopromoteCondition ( $type, $args, $user, &$result)
 Use this hook to check autopromote condition for user.
 

Detailed Description

Stable to implement.

Definition at line 11 of file AutopromoteConditionHook.php.

Member Function Documentation

◆ onAutopromoteCondition()

MediaWiki\User\Hook\AutopromoteConditionHook::onAutopromoteCondition (   $type,
  $args,
  $user,
$result 
)

Use this hook to check autopromote condition for user.

Since
1.35
Parameters
string$typeCondition type
array$argsArguments
User$user
array&$resultResult of checking autopromote condition
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: