MediaWiki master
ParserMakeImageParamsHook.php
Go to the documentation of this file.
1<?php
2
4
8
29 public function onParserMakeImageParams( $title, $file, &$params, $parser );
30}
31
33class_alias( ParserMakeImageParamsHook::class, 'MediaWiki\\Hook\\ParserMakeImageParamsHook' );
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition File.php:79
PHP Parser - Processes wiki markup (which uses a more user-friendly syntax, such as "[[link]]" for ma...
Definition Parser.php:135
Represents a title within MediaWiki.
Definition Title.php:69
This is a hook handler interface, see docs/Hooks.md.
onParserMakeImageParams( $title, $file, &$params, $parser)
This hook is called before the parser generates an image link, use this to modify the parameters of t...