|
MediaWiki REL1_35
|
Stable to implement. More...

Public Member Functions | |
| onProtectionForm__save ( $article, &$errorMsg, $reasonstr) | |
| This hook is called when a protection form is submitted. | |
Stable to implement.
Definition at line 12 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.