r96348 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r96347
|
r96348
|
r96349
>
Date:
16:24, 6 September 2011
Author:
roberthl
Status:
ok
Tags:
Comment:
Translate: If magic-export.php does not find a header, output a basic header rather than exitting.
Modified paths:
/trunk/extensions/Translate/scripts/magic-export.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/Translate/scripts/magic-export.php
—
—
@@ -123,7 +123,7 @@
124
124
$end = strpos( $data, '*/' ) + 2;
125
125
126
126
if ( $end === false ) {
127
- die( "No header found in '$file'.\n" );
127
+ return "<?php\n";
128
128
}
129
129
130
130
// Grab header.
Status & tagging log
18:43, 6 September 2011
Nikerabbit
(
talk
|
contribs
)
changed the
status
of r96348
[
removed:
new
added:
ok]