MediaWiki
REL1_37
PageContentSaveHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Storage\Hook
;
4
5
use
CommentStoreComment
;
6
use
Content
;
7
use
StatusValue
;
8
use
User
;
9
use
WikiPage
;
10
18
interface
PageContentSaveHook
{
37
public
function
onPageContentSave
( $wikiPage, $user,
$content
, &$summary,
38
$isminor, $iswatch, $section, $flags, $status
39
);
40
}
CommentStoreComment
Value object for a comment stored by CommentStore.
Definition
CommentStoreComment.php:30
StatusValue
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition
StatusValue.php:43
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:69
WikiPage
Class representing a MediaWiki article and history.
Definition
WikiPage.php:60
Content
Base interface for content objects.
Definition
Content.php:35
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 Fri Apr 5 2024 23:41:01 for MediaWiki by
1.9.8