MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onLocalFilePurgeThumbnails ( $file, $archiveName, $urls) | |
This hook is called before thumbnails for a local file are purged. | |
Stable to implement.
Definition at line 11 of file LocalFilePurgeThumbnailsHook.php.
MediaWiki\Hook\LocalFilePurgeThumbnailsHook::onLocalFilePurgeThumbnails | ( | $file, | |
$archiveName, | |||
$urls | |||
) |
This hook is called before thumbnails for a local file are purged.
File | $file | The File of which the thumbnails are being purged |
string | $archiveName | Name of an old file version or false if it's the current one |
array | $urls | Urls to be purged |
Implemented in MediaWiki\HookContainer\HookRunner.