From c91b797f9d412197dc7251261e59228d4ca7b9e8 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 7 Jul 2006 15:20:44 +0000 Subject: [PATCH] Restored missing submit button --- includes/PageHistory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/PageHistory.php b/includes/PageHistory.php index 19be033fe2..1389481d04 100644 --- a/includes/PageHistory.php +++ b/includes/PageHistory.php @@ -107,6 +107,7 @@ class PageHistory { */ $pager = new PageHistoryPager( $this ); $navbar = $pager->getNavigationBar(); + $this->linesonpage = $pager->getNumRows(); $wgOut->addHTML( $pager->getNavigationBar() . $this->beginHistoryList() . @@ -520,7 +521,6 @@ class PageHistoryPager extends ReverseChronologicalPager { function getStartBody() { $this->mLastRow = false; $this->mCounter = 1; - $this->mPageHistory->linesonpage = $this->getNumRows(); return ''; } -- 2.20.1