&$data: An array with all the components that will be joined in order to create the line
$block: An array of RecentChange objects in that block
$rc: The RecentChange object for this line
+&$classes: An array of classes to change
'EnhancedChangesListModifyBlockLineData': to alter data used to build
a non-grouped recent change line in EnhancedChangesList.
) {
$lineParams['classes'] = [ 'mw-enhanced-watched' ];
}
+
$separator = ' <span class="mw-changeslist-separator">. .</span> ';
$data['recentChangesFlags'] = [
// give the hook a chance to modify the data
$success = Hooks::run( 'EnhancedChangesListModifyLineData',
- [ $this, &$data, $block, $rcObj ] );
+ [ $this, &$data, $block, $rcObj, &$classes ] );
if ( !$success ) {
// skip entry if hook aborted it
return [];