r107292 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107291‎ | r107292 | r107293 >
Date:21:42, 25 December 2011
Author:siebrand
Status:ok
Tags:
Comment:
Make PythonSingleFFS respect codeMap when writing.
Modified paths:
  • /trunk/extensions/Translate/FFS.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/FFS.php
@@ -1306,7 +1306,8 @@
13071307 fwrite( $this->fw, "$authors" );
13081308 }
13091309
1310 - fwrite( $this->fw, "\t'{$collection->code}': {\n" );
 1310+ $code = $this->group->mapCode( $collection->code );
 1311+ fwrite( $this->fw, "\t'{$code}': {\n" );
13111312 fwrite( $this->fw, $this->writeBlock( $collection ) );
13121313 fwrite( $this->fw, "\t},\n" );
13131314 }

Status & tagging log