MediaWiki REL1_39
ArticleProtectHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
5use User;
6use WikiPage;
7
27 public function onArticleProtect( $wikiPage, $user, $protect, $reason );
28}
internal since 1.36
Definition User.php:70
Base representation for an editable wiki page.
Definition WikiPage.php:62
This is a hook handler interface, see docs/Hooks.md.
onArticleProtect( $wikiPage, $user, $protect, $reason)
This hook is called before an article is protected.