Originally part of https://gerrit.wikimedia.org/r/13880
Change-Id: I05d9d13e8dc4e9442ecfba79a7d1af8bf192c28b
'ContributionsLineEnding': Called before a contributions HTML line is finished
$page: SpecialPage object for contributions
-$ret: the HTML line
+&$ret: the HTML line
$row: the DB row for this line
+&$classes: the classes to add to the surrounding <li>
'ContributionsToolLinks': Change tool links above Special:Contributions
$id: User identifier
$ret .= " $tagSummary";
// Let extensions add data
- wfRunHooks( 'ContributionsLineEnding', array( &$this, &$ret, $row ) );
+ wfRunHooks( 'ContributionsLineEnding', array( $this, &$ret, $row, &$classes ) );
$classes = implode( ' ', $classes );
$ret = "<li class=\"$classes\">$ret</li>\n";