From 0e6945d0eac7709e0e0c382fec12aa8af4023f7c Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 20 Aug 2009 21:31:38 +0000 Subject: [PATCH] bug 20327 Error in FlaggedRevs.hooks.php after r55168's restructuring of history page classes --- includes/HistoryPage.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/includes/HistoryPage.php b/includes/HistoryPage.php index bf859571b7..c8f3595ebd 100644 --- a/includes/HistoryPage.php +++ b/includes/HistoryPage.php @@ -270,6 +270,11 @@ class HistoryPager extends ReverseChronologicalPager { $this->tagFilter = $tagFilter; $this->getDateCond( $year, $month ); } + + // For hook compatibility... + function getArticle() { + return $this->historyPage->getArticle(); + } function getQueryInfo() { $queryInfo = array( -- 2.20.1