MediaWiki  master
Go to the documentation of this file.
1 <?php
3 namespace MediaWiki\Hook;
5 use DummyLinker;
6 use File;
7 use Parser;
8 use Title;
40  public function onImageBeforeProduceHTML( $linker, &$title, &$file,
41  &$frameParams, &$handlerParams, &$time, &$res, $parser, &$query, &$widthOption
42  );
43 }
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition: File.php:68
PHP Parser - Processes wiki markup (which uses a more user-friendly syntax, such as "[[link]]" for ma...
Definition: Parser.php:95
Represents a title within MediaWiki.
Definition: Title.php:48
This is a hook handler interface, see docs/
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.
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition: router.php:42