dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c515016
)
Revert r49941 and r50013: hackish attempted use of mIsFirst before initialisation.
author
Tim Starling
<tstarling@users.mediawiki.org>
Thu, 4 Jun 2009 06:17:03 +0000
(06:17 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Thu, 4 Jun 2009 06:17:03 +0000
(06:17 +0000)
includes/Pager.php
patch
|
blob
|
history
diff --git
a/includes/Pager.php
b/includes/Pager.php
index
7b6fcf8
..
8271f18
100644
(file)
--- a/
includes/Pager.php
+++ b/
includes/Pager.php
@@
-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;
}