Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1427014
RejectParserCacheValueHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
970 B
Referenced Files
None
Subscribers
None
RejectParserCacheValueHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Parser\ParserOptions
;
use
MediaWiki\Parser\ParserOutput
;
use
WikiPage
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "RejectParserCacheValue" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
RejectParserCacheValueHook
{
/**
* Use this hook to reject an otherwise usable cached value from the Parser cache.
* NOTE: CARELESS USE OF THIS HOOK CAN HAVE CATASTROPHIC CONSEQUENCES
* FOR HIGH-TRAFFIC INSTALLATIONS. USE WITH EXTREME CARE.
*
* @since 1.35
*
* @param ParserOutput $parserOutput ParserOutput value
* @param WikiPage $wikiPage
* @param ParserOptions $parserOptions
* @return bool|void True or no return value to continue, or false to reject
* an otherwise usable cached value from the Parser cache
*/
public
function
onRejectParserCacheValue
(
$parserOutput
,
$wikiPage
,
$parserOptions
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 14:04 (1 d, 9 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f7/0c/7d0a8cf72562bf78a83d18d2cc78
Default Alt Text
RejectParserCacheValueHook.php (970 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment