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

Public Member Functions | |
| onArticleProtectComplete ( $wikiPage, $user, $protect, $reason) | |
| This hook is called after an article is protected. | |
Stable to implement.
Definition at line 12 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.