|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
| onRejectParserCacheValue ( $parserOutput, $wikiPage, $parserOptions) | |
| Use this hook to reject an otherwise usable cached value from the Parser cache. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "RejectParserCacheValue" to register handlers implementing this interface.
Definition at line 16 of file RejectParserCacheValueHook.php.
| MediaWiki\Parser\Hook\RejectParserCacheValueHook::onRejectParserCacheValue | ( | $parserOutput, | |
| $wikiPage, | |||
| $parserOptions ) |
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.
| ParserOutput | $parserOutput | ParserOutput value |
| WikiPage | $wikiPage | |
| ParserOptions | $parserOptions |
Implemented in MediaWiki\HookContainer\HookRunner.