r75330 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75329‎ | r75330 | r75331 >
Date:18:40, 24 October 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Remove extra linefeed mangling
Modified paths:
  • /trunk/extensions/Translate/utils/TranslationHelpers.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/utils/TranslationHelpers.php
@@ -424,7 +424,6 @@
425425
426426 $code = $this->targetLanguage;
427427 $definition = trim( strval( $this->getDefinition() ) );
428 - $definition = str_replace( "\n", "<newline/>", $definition );
429428
430429 $memckey = wfMemckey( 'translate-tmsug-badcodes-' . $serviceName );
431430 $unsupported = $wgMemc->get( $memckey );

Status & tagging log