From: Aaron Schulz Date: Thu, 7 Jan 2010 01:21:02 +0000 (+0000) Subject: Follow up r60759: forgot to commit hook change X-Git-Tag: 1.31.0-rc.0~38376 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/Category:Foo?a=commitdiff_plain;h=cb5166a9a69bebaf472fe11bb9f1d41ccc113eb3;p=lhc%2Fweb%2Fwiklou.git Follow up r60759: forgot to commit hook change --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 6e4eb0fa1c..0635a81de4 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1141,6 +1141,7 @@ $article: the article that the history is loading for 'PageHistoryLineEnding' : right before the end
  • is added to a history line $row: the revision row for this line $s: the string representing this parsed line +$classes: array containing the
  • element classes 'PageHistoryPager::getQueryInfo': when a history pager query parameter set is constructed diff --git a/includes/HistoryPage.php b/includes/HistoryPage.php index 1e1a5a43d3..d8fea56fd7 100644 --- a/includes/HistoryPage.php +++ b/includes/HistoryPage.php @@ -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 ) {