Follow up r60759: forgot to commit hook change
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 7 Jan 2010 01:21:02 +0000 (01:21 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 7 Jan 2010 01:21:02 +0000 (01:21 +0000)
docs/hooks.txt
includes/HistoryPage.php

index 6e4eb0f..0635a81 100644 (file)
@@ -1141,6 +1141,7 @@ $article: the article that the history is loading for
 'PageHistoryLineEnding' : right before the end <li> is added to a history line
 $row: the revision row for this line
 $s: the string representing this parsed line
+$classes: array containing the <li> element classes
 
 'PageHistoryPager::getQueryInfo': when a history pager query parameter set
 is constructed
index 1e1a5a4..d8fea56 100644 (file)
@@ -557,7 +557,7 @@ class HistoryPager extends ReverseChronologicalPager {
                $classes = array_merge( $classes, $newClasses );
                $s .= " $tagSummary";
 
-               wfRunHooks( 'PageHistoryLineEnding', array( $this, &$row , &$s ) );
+               wfRunHooks( 'PageHistoryLineEnding', array( $this, &$row , &$s, &$classes ) );
 
                $attribs = array();
                if ( $classes ) {