MediaWiki
master
RejectParserCacheValueHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Parser\Hook
;
4
5
use
MediaWiki\Page\WikiPage
;
6
use
MediaWiki\Parser\ParserOptions
;
7
use
MediaWiki\Parser\ParserOutput
;
8
16
interface
RejectParserCacheValueHook
{
30
public
function
onRejectParserCacheValue
( $parserOutput, $wikiPage,
31
$parserOptions
32
);
33
}
34
36
class_alias( RejectParserCacheValueHook::class,
'MediaWiki\\Hook\\RejectParserCacheValueHook'
);
MediaWiki\Page\WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:81
MediaWiki\Parser\ParserOptions
Set options of the Parser.
Definition
ParserOptions.php:64
MediaWiki\Parser\ParserOutput
ParserOutput is a rendering of a Content object or a message.
Definition
ParserOutput.php:83
MediaWiki\Parser\Hook\RejectParserCacheValueHook
This is a hook handler interface, see docs/Hooks.md.
Definition
RejectParserCacheValueHook.php:16
MediaWiki\Parser\Hook\RejectParserCacheValueHook\onRejectParserCacheValue
onRejectParserCacheValue( $parserOutput, $wikiPage, $parserOptions)
Use this hook to reject an otherwise usable cached value from the Parser cache.
MediaWiki\Parser\Hook
Definition
AfterParserFetchFileAndTitleHook.php:3
includes
Parser
Hook
RejectParserCacheValueHook.php
Generated on Fri Nov 14 2025 14:27:13 for MediaWiki by
1.10.0