Oops, accidentally reverted r47053 in m last commit
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 10 Feb 2009 13:10:43 +0000 (13:10 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 10 Feb 2009 13:10:43 +0000 (13:10 +0000)
includes/LogEventsList.php

index d2dc81b..b85634b 100644 (file)
@@ -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() {