MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onContributionsLineEnding ( $pager, &$ret, $row, &$classes, &$attribs) | |
This hook is called before a contributions HTML line is finished. | |
Stable to implement.
Definition at line 12 of file ContributionsLineEndingHook.php.
MediaWiki\Hook\ContributionsLineEndingHook::onContributionsLineEnding | ( | $pager, | |
& | $ret, | ||
$row, | |||
& | $classes, | ||
& | $attribs | ||
) |
This hook is called before a contributions HTML line is finished.
ContribsPager | $pager | The ContribsPager object hooked into |
string | &$ret | The HTML line |
stdClass | $row | The DB row for this line |
string[] | &$classes | The classes to add to the surrounding |
string[] | &$attribs | Associative array of other HTML attributes for the element. Currently only data attributes reserved to MediaWiki are allowed (see Sanitizer::isReservedDataAttribute). |
Implemented in MediaWiki\HookContainer\HookRunner.