MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onMimeMagicInit ( $mimeMagic) | |
This hook is called before processing the list mapping MIME types to media types and the list mapping MIME types to file extensions. | |
Stable to implement.
Definition at line 11 of file MimeMagicInitHook.php.
MediaWiki\Hook\MimeMagicInitHook::onMimeMagicInit | ( | $mimeMagic | ) |
This hook is called before processing the list mapping MIME types to media types and the list mapping MIME types to file extensions.
As an extension author, you are encouraged to submit patches to MediaWiki's core to add new MIME types to mime.types.
MimeAnalyzer | $mimeMagic |
|
Implemented in MediaWiki\HookContainer\HookRunner.