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