MediaWiki
REL1_40
ImgAuthModifyHeadersHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Linker\LinkTarget
;
6
14
interface
ImgAuthModifyHeadersHook
{
28
public
function
onImgAuthModifyHeaders
(
$title
, &$headers );
29
}
MediaWiki\Hook\ImgAuthModifyHeadersHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ImgAuthModifyHeadersHook.php:14
MediaWiki\Hook\ImgAuthModifyHeadersHook\onImgAuthModifyHeaders
onImgAuthModifyHeaders( $title, &$headers)
This hook is called just before a file is streamed to a user via img_auth.php, allowing headers to be...
MediaWiki\Linker\LinkTarget
Definition
LinkTarget.php:26
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
$title
$title
Definition
testCompression.php:39
includes
Hook
ImgAuthModifyHeadersHook.php
Generated on Thu Jun 27 2024 14:02:49 for MediaWiki by
1.10.0