MediaWiki master
MediaWiki\Hook\ParserCacheSaveCompleteHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onParserCacheSaveComplete ( $parserCache, $parserOutput, $title, $popts, $revId)
 This hook is called after a ParserOutput has been committed to the parser cache.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "ParserCacheSaveComplete" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 17 of file ParserCacheSaveCompleteHook.php.

Member Function Documentation

◆ onParserCacheSaveComplete()

MediaWiki\Hook\ParserCacheSaveCompleteHook::onParserCacheSaveComplete ( $parserCache,
$parserOutput,
$title,
$popts,
$revId )

This hook is called after a ParserOutput has been committed to the parser cache.

Since
1.35
Parameters
ParserCache$parserCacheParserCache object $parserOutput was stored in
ParserOutput$parserOutputParserOutput object that was stored
Title$titleTitle of the page that was parsed to generate $parserOutput
ParserOptions$poptsParserOptions used for generating $parserOutput
int$revIdID of the revision that was parsed to create $parserOutput
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: