MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onMimeMagicImproveFromExtension ( $mimeMagic, $ext, &$mime) | |
Use this hook to further improve the MIME type detected by considering the file extension. | |
Stable to implement.
Definition at line 11 of file MimeMagicImproveFromExtensionHook.php.
MediaWiki\Hook\MimeMagicImproveFromExtensionHook::onMimeMagicImproveFromExtension | ( | $mimeMagic, | |
$ext, | |||
& | $mime | ||
) |
Use this hook to further improve the MIME type detected by considering the file extension.
MimeAnalyzer | $mimeMagic | |
string | $ext | File extension |
string | &$mime | MIME type (in/out) |
Implemented in MediaWiki\HookContainer\HookRunner.