MediaWiki  master
MediaWiki\Storage\Hook\ParserOutputStashForEditHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Storage\Hook\ParserOutputStashForEditHook:

Public Member Functions

 onParserOutputStashForEdit ( $page, $content, $output, $summary, $user)
 This hook is called when an edit stash parse finishes, before the output is cached. More...
 

Detailed Description

Stable to implement.

Definition at line 14 of file ParserOutputStashForEditHook.php.

Member Function Documentation

◆ onParserOutputStashForEdit()

MediaWiki\Storage\Hook\ParserOutputStashForEditHook::onParserOutputStashForEdit (   $page,
  $content,
  $output,
  $summary,
  $user 
)

This hook is called when an edit stash parse finishes, before the output is cached.

Since
1.35
Parameters
WikiPage$pageWikiPage of the candidate edit
Content$contentContent object of the candidate edit
ParserOutput$outputParserOutput result of the candidate edit
string$summaryChange summary of the candidate edit
User$userUser considering the edit
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: