r100235 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100234‎ | r100235 | r100236 >
Date:16:00, 19 October 2011
Author:platonides
Status:ok
Tags:
Comment:
Actually set the language
Modified paths:
  • /trunk/tools/ToolserverI18N/TsIntuition.php (modified) (history)

Diff [purge]

Index: trunk/tools/ToolserverI18N/TsIntuition.php
@@ -1290,14 +1290,14 @@
12911291
12921292 foreach ( $this->availableLanguages as $lang => $true ) {
12931293 if (! isset( $acceptableLanguages[$lang] ) ) {
1294 - $set = $lang;
 1294+ $set = $this->setLang( $lang );
12951295 break;
12961296 }
12971297 }
12981298 if ( $set )
12991299 break;
13001300 } elseif ( isset( $this->availableLanguages[$lang] ) ) {
1301 - $set = $lang;
 1301+ $set = $this->setLang( $lang );
13021302 break;
13031303 }
13041304 }

Status & tagging log