From 6026abb11f38ba28378d37fb44a1d0f18304dbd5 Mon Sep 17 00:00:00 2001 From: Zheng Zhu Date: Sat, 11 Dec 2004 19:23:03 +0000 Subject: [PATCH] (bug 1076) navigation links in QueryPage should be translated by wgContLang --- includes/QueryPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/QueryPage.php b/includes/QueryPage.php index 349540cb6f..7257ddb057 100644 --- a/includes/QueryPage.php +++ b/includes/QueryPage.php @@ -99,7 +99,7 @@ class QueryPage { * @param $limit database query limit */ function doQuery( $offset, $limit ) { - global $wgUser, $wgOut, $wgLang, $wgRequest; + global $wgUser, $wgOut, $wgLang, $wgRequest, $wgContLang; global $wgMiserMode; $sname = $this->getName(); @@ -177,7 +177,7 @@ class QueryPage { # often disable 'next' link when we reach the end if($num < $limit) { $atend = true; } else { $atend = false; } - $sl = wfViewPrevNext( $offset, $limit , $wgLang->specialPage( $sname ), "" ,$atend ); + $sl = wfViewPrevNext( $offset, $limit , $wgContLang->specialPage( $sname ), "" ,$atend ); $wgOut->addHTML( "
{$sl}

\n" ); $s = "
    "; -- 2.20.1