Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7395839
LocalFilePurgeThumbnailsHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
762 B
Referenced Files
None
Subscribers
None
LocalFilePurgeThumbnailsHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
File
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "LocalFilePurgeThumbnails" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
LocalFilePurgeThumbnailsHook
{
/**
* This hook is called before thumbnails for a local file are purged.
*
* @since 1.35
*
* @param File $file The File of which the thumbnails are being purged
* @param string|false $archiveName Name of an old file version or false if it's the current one
* @param array $urls Urls to be purged
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onLocalFilePurgeThumbnails
(
$file
,
$archiveName
,
$urls
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 21, 13:55 (2 d, 7 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
84/c0/51b5a12abd7b6bd5ff5dd57d31e9
Default Alt Text
LocalFilePurgeThumbnailsHook.php (762 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment