r101804 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101803‎ | r101804 | r101805 >
Date:13:57, 3 November 2011
Author:mah
Status:ok
Tags:
Comment:
followup r101490, remove extra tabs after talking to Nikerabbit.
Modified paths:
  • /trunk/phase3/includes/LocalisationCache.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LocalisationCache.php
@@ -198,12 +198,12 @@
199199 public function isMergeableKey( $key ) {
200200 if ( !isset( $this->mergeableKeys ) ) {
201201 $this->mergeableKeys = array_flip( array_merge(
202 - self::$mergeableMapKeys,
203 - self::$mergeableListKeys,
204 - self::$mergeableAliasListKeys,
205 - self::$optionalMergeKeys,
206 - self::$magicWordKeys
207 - ) );
 202+ self::$mergeableMapKeys,
 203+ self::$mergeableListKeys,
 204+ self::$mergeableAliasListKeys,
 205+ self::$optionalMergeKeys,
 206+ self::$magicWordKeys
 207+ ) );
208208 }
209209 return isset( $this->mergeableKeys[$key] );
210210 }
@@ -515,7 +515,7 @@
516516 $oldSynonyms = array_slice( $fallbackInfo, 1 );
517517 $newSynonyms = array_slice( $value[$magicName], 1 );
518518 $synonyms = array_values( array_unique( array_merge(
519 - $newSynonyms, $oldSynonyms ) ) );
 519+ $newSynonyms, $oldSynonyms ) ) );
520520 $value[$magicName] = array_merge( array( $fallbackInfo[0] ), $synonyms );
521521 }
522522 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r101490Style fixupsmah16:07, 1 November 2011

Status & tagging log