From: Zheng Zhu Date: Sat, 11 Dec 2004 19:23:03 +0000 (+0000) Subject: (bug 1076) navigation links in QueryPage should be translated by wgContLang X-Git-Tag: 1.5.0alpha1~1106 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=6026abb11f38ba28378d37fb44a1d0f18304dbd5;p=lhc%2Fweb%2Fwiklou.git (bug 1076) navigation links in QueryPage should be translated by wgContLang --- 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 = "
    ";