From f4d672957078901d817866d60b765b02b2c87e2e Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sat, 20 Jun 2009 09:03:35 +0000 Subject: [PATCH] Make paging links on category pages known. This allows more comfortable browsing, even if the category does not exist. --- includes/CategoryPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/CategoryPage.php b/includes/CategoryPage.php index be0b4e0c9f..f431045e7a 100644 --- a/includes/CategoryPage.php +++ b/includes/CategoryPage.php @@ -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(), -- 2.20.1