Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4101475
IsFileCacheableHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
565 B
Referenced Files
None
Subscribers
None
IsFileCacheableHook.php
View Options
<?php
namespace
MediaWiki\Page\Hook
;
use
Article
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "IsFileCacheable" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
IsFileCacheableHook
{
/**
* Use this hook to override the result of Article::isFileCacheable().
*
* @since 1.35
*
* @param Article $article Article being checked
* @return bool|void True or no return value to override or false to abort
*/
public
function
onIsFileCacheable
(
$article
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Aug 18, 16:58 (3 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f9/27/8205542f8282300632db86a35572
Default Alt Text
IsFileCacheableHook.php (565 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment