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 
30  public function onRejectParserCacheValue( $parserOutput, $wikiPage,
31  $parserOptions
32  );
33 }
ParserOptions
Set options of the Parser.
Definition: ParserOptions.php:44
ParserOutput
Definition: ParserOutput.php:31
MediaWiki\Hook\RejectParserCacheValueHook
This is a hook handler interface, see docs/Hooks.md.
Definition: RejectParserCacheValueHook.php:16
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
WikiPage
Class representing a MediaWiki article and history.
Definition: WikiPage.php:55
MediaWiki\Hook\RejectParserCacheValueHook\onRejectParserCacheValue
onRejectParserCacheValue( $parserOutput, $wikiPage, $parserOptions)
Use this hook to reject an otherwise usable cached value from the Parser cache.