MediaWiki  master
MediaWiki\Api\Hook\ApiParseMakeOutputPageHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Api\Hook\ApiParseMakeOutputPageHook:

Public Member Functions

 onApiParseMakeOutputPage ( $module, $output)
 This hook is called when preparing the OutputPage object for ApiParse. More...
 

Detailed Description

Stable to implement.

Definition at line 12 of file ApiParseMakeOutputPageHook.php.

Member Function Documentation

◆ onApiParseMakeOutputPage()

MediaWiki\Api\Hook\ApiParseMakeOutputPageHook::onApiParseMakeOutputPage (   $module,
  $output 
)

This hook is called when preparing the OutputPage object for ApiParse.

This is mainly intended for calling OutputPage::addContentOverride() or OutputPage::addContentOverrideCallback().

Since
1.35
Parameters
ApiBase$moduleApiBase (which is also a ContextSource)
OutputPage$output
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\Api\ApiHookRunner.


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