Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1432707
GetMetadataVersionHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
937 B
Referenced Files
None
Subscribers
None
GetMetadataVersionHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "GetMetadataVersion" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
GetMetadataVersionHook
{
/**
* Use this hook to modify the image metadata version currently in use. This
* is used when requesting image metadata from a ForeignApiRepo. Media handlers
* that need to have versioned metadata should add an element to the end of the
* version array of the form 'handler_name=version'. Most media handlers won't need
* to do this unless they broke backwards compatibility with a previous version of
* the media handler metadata output.
*
* @since 1.35
*
* @param string[] &$version Array of version strings
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onGetMetadataVersion
(
&
$version
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 22:13 (1 d, 2 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e3/f3/4ab72e975f43e7cf9956385711a4
Default Alt Text
GetMetadataVersionHook.php (937 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment