Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -986,11 +986,11 @@ |
987 | 987 | } else { |
988 | 988 | $nlink = '<a href="' . $title->escapeLocalUrl( $q ) . "\" class=\"mw-nextlink\">{$next}</a>"; |
989 | 989 | } |
990 | | - $nums = $wgLang->pipeList( wfNumLink( $offset, 20, $title, $query ), |
| 990 | + $nums = $wgLang->pipeList( array( wfNumLink( $offset, 20, $title, $query ), |
991 | 991 | wfNumLink( $offset, 50, $title, $query ), |
992 | 992 | wfNumLink( $offset, 100, $title, $query ), |
993 | 993 | wfNumLink( $offset, 250, $title, $query ), |
994 | | - wfNumLink( $offset, 500, $title, $query ) ); |
| 994 | + wfNumLink( $offset, 500, $title, $query ) ) ); |
995 | 995 | |
996 | 996 | return wfMsg( 'viewprevnext', $plink, $nlink, $nums ); |
997 | 997 | } |
Index: trunk/phase3/includes/Pager.php |
— | — | @@ -533,7 +533,7 @@ |
534 | 534 | $limits = $wgLang->pipeList( $limitLinks ); |
535 | 535 | |
536 | 536 | $this->mNavigationBar = |
537 | | - "({$pagingLinks['first']} | {$pagingLinks['last']}) " . |
| 537 | + "(" . $wgLang->pipeList( array( $pagingLinks['first'], $pagingLinks['last'] ) ) . ") " . |
538 | 538 | wfMsgHtml( 'viewprevnext', $pagingLinks['prev'], |
539 | 539 | $pagingLinks['next'], $limits ); |
540 | 540 | |