MediaWiki
REL1_41
PageContentSaveHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Storage\Hook
;
4
5
use
Content
;
6
use
MediaWiki\CommentStore\CommentStoreComment
;
7
use
MediaWiki\User\User
;
8
use
StatusValue
;
9
use
WikiPage
;
10
18
interface
PageContentSaveHook
{
37
public
function
onPageContentSave
( $wikiPage, $user,
$content
, &$summary,
38
$isminor, $iswatch, $section, $flags, $status
39
);
40
}
MediaWiki\CommentStore\CommentStoreComment
Value object for a comment stored by CommentStore.
Definition
CommentStoreComment.php:36
MediaWiki\User\User
internal since 1.36
Definition
User.php:98
StatusValue
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition
StatusValue.php:46
WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:77
Content
Base interface for representing page content.
Definition
Content.php:39
MediaWiki\Storage\Hook\PageContentSaveHook
This is a hook handler interface, see docs/Hooks.md.
Definition
PageContentSaveHook.php:18
MediaWiki\Storage\Hook\PageContentSaveHook\onPageContentSave
onPageContentSave( $wikiPage, $user, $content, &$summary, $isminor, $iswatch, $section, $flags, $status)
This hook is called before an article is saved.
MediaWiki\Storage\Hook
Definition
ArticleEditUpdateNewTalkHook.php:3
$content
$content
Definition
router.php:76
includes
Storage
Hook
PageContentSaveHook.php
Generated on Wed Nov 27 2024 07:25:50 for MediaWiki by
1.10.0