MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onProtectionForm__save ( $article, &$errorMsg, $reasonstr) | |
This hook is called when a protection form is submitted. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ProtectionForm::save" to register handlers implementing this interface.
Definition at line 15 of file ProtectionForm__saveHook.php.
MediaWiki\Hook\ProtectionForm__saveHook::onProtectionForm__save | ( | $article, | |
& | $errorMsg, | ||
$reasonstr | |||
) |
This hook is called when a protection form is submitted.
Article | $article | Page being (un)protected |
string | array | &$errorMsg | HTML message string of an error or an array of message name and its parameters |
string | $reasonstr | String describing the reason page protection level is altered |
Implemented in MediaWiki\HookContainer\HookRunner.