MediaWiki REL1_37
MediaWiki\Hook\EnhancedChangesListModifyLineDataHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. 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

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "EnhancedChangesListModifyLineData" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 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: