MediaWiki fundraising/REL1_35
MediaWiki\Hook\LocalFilePurgeThumbnailsHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\LocalFilePurgeThumbnailsHook:

Public Member Functions

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

Detailed Description

Stable to implement.

Definition at line 11 of file LocalFilePurgeThumbnailsHook.php.

Member Function Documentation

◆ onLocalFilePurgeThumbnails()

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

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

Since
1.35
Parameters
File$fileThe File of which the thumbnails are being purged
string$archiveNameName of an old file version or false if it's the current one
array$urlsUrls to be purged
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: