MediaWiki  master
LocalFilePurgeThumbnailsHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use File;
6 
24  public function onLocalFilePurgeThumbnails( $file, $archiveName );
25 }
MediaWiki\Hook\LocalFilePurgeThumbnailsHook\onLocalFilePurgeThumbnails
onLocalFilePurgeThumbnails( $file, $archiveName)
This hook is called before thumbnails for a local file are purged.
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
$file
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition: router.php:42
MediaWiki\Hook\LocalFilePurgeThumbnailsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: LocalFilePurgeThumbnailsHook.php:14
File
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition: File.php:63