Revision: 52192
Author:   siebrand
Date:     2009-06-20 09:03:35 +0000 (Sat, 20 Jun 2009)

Log Message:
-----------
Make paging links on category pages known. This allows more comfortable 
browsing, even if the category does not exist.

Modified Paths:
--------------
    trunk/phase3/includes/CategoryPage.php

Modified: trunk/phase3/includes/CategoryPage.php
===================================================================
--- trunk/phase3/includes/CategoryPage.php      2009-06-20 08:59:36 UTC (rev 
52191)
+++ trunk/phase3/includes/CategoryPage.php      2009-06-20 09:03:35 UTC (rev 
52192)
@@ -460,7 +460,7 @@
                if( $first != '' ) {
                        $prevQuery = $query;
                        $prevQuery['until'] = $first;
-                       $prevLink = $sk->link(
+                       $prevLink = $sk->linkKnown(
                                $title,
                                $prevLink,
                                array(),
@@ -471,7 +471,7 @@
                if( $last != '' ) {
                        $lastQuery = $query;
                        $lastQuery['from'] = $last;
-                       $nextLink = $sk->link(
+                       $nextLink = $sk->linkKnown(
                                $title,
                                $nextLink,
                                array(),



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to