MediaWiki REL1_39
MediaWiki\Hook\ParserPreSaveTransformCompleteHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\ParserPreSaveTransformCompleteHook:

Public Member Functions

 onParserPreSaveTransformComplete ( $parser, &$text)
 This hook is called from Parser::preSaveTransform() after processing is complete, giving the extension a chance to further modify the wikitext.
 

Detailed Description

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

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

Stability: stable

Definition at line 14 of file ParserPreSaveTransformCompleteHook.php.

Member Function Documentation

◆ onParserPreSaveTransformComplete()

MediaWiki\Hook\ParserPreSaveTransformCompleteHook::onParserPreSaveTransformComplete ( $parser,
& $text )

This hook is called from Parser::preSaveTransform() after processing is complete, giving the extension a chance to further modify the wikitext.

Since
1.35
Parameters
Parser$parserCalling Parser instance
string&$textTransformed text, which can be modified by the hook
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: