Manual:Hooks/OldChangesListRecentChangesLine

From MediaWiki.org
Jump to: navigation, search
OldChangesListRecentChangesLine
Available from version 1.14.0
Customize entire Recent Changes line

*Define function:
function fnMyHook( &$changeslist, &$s, $rc ) { ... }

*Attach hook:
$wgHooks['OldChangesListRecentChangesLine'][] = 'MyExtensionHooks::someExample';
Called from: ChangesList.php

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


[edit] Details

  • &$changeslist: The OldChangesList instance
  • &$s: HTML of the form "<li>...</li>" containing one RC entry
  • $rc: The RecentChange object
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox