bug 20327 Error in FlaggedRevs.hooks.php after r55168's restructuring of history...
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 20 Aug 2009 21:31:38 +0000 (21:31 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 20 Aug 2009 21:31:38 +0000 (21:31 +0000)
includes/HistoryPage.php

index bf85957..c8f3595 100644 (file)
@@ -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(