MediaWiki  master
MediaWiki\Hook\ParserPreSaveTransformCompleteHook Interface Reference

Stable. 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. More...
 

Detailed Description

Stable.

Definition at line 11 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: