MediaWiki REL1_35
MediaWiki\Hook\LogEventsListLineEndingHook Interface Reference

Stable to implement. 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

Stable to implement.

Definition at line 12 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>
string[]&$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: