MediaWiki REL1_39
ParserModifyImageHTML.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use File;
6use Parser;
7
28 public function onParserModifyImageHTML( Parser $parser, File $file,
29 array $params, string &$html ): void;
30}
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition File.php:67
PHP Parser - Processes wiki markup (which uses a more user-friendly syntax, such as "[[link]]" for ma...
Definition Parser.php:96
This is a hook handler interface, see docs/Hooks.md.
onParserModifyImageHTML(Parser $parser, File $file, array $params, string &$html)
This hook is called for each image added to parser output, with its associated HTML as returned from ...
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition router.php:42