From: Alexandre Emsenhuber Date: Tue, 10 Feb 2009 13:10:43 +0000 (+0000) Subject: Oops, accidentally reverted r47053 in m last commit X-Git-Tag: 1.31.0-rc.0~42947 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=1d2b359dbee823854443cefa6c3901bd990222b2;p=lhc%2Fweb%2Fwiklou.git Oops, accidentally reverted r47053 in m last commit --- diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index d2dc81bc1e..b85634b3da 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -93,7 +93,7 @@ class LogEventsList { } private function getFilterLinks( $logType, $filter ) { - global $wgTitle; + global $wgTitle, $wgLang; // show/hide links $messages = array( wfMsgHtml( 'show' ), wfMsgHtml( 'hide' ) ); // Option value -> message mapping @@ -106,7 +106,7 @@ class LogEventsList { $links[$type] = wfMsgHtml( "log-show-hide-{$type}", $link ); } // Build links - return implode( ' | ', $links ); + return $wgLang->pipeList( $links ); } private function getDefaultQuery() {