MediaWiki REL1_37
ArticleProtectCompleteHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Page\Hook;
4
5use User;
6use WikiPage;
7
27 public function onArticleProtectComplete( $wikiPage, $user, $protect, $reason );
28}
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:69
Class representing a MediaWiki article and history.
Definition WikiPage.php:60
This is a hook handler interface, see docs/Hooks.md.
onArticleProtectComplete( $wikiPage, $user, $protect, $reason)
This hook is called after an article is protected.