MediaWiki master
MediaWiki\Page\Hook\ImagePageFileHistoryLineHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

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

Detailed Description

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

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

Stability: stable
to implement

Definition at line 15 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 | 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: