MediaWiki
REL1_39
PageSaveCompleteHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Storage\Hook
;
4
5
use
MediaWiki\Revision\RevisionRecord
;
6
use
MediaWiki\Storage\EditResult
;
7
use
MediaWiki\User\UserIdentity
;
8
use
WikiPage
;
9
17
interface
PageSaveCompleteHook
{
34
public
function
onPageSaveComplete
(
35
$wikiPage,
36
$user,
37
$summary,
38
$flags,
39
$revisionRecord,
40
$editResult
41
);
42
}
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\PageSaveCompleteHook
This is a hook handler interface, see docs/Hooks.md.
Definition
PageSaveCompleteHook.php:17
MediaWiki\Storage\Hook\PageSaveCompleteHook\onPageSaveComplete
onPageSaveComplete( $wikiPage, $user, $summary, $flags, $revisionRecord, $editResult)
This hook is called after an article has been updated.
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:39
MediaWiki\Storage\Hook
Definition
ArticleEditUpdateNewTalkHook.php:3
includes
Storage
Hook
PageSaveCompleteHook.php
Generated on Fri Nov 29 2024 06:24:29 for MediaWiki by
1.10.0