MediaWiki
master
GetExtendedMetadataHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Context\IContextSource
;
6
use
MediaWiki\FileRepo\File\File
;
7
15
interface
GetExtendedMetadataHook
{
34
public
function
onGetExtendedMetadata
( &$combinedMeta, $file, $context,
35
$single, &$maxCacheTime
36
);
37
}
MediaWiki\FileRepo\File\File
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition
File.php:93
MediaWiki\Context\IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:71
MediaWiki\Hook\GetExtendedMetadataHook
This is a hook handler interface, see docs/Hooks.md.
Definition
GetExtendedMetadataHook.php:15
MediaWiki\Hook\GetExtendedMetadataHook\onGetExtendedMetadata
onGetExtendedMetadata(&$combinedMeta, $file, $context, $single, &$maxCacheTime)
Use this hook to get extended file metadata for the API.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
media
Hook
GetExtendedMetadataHook.php
Generated on Mon Apr 28 2025 05:25:20 for MediaWiki by
1.10.0