MediaWiki
REL1_39
ImageBeforeProduceHTMLHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
DummyLinker
;
6
use
File
;
7
use
Parser
;
8
use
Title
;
9
17
interface
ImageBeforeProduceHTMLHook
{
40
public
function
onImageBeforeProduceHTML
( $linker, &
$title
, &
$file
,
41
&$frameParams, &$handlerParams, &$time, &
$res
, $parser, &$query, &$widthOption
42
);
43
}
DummyLinker
Definition
DummyLinker.php:9
File
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition
File.php:67
Parser
PHP Parser - Processes wiki markup (which uses a more user-friendly syntax, such as "[[link]]" for ma...
Definition
Parser.php:96
Title
Represents a title within MediaWiki.
Definition
Title.php:49
MediaWiki\Hook\ImageBeforeProduceHTMLHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ImageBeforeProduceHTMLHook.php:17
MediaWiki\Hook\ImageBeforeProduceHTMLHook\onImageBeforeProduceHTML
onImageBeforeProduceHTML( $linker, &$title, &$file, &$frameParams, &$handlerParams, &$time, &$res, $parser, &$query, &$widthOption)
This hook is called before producing the HTML created by a wiki image insertion.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
$file
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition
router.php:42
$res
$res
Definition
testCompression.php:57
$title
$title
Definition
testCompression.php:38
includes
Hook
ImageBeforeProduceHTMLHook.php
Generated on Mon Dec 16 2024 06:35:09 for MediaWiki by
1.10.0