MediaWiki
REL1_41
ArticleProtectCompleteHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Page\Hook
;
4
5
use
MediaWiki\User\User
;
6
use
WikiPage
;
7
15
interface
ArticleProtectCompleteHook
{
27
public
function
onArticleProtectComplete
( $wikiPage, $user, $protect, $reason );
28
}
MediaWiki\User\User
internal since 1.36
Definition
User.php:98
WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:77
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 Wed Nov 27 2024 07:24:08 for MediaWiki by
1.10.0