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