MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onArticleProtectComplete ( $wikiPage, $user, $protect, $reason) | |
This hook is called after an article is protected. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ArticleProtectComplete" to register handlers implementing this interface.
Definition at line 15 of file ArticleProtectCompleteHook.php.
MediaWiki\Page\Hook\ArticleProtectCompleteHook::onArticleProtectComplete | ( | $wikiPage, | |
$user, | |||
$protect, | |||
$reason | |||
) |
This hook is called after an article is protected.
WikiPage | $wikiPage | WikiPage that was protected |
User | $user | User who did the protection |
array | $protect | Set of restriction keys |
string | $reason | Reason for protect |
Implemented in MediaWiki\HookContainer\HookRunner.