From cb5166a9a69bebaf472fe11bb9f1d41ccc113eb3 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 7 Jan 2010 01:21:02 +0000 Subject: [PATCH] Follow up r60759: forgot to commit hook change --- docs/hooks.txt | 1 + includes/HistoryPage.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 ) { -- 2.20.1