MediaWiki
REL1_37
MultiContentSaveHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Storage\Hook
;
4
5
use
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
}
CommentStoreComment
Value object for a comment stored by CommentStore.
Definition
CommentStoreComment.php:30
MediaWiki\Revision\RenderedRevision
RenderedRevision represents the rendered representation of a revision.
Definition
RenderedRevision.php:43
Status
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition
Status.php:44
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 Fri Apr 5 2024 23:41:01 for MediaWiki by
1.9.8