r54351 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r54350‎ | r54351 | r54352 >
Date:08:47, 4 August 2009
Author:nikerabbit
Status:ok
Tags:
Comment:
Handle different newlines gracefully
Modified paths:
  • /trunk/extensions/Translate/ffs/WikiExtension.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/ffs/WikiExtension.php
@@ -16,6 +16,7 @@
1717 }
1818
1919 $data = file_get_contents( $this->filename ) . "\n";
 20+ $data = SimpleFFS::fixNewLines( $data );
2021
2122 $headerP = "
2223 .*? # Ungreedily eat header

Status & tagging log