r47084 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47083‎ | r47084 | r47085 >
Date:13:10, 10 February 2009
Author:ialex
Status:deferred
Tags:
Comment:
Oops, accidentally reverted r47053 in m last commit
Modified paths:
  • /trunk/phase3/includes/LogEventsList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LogEventsList.php
@@ -93,7 +93,7 @@
9494 }
9595
9696 private function getFilterLinks( $logType, $filter ) {
97 - global $wgTitle;
 97+ global $wgTitle, $wgLang;
9898 // show/hide links
9999 $messages = array( wfMsgHtml( 'show' ), wfMsgHtml( 'hide' ) );
100100 // Option value -> message mapping
@@ -106,7 +106,7 @@
107107 $links[$type] = wfMsgHtml( "log-show-hide-{$type}", $link );
108108 }
109109 // Build links
110 - return implode( ' | ', $links );
 110+ return $wgLang->pipeList( $links );
111111 }
112112
113113 private function getDefaultQuery() {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r47053Replace hard coded pipe separators with locale basedsiebrand21:47, 9 February 2009

Status & tagging log