MediaWiki
master
MimeMagicImproveFromExtensionHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use Wikimedia\Mime\MimeAnalyzer;
6
14
interface
MimeMagicImproveFromExtensionHook
{
25
public
function
onMimeMagicImproveFromExtension
( $mimeMagic, $ext, &$mime );
26
}
MediaWiki\Hook\MimeMagicImproveFromExtensionHook
This is a hook handler interface, see docs/Hooks.md.
Definition
MimeMagicImproveFromExtensionHook.php:14
MediaWiki\Hook\MimeMagicImproveFromExtensionHook\onMimeMagicImproveFromExtension
onMimeMagicImproveFromExtension( $mimeMagic, $ext, &$mime)
Use this hook to further improve the MIME type detected by considering the file extension.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Hook
MimeMagicImproveFromExtensionHook.php
Generated on Mon Dec 2 2024 19:23:54 for MediaWiki by
1.10.0