MediaWiki
1.43.1
RejectParserCacheValueHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Parser\ParserOptions
;
6
use
MediaWiki\Parser\ParserOutput
;
7
use
WikiPage
;
8
16
interface
RejectParserCacheValueHook
{
30
public
function
onRejectParserCacheValue
( $parserOutput, $wikiPage,
31
$parserOptions
32
);
33
}
MediaWiki\Parser\ParserOptions
Set options of the Parser.
Definition
ParserOptions.php:60
MediaWiki\Parser\ParserOutput
ParserOutput is a rendering of a Content object or a message.
Definition
ParserOutput.php:94
WikiPage
Base representation for an editable wiki page.
Definition
WikiPage.php:85
MediaWiki\Hook\RejectParserCacheValueHook
This is a hook handler interface, see docs/Hooks.md.
Definition
RejectParserCacheValueHook.php:16
MediaWiki\Hook\RejectParserCacheValueHook\onRejectParserCacheValue
onRejectParserCacheValue( $parserOutput, $wikiPage, $parserOptions)
Use this hook to reject an otherwise usable cached value from the Parser cache.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
parser
Hook
RejectParserCacheValueHook.php
Generated on Thu Apr 10 2025 18:13:35 for MediaWiki by
1.10.0