MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onContributionsLineEnding ( $pager, &$ret, $row, &$classes, &$attribs) | |
This hook is called before a contributions HTML line is finished. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ContributionsLineEnding" to register handlers implementing this interface.
Definition at line 15 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.