MediaWiki REL1_39
MediaWiki\Hook\LogEventsListLineEndingHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\LogEventsListLineEndingHook:

Public Member Functions

 onLogEventsListLineEnding ( $page, &$ret, $entry, &$classes, &$attribs)
 This hook is called before a Special:Log line is finished.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 15 of file LogEventsListLineEndingHook.php.

Member Function Documentation

◆ onLogEventsListLineEnding()

MediaWiki\Hook\LogEventsListLineEndingHook::onLogEventsListLineEnding ( $page,
& $ret,
$entry,
& $classes,
& $attribs )

This hook is called before a Special:Log line is finished.

Since
1.35
Parameters
LogEventsList$page
string&$retHTML line
DatabaseLogEntry$entryDatabaseLogEntry object for this row
string[]&$classesClasses to add to the surrounding <li>
array&$attribsAssociative array of other HTML attributes for the <li> element. Currently only data attributes reserved to MediaWiki are allowed (see Sanitizer::isReservedDataAttribute).
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: