r66797 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66796‎ | r66797 | r66798 >
Date:15:04, 23 May 2010
Author:siebrand
Status:deferred
Tags:
Comment:
Update coding style
Modified paths:
  • /trunk/extensions/Translate/groups/ComplexMessages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/groups/ComplexMessages.php
@@ -102,7 +102,9 @@
103103 $chain = $this->mergeMagic( $defs, $chain );
104104 }
105105
106 - return $group['data'] = array( $defs, $chain, $current );
 106+ $data = $group['data'] = array( $defs, $chain, $current );
 107+
 108+ return $data;
107109 }
108110
109111 /**
@@ -430,7 +432,9 @@
431433 foreach ( $this->getIterator( $group ) as $key ) {
432434 $temp = "\t{$indexKeys[$key]}";
433435
434 - while ( strlen( $temp ) <= $padTo ) { $temp .= ' '; }
 436+ while ( strlen( $temp ) <= $padTo ) {
 437+ $temp .= ' ';
 438+ }
435439
436440 $from = self::LANG_CURRENT;
437441 // Abuse of the firstMagic property, should use something proper
@@ -496,11 +500,9 @@
497501 #
498502 # /Export
499503 #
500 -
501504 public function highlight( $key, $values ) {
502505 return $values;
503506 }
504 -
505507 }
506508
507509 class SpecialPageAliasesCM extends ComplexMessages {
@@ -576,7 +578,6 @@
577579 }
578580 }
579581 }
580 -
581582 }
582583
583584 class MagicWordsCM extends ComplexMessages {

Status & tagging log