MediaWiki  master
MimeMagicInitHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use MimeAnalyzer;
6 
14 interface MimeMagicInitHook {
28  public function onMimeMagicInit( $mimeMagic );
29 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MimeAnalyzer
Implements functions related to MIME types such as detection and mapping to file extension.
Definition: MimeAnalyzer.php:33
MediaWiki\Hook\MimeMagicInitHook\onMimeMagicInit
onMimeMagicInit( $mimeMagic)
This hook is called before processing the list mapping MIME types to media types and the list mapping...
MediaWiki\Hook\MimeMagicInitHook
This is a hook handler interface, see docs/Hooks.md.
Definition: MimeMagicInitHook.php:14