MediaWiki
REL1_35
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
14
interface
MultiContentSaveHook
{
35
public
function
onMultiContentSave
( $renderedRevision, $user, $summary, $flags,
36
$status
37
);
38
}
CommentStoreComment
CommentStoreComment represents a comment stored by CommentStore.
Definition
CommentStoreComment.php:29
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
Stable to implement.
Definition
MultiContentSaveHook.php:14
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:32
MediaWiki\Storage\Hook
Definition
ArticleEditUpdateNewTalkHook.php:3
includes
Storage
Hook
MultiContentSaveHook.php
Generated on Sat Apr 6 2024 00:08:01 for MediaWiki by
1.9.8