From 1d2b359dbee823854443cefa6c3901bd990222b2 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Tue, 10 Feb 2009 13:10:43 +0000 Subject: [PATCH] Oops, accidentally reverted r47053 in m last commit --- includes/LogEventsList.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() { -- 2.20.1