From: Tim Starling Date: Fri, 7 Jul 2006 15:20:44 +0000 (+0000) Subject: Restored missing submit button X-Git-Tag: 1.31.0-rc.0~56367 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=c91b797f9d412197dc7251261e59228d4ca7b9e8;p=lhc%2Fweb%2Fwiklou.git Restored missing submit button --- 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 ''; }