MediaWiki master
ParserModifyImageHTMLHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use File;
7
28 public function onParserModifyImageHTML( Parser $parser, File $file,
29 array $params, string &$html ): void;
30}
31
33class_alias( ParserModifyImageHTMLHook::class, 'MediaWiki\Hook\ParserModifyImageHTML' );
array $params
The job parameters.
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition File.php:73
PHP Parser - Processes wiki markup (which uses a more user-friendly syntax, such as "[[link]]" for ma...
Definition Parser.php:156
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 ...