Page MenuHomeWickedGov Phorge

ImagePageFileHistoryLineHook.php
No OneTemporary

Size
856 B
Referenced Files
None
Subscribers
None

ImagePageFileHistoryLineHook.php

<?php
namespace MediaWiki\Page\Hook;
use MediaWiki\FileRepo\File\File;
use MediaWiki\Page\ImageHistoryList;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ImagePageFileHistoryLine" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface ImagePageFileHistoryLineHook {
/**
* This hook is called when a file history line is constructed.
*
* @since 1.35
*
* @param ImageHistoryList $imageHistoryList Formerly an ImagePage but since
* 1.27 it is an ImageHistoryList.
* @param File $file
* @param string &$line HTML of the history line
* @param string|null &$css Line CSS class
* @return bool|void True or no return value to continue or false to abort
*/
public function onImagePageFileHistoryLine( $imageHistoryList, $file, &$line, &$css );
}

File Metadata

Mime Type
text/x-php
Expires
Aug 21 2026, 03:14 (12 w, 5 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f5/a8/0dd68d4ede39c4487474a8fc7dac
Default Alt Text
ImagePageFileHistoryLineHook.php (856 B)

Event Timeline