| ParserOutputStashForEdit | |
|---|---|
| Available fromversion 1.27.0 (Gerrit change 266644) Called when an edit stash parse finishes, before the output is cached. | |
| Define function: | publicstaticfunctiononParserOutputStashForEdit(WikiPage$page,Content$content,ParserOutput$output,string$summary,User$user){...} |
| Attach hook: | Inextension.json:{"Hooks":{"ParserOutputStashForEdit":"MediaWiki\\Extension\\MyExtension\\Hooks::onParserOutputStashForEdit"}} |
| Called from: | File(s):Storage/PageEditStash.php Function(s):parseAndCache |
| Interface: | ParserOutputStashForEditHook.php |
For more information about attaching hooks, seeManual:Hooks.
For examples of extensions using this hook, seeCategory:ParserOutputStashForEdit extensions.