| ParserAfterParse | |
|---|---|
| Available fromversion 1.20.0 Called from Parser::parse() just after the call to Parser::internalParse() returns. | |
| Define function: | publicstaticfunctiononParserAfterParse(Parser$parser,&$text,StripState$stripState){...} |
| Attach hook: | Inextension.json:{"Hooks":{"ParserAfterParse":"MediaWiki\\Extension\\MyExtension\\Hooks::onParserAfterParse"}} |
| Called from: | File(s):parser/Parser.php |
| Interface: | ParserAfterParseHook.php |
For more information about attaching hooks, seeManual:Hooks.
For examples of extensions using this hook, seeCategory:ParserAfterParse extensions.