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