MediaWiki REL1_37
MediaWiki\Hook\ParserOutputPostCacheTransformHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\ParserOutputPostCacheTransformHook:

Public Member Functions

 onParserOutputPostCacheTransform ( $parserOutput, &$text, &$options)
 This hook is called from ParserOutput::getText() to do post-cache transforms.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "ParserOutputPostCacheTransform" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file ParserOutputPostCacheTransformHook.php.

Member Function Documentation

◆ onParserOutputPostCacheTransform()

MediaWiki\Hook\ParserOutputPostCacheTransformHook::onParserOutputPostCacheTransform (   $parserOutput,
$text,
$options 
)

This hook is called from ParserOutput::getText() to do post-cache transforms.

Since
1.35
Parameters
ParserOutput$parserOutput
string&$textText being transformed, before core transformations are done
array&$optionsOptions array being used for the transformation
Returns
void This hook must not abort, it must return no value

Implemented in MediaWiki\HookContainer\HookRunner.


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