|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
| onParserOutputPostCacheTransform ( $parserOutput, &$text, &$options) | |
| This hook is called from during the post-processing output transform pipeline to do post-cache transforms. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ParserOutputPostCacheTransform" to register handlers implementing this interface.
Definition at line 14 of file ParserOutputPostCacheTransformHook.php.
| MediaWiki\Parser\Hook\ParserOutputPostCacheTransformHook::onParserOutputPostCacheTransform | ( | $parserOutput, | |
| & | $text, | ||
| & | $options ) |
This hook is called from during the post-processing output transform pipeline to do post-cache transforms.
| ParserOutput | $parserOutput | |
| string | &$text | Text being transformed, before core transformations are done |
| array | &$options | Options array being used for the transformation. It can contain values documented for the $options array in \MediaWiki\Parser\ParserOutput::runOutputPipeline. Additionally, it temporarily contains the ParserOptions used to parse the ParserOutput, associated to the 'parserOptions' key. This is considered an internal behaviour and should not be relied on. A future hook will replace this one to be able to pass the desired set of parameters, including ParserOptions. |
Implemented in MediaWiki\HookContainer\HookRunner.