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:68
Base representation for an editable wiki page.
Definition: WikiPage.php:62
Base interface for content objects.
Definition: Content.php:35
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