MediaWiki  master
Page\Hook\ImagePageFileHistoryLineHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for Page\Hook\ImagePageFileHistoryLineHook:

Public Member Functions

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

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "ImagePageFileHistoryLine" to register handlers implementing this interface.

Stable to implement

Definition at line 15 of file ImagePageFileHistoryLineHook.php.

Member Function Documentation

◆ onImagePageFileHistoryLine()

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 | null&$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: