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 @@
17
17
}
18
18
19
19
$data = file_get_contents( $this->filename ) . "\n";
20
+ $data = SimpleFFS::fixNewLines( $data );
20
21
21
22
$headerP = "
22
23
.*? # Ungreedily eat header
Status & tagging log
18:30, 16 August 2009
Siebrand
(
talk
|
contribs
)
changed the
status
of r54351
[
removed:
new
added:
ok]