< Manual:Hooks 
 
      | EnhancedChangesListModifyBlockLineData | |
|---|---|
| Available from version 1.26.0 Modify data used to build a non-grouped entry in Special:RecentChanges | |
| Define function: | public static function onEnhancedChangesListModifyBlockLineData( $changesList, &$data, $rc ) { ... }
 | 
| Attach hook: | In extension.json: {
	"Hooks": {
		"EnhancedChangesListModifyBlockLineData": "MyExtensionHooks::onEnhancedChangesListModifyBlockLineData"
	}
}
 | 
| Called from: | File(s): changes/EnhancedChangesList.php Function(s): recentChangesBlockLine | 
| Interface: | EnhancedChangesListModifyBlockLineDataHook.php | 
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:EnhancedChangesListModifyBlockLineData extensions.
Details
Allows extensions to modify the data used to build a non-grouped entry in Special:RecentChanges
- $changesList: EnhancedChangesList object
- &$data: An array with all the components that will be joined in order to create the line
- $rc: The RecentChange object for this line
See also
- EnhancedChangesListModifyLineData
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.