MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onLogEventsListLineEnding ( $page, &$ret, $entry, &$classes, &$attribs) | |
This hook is called before a Special:Log line is finished. | |
Stable to implement.
Definition at line 12 of file LogEventsListLineEndingHook.php.
MediaWiki\Hook\LogEventsListLineEndingHook::onLogEventsListLineEnding | ( | $page, | |
& | $ret, | ||
$entry, | |||
& | $classes, | ||
& | $attribs | ||
) |
This hook is called before a Special:Log line is finished.
LogEventsList | $page | |
string | &$ret | HTML line |
DatabaseLogEntry | $entry | DatabaseLogEntry object for this row |
string[] | &$classes | Classes to add to the surrounding <li> |
string[] | &$attribs | Associative array of other HTML attributes for the <li> element. Currently only data attributes reserved to MediaWiki are allowed (see Sanitizer::isReservedDataAttribute). |
Implemented in MediaWiki\HookContainer\HookRunner.