Page MenuHomeWickedGov Phorge

IsFileCacheableHook.php
No OneTemporary

Size
580 B
Referenced Files
None
Subscribers
None

IsFileCacheableHook.php

<?php
namespace MediaWiki\Page\Hook;
use MediaWiki\Page\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

Mime Type
text/x-php
Expires
Tue, Aug 18, 16:01 (3 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7d/39/5e775123dab8a28be8c80f1d6ea7
Default Alt Text
IsFileCacheableHook.php (580 B)

Event Timeline