* (bug 4633) Add (previous 200) (next 200) also above catlinks
authorRob Church <robchurch@users.mediawiki.org>
Sun, 22 Jan 2006 23:10:56 +0000 (23:10 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Sun, 22 Jan 2006 23:10:56 +0000 (23:10 +0000)
RELEASE-NOTES
includes/CategoryPage.php

index d82478e..6687745 100644 (file)
@@ -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 ===
index 55bd610..c27acfc 100644 (file)
@@ -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;
        }