MediaWiki master
MediaWiki\Hook\ChangesListInsertLogEntryHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onChangesListInsertLogEntry ( $entry, $context, string &$html, array &$classes, array &$attribs)
 Use this hook to override or modify the line for a log entry in a RC list.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 15 of file ChangesListInsertLogEntryHook.php.

Member Function Documentation

◆ onChangesListInsertLogEntry()

MediaWiki\Hook\ChangesListInsertLogEntryHook::onChangesListInsertLogEntry ( $entry,
$context,
string & $html,
array & $classes,
array & $attribs )

Use this hook to override or modify the line for a log entry in a RC list.

Since
1.44
Parameters
DatabaseLogEntry$entryThe log entry object for this line
IContextSource$contextThe context associated with the RC list
string&$htmlThe HTML that has been generated for the log entry, not yet wrapped inside a wrapping span element that has the specified $classes and $attribs.
array&$classesThe CSS classes to be added to a span element that will wrap the $html
array&$attribsHTML attributes to be added to a span element that will wrap the $html
Returns
bool|void True or no return value to continue or false to abort

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