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 
28  public function onParserOutputStashForEdit( $page, $content, $output, $summary,
29  $user
30  );
31 }
ParserOutput
Definition: ParserOutput.php:27
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:54
MediaWiki\Storage\Hook\ParserOutputStashForEditHook
Stable to implement.
Definition: ParserOutputStashForEditHook.php:14
$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:56