|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
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. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "EnhancedChangesListModifyLineData" to register handlers implementing this interface.
Definition at line 15 of file EnhancedChangesListModifyLineDataHook.php.
| MediaWiki\RecentChanges\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.
| EnhancedChangesList | $changesList | |
| array | &$data | Array of components that will be joined in order to create the line |
| RecentChange[] | $block | Array of RecentChange objects in that block |
| RecentChange | $rc | RecentChange object for this line |
| string[] | &$classes | Array of classes to change |
| string[] | &$attribs | Associative array of other HTML attributes for the <tr> element. Currently only data attributes reserved to MediaWiki are allowed (see Sanitizer::isReservedDataAttribute). |
Implemented in MediaWiki\HookContainer\HookRunner.