Make paging links on category pages known. This allows more comfortable browsing...
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Sat, 20 Jun 2009 09:03:35 +0000 (09:03 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Sat, 20 Jun 2009 09:03:35 +0000 (09:03 +0000)
includes/CategoryPage.php

index be0b4e0..f431045 100644 (file)
@@ -460,7 +460,7 @@ class CategoryViewer {
                if( $first != '' ) {
                        $prevQuery = $query;
                        $prevQuery['until'] = $first;
-                       $prevLink = $sk->link(
+                       $prevLink = $sk->linkKnown(
                                $title,
                                $prevLink,
                                array(),
@@ -471,7 +471,7 @@ class CategoryViewer {
                if( $last != '' ) {
                        $lastQuery = $query;
                        $lastQuery['from'] = $last;
-                       $nextLink = $sk->link(
+                       $nextLink = $sk->linkKnown(
                                $title,
                                $nextLink,
                                array(),