From: Siebrand Mazeland Date: Sat, 20 Jun 2009 09:03:35 +0000 (+0000) Subject: Make paging links on category pages known. This allows more comfortable browsing... X-Git-Tag: 1.31.0-rc.0~41277 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=f4d672957078901d817866d60b765b02b2c87e2e;p=lhc%2Fweb%2Fwiklou.git Make paging links on category pages known. This allows more comfortable browsing, even if the category does not exist. --- 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(),