wiki.techinc.nl/includes/parser/Hook/ParserMakeImageParamsHook.php
daniel e6e0ad2472 Replace "@stable for implementation" with "@stable to implement"
For compliance with the new version of the table interface policy
(T255803).

This patch was created by an automated search & replace operation
on the includes/ directory.

Bug: T257789
Change-Id: I17e5e92e24c708ffc846945a136347670a3a20c7
2020-07-13 11:05:49 +02:00

27 lines
719 B
PHP

<?php
namespace MediaWiki\Hook;
use File;
use Parser;
use Title;
/**
* @stable to implement
* @ingroup Hooks
*/
interface ParserMakeImageParamsHook {
/**
* This hook is called before the parser generates an image link, use this
* to modify the parameters of the image.
*
* @since 1.35
*
* @param Title $title Title object representing the file
* @param File $file File object that will be used to create the image
* @param array &$params Two-dimensional array of parameters
* @param Parser $parser Parser object that called the hook
* @return bool|void True or no return value to continue or false to abort
*/
public function onParserMakeImageParams( $title, $file, &$params, $parser );
}