Revert r49941 and r50013: hackish attempted use of mIsFirst before initialisation.
authorTim Starling <tstarling@users.mediawiki.org>
Thu, 4 Jun 2009 06:17:03 +0000 (06:17 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Thu, 4 Jun 2009 06:17:03 +0000 (06:17 +0000)
includes/Pager.php

index 7b6fcf8..8271f18 100644 (file)
@@ -517,8 +517,6 @@ abstract class AlphabeticPager extends IndexPager {
        function getNavigationBar() {
                global $wgLang;
 
-               if ( $this->mIsFirst && $this->mIsLast ) return '';
-
                if( isset( $this->mNavigationBar ) ) {
                        return $this->mNavigationBar;
                }
@@ -600,8 +598,6 @@ abstract class ReverseChronologicalPager extends IndexPager {
        function getNavigationBar() {
                global $wgLang;
 
-               if ( $this->mIsFirst && $this->mIsLast ) return '';
-
                if ( isset( $this->mNavigationBar ) ) {
                        return $this->mNavigationBar;
                }