MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onLogEventsListLineEnding ( $page, &$ret, $entry, &$classes, &$attribs) | |
This hook is called before a Special:Log line is finished. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "LogEventsListLineEnding" to register handlers implementing this interface.
Definition at line 15 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> |
array | &$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.