From: Rob Church Date: Sun, 22 Jan 2006 23:10:56 +0000 (+0000) Subject: * (bug 4633) Add (previous 200) (next 200) also above catlinks X-Git-Tag: 1.6.0~444 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=483bc797766b1f31b149cba20e14e120bd4afd4e;p=lhc%2Fweb%2Fwiklou.git * (bug 4633) Add (previous 200) (next 200) also above catlinks --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d82478e037..6687745dc3 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -557,6 +557,7 @@ fully support the editing toolbar, but was found to be too confusing. show a "block user" link in the toolbox * Fix backup dump text prefetch for XMLReader constant changes in PHP 5.1 * Suppress useless percentage indicator on output from 7za during dumps +* (bug 4633) Add (previous 200) (next 200) also above catlinks === Caveats === diff --git a/includes/CategoryPage.php b/includes/CategoryPage.php index 55bd610f60..c27acfcd9f 100644 --- a/includes/CategoryPage.php +++ b/includes/CategoryPage.php @@ -176,6 +176,12 @@ class CategoryPage extends Article { $r.= $ig->toHTML(); } + if( $until != '' ) { + $r .= $this->pagingLinks( $this->mTitle, $nextPage, $until, $limit ); + } elseif( $nextPage != '' || $from != '' ) { + $r .= $this->pagingLinks( $this->mTitle, $from, $nextPage, $limit ); + } + wfProfileOut( $fname ); return $r; }