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 }
Implements functions related to MIME types such as detection and mapping to file extension.
This is a hook handler interface, see docs/Hooks.md.
onMimeMagicInit( $mimeMagic)
This hook is called before processing the list mapping MIME types to media types and the list mapping...