MediaWiki
REL1_35
PageContentSaveHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Storage\Hook
;
4
5
// phpcs:disable Generic.Files.LineLength -- Remove this after doc review
6
use
CommentStoreComment
;
7
use
Content
;
8
use
StatusValue
;
9
use
User
;
10
use
WikiPage
;
11
16
interface
PageContentSaveHook
{
35
public
function
onPageContentSave
( $wikiPage, $user,
$content
, &$summary,
36
$isminor, $iswatch, $section, $flags, $status
37
);
38
}
CommentStoreComment
CommentStoreComment represents a comment stored by CommentStore.
Definition
CommentStoreComment.php:29
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:60
WikiPage
Class representing a MediaWiki article and history.
Definition
WikiPage.php:51
Content
Base interface for content objects.
Definition
Content.php:35
MediaWiki\Storage\Hook\PageContentSaveHook
Definition
PageContentSaveHook.php:16
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 Sat Apr 6 2024 00:08:02 for MediaWiki by
1.9.8