MediaWiki
REL1_39
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:45
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 Mon Nov 25 2024 06:57:07 for MediaWiki by
1.10.0