MediaWiki REL1_35
MediaWiki\Page\Hook\ImagePageFileHistoryLineHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Page\Hook\ImagePageFileHistoryLineHook:

Public Member Functions

 onImagePageFileHistoryLine ( $imageHistoryList, $file, &$line, &$css)
 This hook is called when a file history line is constructed.
 

Detailed Description

Stable to implement.

Definition at line 12 of file ImagePageFileHistoryLineHook.php.

Member Function Documentation

◆ onImagePageFileHistoryLine()

MediaWiki\Page\Hook\ImagePageFileHistoryLineHook::onImagePageFileHistoryLine (   $imageHistoryList,
  $file,
$line,
$css 
)

This hook is called when a file history line is constructed.

Since
1.35
Parameters
ImageHistoryList$imageHistoryListFormerly an ImagePage but since 1.27 it is an ImageHistoryList.
File$file
string&$lineHTML of the history line
string&$cssLine CSS class
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: