MediaWiki master
MimeMagicInitHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use Wikimedia\Mime\MimeAnalyzer;
6
28 public function onMimeMagicInit( $mimeMagic );
29}
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...