MediaWiki REL1_35
MediaWiki\Hook\EnhancedChangesListModifyLineDataHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\EnhancedChangesListModifyLineDataHook:

Public Member Functions

 onEnhancedChangesListModifyLineData ( $changesList, &$data, $block, $rc, &$classes, &$attribs)
 Use this hook to alter data used to build a grouped recent change inner line in EnhancedChangesList.
 

Detailed Description

Stable to implement.

Definition at line 12 of file EnhancedChangesListModifyLineDataHook.php.

Member Function Documentation

◆ onEnhancedChangesListModifyLineData()

MediaWiki\Hook\EnhancedChangesListModifyLineDataHook::onEnhancedChangesListModifyLineData (   $changesList,
$data,
  $block,
  $rc,
$classes,
$attribs 
)

Use this hook to alter data used to build a grouped recent change inner line in EnhancedChangesList.

Since
1.35
Parameters
EnhancedChangesList$changesList
array&$dataArray of components that will be joined in order to create the line
RecentChange[]$blockArray of RecentChange objects in that block
RecentChange$rcRecentChange object for this line
string[]&$classesArray of classes to change
string[]&$attribsAssociative array of other HTML attributes for the <tr> element. Currently only data attributes reserved to MediaWiki are allowed (see Sanitizer::isReservedDataAttribute).
Returns
bool|void True or no return value to continue, or false to omit this line from recentchanges

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: