MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onMimeMagicImproveFromExtension ( $mimeMagic, $ext, &$mime) | |
Use this hook to further improve the MIME type detected by considering the file extension. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "MimeMagicImproveFromExtension" to register handlers implementing this interface.
Definition at line 14 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.