r78998 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78997‎ | r78998 | r78999 >
Date:12:47, 25 December 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Trim trailing newlines (only) because it is not easy to avoid them in YAML
Modified paths:
  • /trunk/extensions/Translate/FFS.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/FFS.php
@@ -724,6 +724,9 @@
725725
726726 $messages = $this->flatten( $messages );
727727 $messages = $this->group->getMangler()->mangle( $messages );
 728+ foreach( $messages as $key => &$value ) {
 729+ $value = rtrim( $value, "\n" );
 730+ }
728731
729732 return array(
730733 'AUTHORS' => $authors,

Status & tagging log