MediaWiki
master
ParserOutputStashForEditHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Storage\Hook
;
4
5
use
Content
;
6
use
ParserOutput
;
7
use
User
;
8
use
WikiPage
;
9
17
interface
ParserOutputStashForEditHook
{
31
public
function
onParserOutputStashForEdit
( $page,
$content
, $output, $summary,
32
$user
33
);
34
}
ParserOutput
Definition:
ParserOutput.php:31
MediaWiki\Storage\Hook
Definition:
ArticleEditUpdateNewTalkHook.php:3
MediaWiki\Storage\Hook\ParserOutputStashForEditHook\onParserOutputStashForEdit
onParserOutputStashForEdit( $page, $content, $output, $summary, $user)
This hook is called when an edit stash parse finishes, before the output is cached.
WikiPage
Class representing a MediaWiki article and history.
Definition:
WikiPage.php:55
MediaWiki\Storage\Hook\ParserOutputStashForEditHook
This is a hook handler interface, see docs/Hooks.md.
Definition:
ParserOutputStashForEditHook.php:17
$content
$content
Definition:
router.php:76
Content
Base interface for content objects.
Definition:
Content.php:35
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition:
User.php:63
includes
Storage
Hook
ParserOutputStashForEditHook.php
Generated on Wed Jan 27 2021 02:10:18 for MediaWiki by
1.8.19