3 namespace MediaWiki\Page\Hook
;
9 * This is a hook handler interface, see docs/Hooks.md.
10 * Use the hook name "ImagePageFileHistoryLine" to register handlers implementing this interface.
12 * @stable to implement
15 interface ImagePageFileHistoryLineHook
{
17 * This hook is called when a file history line is constructed.
21 * @param ImageHistoryList $imageHistoryList Formerly an ImagePage but since
22 * 1.27 it is an ImageHistoryList.
24 * @param string &$line HTML of the history line
25 * @param string|null &$css Line CSS class
26 * @return bool|void True or no return value to continue or false to abort
28 public function onImagePageFileHistoryLine( $imageHistoryList, $file, &$line, &$css );