MediaWiki  master
MediaWiki\Hook\ParserCacheSaveCompleteHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\ParserCacheSaveCompleteHook:

Public Member Functions

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

Detailed Description

Stable to implement.

Definition at line 14 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: