MediaWiki  master
Go to the documentation of this file.
1 <?php
3 namespace MediaWiki\Storage\Hook;
5 use Content;
6 use ParserOutput;
7 use User;
8 use WikiPage;
31  public function onParserOutputStashForEdit( $page, $content, $output, $summary,
32  $user
33  );
34 }
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:70
Base representation for an editable wiki page.
Definition: WikiPage.php:70
Base interface for representing page content.
Definition: Content.php:34
This is a hook handler interface, see docs/
onParserOutputStashForEdit( $page, $content, $output, $summary, $user)
This hook is called when an edit stash parse finishes, before the output is cached.
Definition: router.php:76