MediaWiki REL1_35
MediaWiki\Cache\Hook\HTMLFileCache__useFileCacheHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Cache\Hook\HTMLFileCache__useFileCacheHook:

Public Member Functions

 onHTMLFileCache__useFileCache ( $context)
 Use this hook to override whether a page should be cached in file cache.
 

Detailed Description

Stable to implement.

Definition at line 12 of file HTMLFileCache__useFileCacheHook.php.

Member Function Documentation

◆ onHTMLFileCache__useFileCache()

MediaWiki\Cache\Hook\HTMLFileCache__useFileCacheHook::onHTMLFileCache__useFileCache (   $context)

Use this hook to override whether a page should be cached in file cache.

Since
1.35
Parameters
IContextSource$contextIContextSource object with information about the request being served
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: