|
MediaWiki master
|
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. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ChangesListInsertLogEntry" to register handlers implementing this interface.
Definition at line 15 of file ChangesListInsertLogEntryHook.php.
| MediaWiki\RecentChanges\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.
| DatabaseLogEntry | $entry | The log entry object for this line |
| IContextSource | $context | The context associated with the RC list |
| string | &$html | The 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 | &$classes | The CSS classes to be added to a span element that will wrap the $html |
| array | &$attribs | HTML attributes to be added to a span element that will wrap the $html |