MediaWiki  master
MimeMagicInitHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use MimeAnalyzer;
6 
11 interface MimeMagicInitHook {
25  public function onMimeMagicInit( $mimeMagic );
26 }
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
Stable to implement.
Definition: MimeMagicInitHook.php:11