Index: trunk/phase3/includes/Pager.php |
— | — | @@ -517,6 +517,8 @@ |
518 | 518 | function getNavigationBar() { |
519 | 519 | global $wgLang; |
520 | 520 | |
| 521 | + if ( $this->mIsFirst && $this->mIsLast ) return ''; |
| 522 | + |
521 | 523 | if( isset( $this->mNavigationBar ) ) { |
522 | 524 | return $this->mNavigationBar; |
523 | 525 | } |
— | — | @@ -598,6 +600,8 @@ |
599 | 601 | function getNavigationBar() { |
600 | 602 | global $wgLang; |
601 | 603 | |
| 604 | + if ( $this->mIsFirst && $this->mIsLast ) return ''; |
| 605 | + |
602 | 606 | if ( isset( $this->mNavigationBar ) ) { |
603 | 607 | return $this->mNavigationBar; |
604 | 608 | } |