MediaWiki
REL1_39
BeforeRevertedTagUpdateHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Storage\Hook
;
4
5
use
CommentStoreComment
;
6
use
MediaWiki\Revision\RevisionRecord
;
7
use
MediaWiki\Storage\EditResult
;
8
use
MediaWiki\User\UserIdentity
;
9
use
WikiPage
;
10
18
interface
BeforeRevertedTagUpdateHook
{
58
public
function
onBeforeRevertedTagUpdate
(
59
$wikiPage,
60
$user,
61
$summary,
62
$flags,
63
$revisionRecord,
64
$editResult,
65
&$approved
66
): void;
67
}
CommentStoreComment
Value object for a comment stored by CommentStore.
Definition
CommentStoreComment.php:30
MediaWiki\Revision\RevisionRecord
Page revision base class.
Definition
RevisionRecord.php:47
MediaWiki\Storage\EditResult
Object for storing information about the effects of an edit.
Definition
EditResult.php:38
WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:62
MediaWiki\Storage\Hook\BeforeRevertedTagUpdateHook
This is a hook handler interface, see docs/Hooks.md.
Definition
BeforeRevertedTagUpdateHook.php:18
MediaWiki\Storage\Hook\BeforeRevertedTagUpdateHook\onBeforeRevertedTagUpdate
onBeforeRevertedTagUpdate( $wikiPage, $user, $summary, $flags, $revisionRecord, $editResult, &$approved)
This hook is called before scheduling a RevertedTagUpdateJob.
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:39
MediaWiki\Storage\Hook
Definition
ArticleEditUpdateNewTalkHook.php:3
includes
Storage
Hook
BeforeRevertedTagUpdateHook.php
Generated on Mon Oct 14 2024 07:24:37 for MediaWiki by
1.10.0