Manual:Hooks/ChangesListInsertLogEntry

Category:MediaWiki hooks#ChangesListInsertLogEntry Category:Hooks added in MediaWiki 1.44.0#ChangesListInsertLogEntry
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.phpCategory:MediaWiki hooks included in ChangesList.php#ChangesListInsertLogEntry
Interface: ChangesListInsertLogEntryHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:ChangesListInsertLogEntry extensions.

Category:Hooks added in MediaWiki 1.44.0 Category:MediaWiki hooks Category:MediaWiki hooks included in ChangesList.php