Manual:Hooks/OldChangesListRecentChangesLine
From MediaWiki.org
OldChangesListRecentChangesLine | |
---|---|
Available from version 1.14.0 Customize entire Recent Changes line |
|
Define function: |
public static function onOldChangesListRecentChangesLine( &$changeslist, &$s, $rc, &$classes ) { ... } |
Attach hook: |
$wgHooks['OldChangesListRecentChangesLine'][] = 'MyExtensionHooks::onOldChangesListRecentChangesLine'; |
Called from: | ChangesList.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:OldChangesListRecentChangesLine extensions.
Details[edit | edit source]
- &$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