r57052 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57051‎ | r57052 | r57053 >
Date:13:06, 29 September 2009
Author:avar
Status:deferred
Tags:
Comment:
Don't add an additional newline to YAML output via perl's -l option
Modified paths:
  • /trunk/extensions/Translate/utils/TranslateYaml.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/utils/TranslateYaml.php
@@ -70,7 +70,7 @@
7171 $sdata = serialize( $data );
7272 file_put_contents( $tf, $sdata );
7373
74 - $cmd = "perl -MYAML::Syck=DumpFile -MPHP::Serialization=unserialize -MFile::Slurp=slurp -wle '" .
 74+ $cmd = "perl -MYAML::Syck=DumpFile -MPHP::Serialization=unserialize -MFile::Slurp=slurp -we '" .
7575 '$YAML::Syck::Headless = 1;' .
7676 '$YAML::Syck::SortKeys = 1;' .
7777 'my $tf = q[' . $tf . '];' .

Status & tagging log