Manual:Hooks/ChangesListInsertLogEntry
Appearance
| ChangesListInsertLogEntry | |
|---|---|
| Available from version 1.44.0 (Gerrit change 1111665) Use this hook to override or modify the line for a log entry in a RC list. | |
| Define function: | public static function onChangesListInsertLogEntry( MediaWiki\Logging\DatabaseLogEntry $entry, MediaWiki\Context\IContextSource $context, string &$html, array &$classes, array &$attribs ) { ... }
|
| Attach hook: | In extension.json:
{
"Hooks": {
"ChangesListInsertLogEntry": "MediaWiki\\Extension\\MyExtension\\Hooks::onChangesListInsertLogEntry"
}
}
|
| Called from: | File(s): RecentChanges/ChangesList.php |
| Interface: | ChangesListInsertLogEntryHook.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:ChangesListInsertLogEntry extensions.