r53476 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53475‎ | r53476 | r53477 >
Date:14:47, 19 July 2009
Author:siebrand
Status:ok
Tags:
Comment:
Use localised parentheses and $wgLang->pipeList() instead of hardcoded parentheses and pipe characters.
Modified paths:
  • /trunk/phase3/includes/LogEventsList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LogEventsList.php
@@ -373,8 +373,9 @@
374374 ),
375375 array( 'known', 'noclasses' )
376376 );
 377+
377378 // Pipe links
378 - $revert = '(' . implode(' | ',$revert) . ')';
 379+ $revert = wfMsg( 'parentheses', $wgLang->pipeList( $revert ) );
379380 }
380381 // Hidden log items, give review link
381382 } else if( self::typeAction($row,array('delete','suppress'),'event','deleterevision') ) {

Status & tagging log