MediaWiki
REL1_40
MultiContentSaveHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Storage\Hook
;
4
5
use
MediaWiki\CommentStore\CommentStoreComment
;
6
use
MediaWiki\Revision\RenderedRevision
;
7
use
MediaWiki\User\UserIdentity
;
8
use
Status
;
9
17
interface
MultiContentSaveHook
{
38
public
function
onMultiContentSave
( $renderedRevision, $user, $summary, $flags,
39
$status
40
);
41
}
MediaWiki\CommentStore\CommentStoreComment
Value object for a comment stored by CommentStore.
Definition
CommentStoreComment.php:36
MediaWiki\Revision\RenderedRevision
RenderedRevision represents the rendered representation of a revision.
Definition
RenderedRevision.php:45
Status
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition
Status.php:46
MediaWiki\Storage\Hook\MultiContentSaveHook
This is a hook handler interface, see docs/Hooks.md.
Definition
MultiContentSaveHook.php:17
MediaWiki\Storage\Hook\MultiContentSaveHook\onMultiContentSave
onMultiContentSave( $renderedRevision, $user, $summary, $flags, $status)
This hook is called before an article is saved.
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:39
MediaWiki\Storage\Hook
Definition
ArticleEditUpdateNewTalkHook.php:3
includes
Storage
Hook
MultiContentSaveHook.php
Generated on Thu Jun 27 2024 14:04:26 for MediaWiki by
1.10.0