Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -1141,6 +1141,7 @@ |
1142 | 1142 | 'PageHistoryLineEnding' : right before the end <li> is added to a history line |
1143 | 1143 | $row: the revision row for this line |
1144 | 1144 | $s: the string representing this parsed line |
| 1145 | +$classes: array containing the <li> element classes |
1145 | 1146 | |
1146 | 1147 | 'PageHistoryPager::getQueryInfo': when a history pager query parameter set |
1147 | 1148 | is constructed |
Index: trunk/phase3/includes/HistoryPage.php |
— | — | @@ -557,7 +557,7 @@ |
558 | 558 | $classes = array_merge( $classes, $newClasses ); |
559 | 559 | $s .= " $tagSummary"; |
560 | 560 | |
561 | | - wfRunHooks( 'PageHistoryLineEnding', array( $this, &$row , &$s ) ); |
| 561 | + wfRunHooks( 'PageHistoryLineEnding', array( $this, &$row , &$s, &$classes ) ); |
562 | 562 | |
563 | 563 | $attribs = array(); |
564 | 564 | if ( $classes ) { |