r52192 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52191‎ | r52192 | r52193 >
Date:09:03, 20 June 2009
Author:siebrand
Status:ok
Tags:
Comment:
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) (history)

Diff [purge]

Index: trunk/phase3/includes/CategoryPage.php
@@ -460,7 +460,7 @@
461461 if( $first != '' ) {
462462 $prevQuery = $query;
463463 $prevQuery['until'] = $first;
464 - $prevLink = $sk->link(
 464+ $prevLink = $sk->linkKnown(
465465 $title,
466466 $prevLink,
467467 array(),
@@ -471,7 +471,7 @@
472472 if( $last != '' ) {
473473 $lastQuery = $query;
474474 $lastQuery['from'] = $last;
475 - $nextLink = $sk->link(
 475+ $nextLink = $sk->linkKnown(
476476 $title,
477477 $nextLink,
478478 array(),

Status & tagging log