Manual:Hooks/AutopromoteCondition

Details
This hook only runs if the condition type does not match any of those already 1>Special:MyLanguage/Manual:Defines.php|defined as 2>Special:MyLanguage/Manual:$wgAutopromote#Possible conditions|possible conditions. If you are writing an extension that declares a constant for a new condition type, note that values 0 through 9 have already been taken by  ,  , etc.


 * $type -
 * $args -
 * $user - user
 * &$result - result of checking autopromote condition. Defaults to null; if left as null, will throw an exception ("unrecognized condition [$type] for autopromotion")