MediaWiki
REL1_35
HTMLFileCache__useFileCacheHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Cache\Hook
;
4
5
// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
6
use
IContextSource
;
7
12
interface
HTMLFileCache__useFileCacheHook
{
22
public
function
onHTMLFileCache__useFileCache
( $context );
23
}
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:55
MediaWiki\Cache\Hook\HTMLFileCache__useFileCacheHook
Stable to implement.
Definition
HTMLFileCache__useFileCacheHook.php:12
MediaWiki\Cache\Hook\HTMLFileCache__useFileCacheHook\onHTMLFileCache__useFileCache
onHTMLFileCache__useFileCache( $context)
Use this hook to override whether a page should be cached in file cache.
MediaWiki\Cache\Hook
Definition
BacklinkCacheGetConditionsHook.php:3
includes
cache
Hook
HTMLFileCache__useFileCacheHook.php
Generated on Sat Apr 6 2024 00:06:58 for MediaWiki by
1.9.8