|
MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
| onLocalFilePurgeThumbnails ( $file, $archiveName, $urls) | |
| This hook is called before thumbnails for a local file are purged. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "LocalFilePurgeThumbnails" to register handlers implementing this interface.
Definition at line 14 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 | false | $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.