Manual:Hooks/OldChangesListRecentChangesLine
Appearance
OldChangesListRecentChangesLine | |
---|---|
Available from version 1.14.0 Customize entire Recent Changes line | |
Define function: | public static function onOldChangesListRecentChangesLine( &$changeslist, &$s, $rc, &$classes ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"OldChangesListRecentChangesLine": "MediaWiki\\Extension\\MyExtension\\Hooks::onOldChangesListRecentChangesLine"
}
}
|
Called from: | File(s): changes/ChangesList.php |
Interface: | OldChangesListRecentChangesLineHook.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:OldChangesListRecentChangesLine extensions.
Details
[edit]- &$changeslist: The OldChangesList instance
- &$s: HTML of the form "<li>...</li>" containing one RC entry
- $rc: The RecentChange object
- &$classes: array of css classes to include in the <li> element