MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onParserOutputStashForEdit ( $page, $content, $output, $summary, $user) | |
This hook is called when an edit stash parse finishes, before the output is cached. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ParserOutputStashForEdit" to register handlers implementing this interface.
Definition at line 17 of file ParserOutputStashForEditHook.php.
MediaWiki\Storage\Hook\ParserOutputStashForEditHook::onParserOutputStashForEdit | ( | $page, | |
$content, | |||
$output, | |||
$summary, | |||
$user ) |
This hook is called when an edit stash parse finishes, before the output is cached.
WikiPage | $page | WikiPage of the candidate edit |
Content | $content | Content object of the candidate edit |
ParserOutput | $output | ParserOutput result of the candidate edit |
string | $summary | Change summary of the candidate edit |
User | $user | User considering the edit |
Implemented in MediaWiki\HookContainer\HookRunner.