Parser::preSaveTransform()
after processing is complete, giving the extension a chance to further modify the wikitext.
public static function onParserPreSaveTransformComplete( Parser $parser, string &$text ) { ... }Attach hook: In extension.json:
{ "Hooks": { "ParserPreSaveTransformComplete": "MediaWiki\\Extension\\MyExtension\\Hooks::onParserPreSaveTransformComplete" } }Called from: File(s): parser/Parser.php
For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:ParserPreSaveTransformComplete extensions.
This hook allows extensions to make post-PST adjustments.
$parser
: Parser object&$text
: Transformed text as a string, which can be modifiedRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4