Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7418706
HTMLFileCache__useFileCacheHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
752 B
Referenced Files
None
Subscribers
None
HTMLFileCache__useFileCacheHook.php
View Options
<?php
namespace
MediaWiki\Cache\Hook
;
// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
use
MediaWiki\Context\IContextSource
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "HTMLFileCache::useFileCache" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
HTMLFileCache__useFileCacheHook
{
/**
* Use this hook to override whether a page should be cached in file cache.
*
* @since 1.35
*
* @param IContextSource $context IContextSource object with information about the request
* being served
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onHTMLFileCache__useFileCache
(
$context
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 04:04 (1 d, 7 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
64/3a/c273ef24b572d862c6d6090aa6a6
Default Alt Text
HTMLFileCache__useFileCacheHook.php (752 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment