MediaWiki
REL1_35
GetExtendedMetadataHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
File
;
6
use
IContextSource
;
7
12
interface
GetExtendedMetadataHook
{
31
public
function
onGetExtendedMetadata
( &$combinedMeta,
$file
, $context,
32
$single, &$maxCacheTime
33
);
34
}
File
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition
File.php:63
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:55
MediaWiki\Hook\GetExtendedMetadataHook
Stable to implement.
Definition
GetExtendedMetadataHook.php:12
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
$file
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition
router.php:42
includes
media
Hook
GetExtendedMetadataHook.php
Generated on Sat Apr 6 2024 00:07:31 for MediaWiki by
1.9.8