MediaWiki  master
RejectParserCacheValueHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use ParserOptions;
6 use ParserOutput;
7 use WikiPage;
8 
27  public function onRejectParserCacheValue( $parserOutput, $wikiPage,
28  $parserOptions
29  );
30 }
ParserOptions
Set options of the Parser.
Definition: ParserOptions.php:44
ParserOutput
Definition: ParserOutput.php:27
MediaWiki\Hook\RejectParserCacheValueHook
Stable to implement.
Definition: RejectParserCacheValueHook.php:13
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
WikiPage
Class representing a MediaWiki article and history.
Definition: WikiPage.php:54
MediaWiki\Hook\RejectParserCacheValueHook\onRejectParserCacheValue
onRejectParserCacheValue( $parserOutput, $wikiPage, $parserOptions)
Use this hook to reject an otherwise usable cached value from the Parser cache.