Manual:Hooks/AutopromoteCondition/ja

詳細
This hook only runs if the condition type does not match any of those already defined as 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 APCOND_EDITCOUNT, APCOND_AGE, etc.
 * $type: 条件のタイプ
 * $args: 引数
 * $user: ユーザ
 * &$result: 自動昇進の条件チェックの結果. Defaults to null; if left as null, will throw an exception ("unrecognized condition [$type] for autopromotion")