MediaWiki  master
MediaWiki\Hook\LocalFilePurgeThumbnailsHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\LocalFilePurgeThumbnailsHook:

Public Member Functions

 onLocalFilePurgeThumbnails ( $file, $archiveName)
 This hook is called before thumbnails for a local file are purged. More...
 

Detailed Description

Stable to implement.

Definition at line 11 of file LocalFilePurgeThumbnailsHook.php.

Member Function Documentation

◆ onLocalFilePurgeThumbnails()

MediaWiki\Hook\LocalFilePurgeThumbnailsHook::onLocalFilePurgeThumbnails (   $file,
  $archiveName 
)

This hook is called before thumbnails for a local file are purged.

Since
1.35
Parameters
File$file
string$archiveNameName of an old file version or false if it's the current one
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


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