< Manual:Hooks 
 
      | 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": "MyExtensionHooks::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
- &$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
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.