MediaWiki REL1_35
MediaWiki\Page\Hook\IsFileCacheableHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Page\Hook\IsFileCacheableHook:

Public Member Functions

 onIsFileCacheable ( $article)
 Use this hook to override the result of Article::isFileCacheable().
 

Detailed Description

Stable to implement.

Definition at line 11 of file IsFileCacheableHook.php.

Member Function Documentation

◆ onIsFileCacheable()

MediaWiki\Page\Hook\IsFileCacheableHook::onIsFileCacheable (   $article)

Use this hook to override the result of Article::isFileCacheable().

Since
1.35
Parameters
Article$articleArticle being checked
Returns
bool|void True or no return value to override or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


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