already set above 1024 bytes
* (bug 32086) Special:PermanentLink now show an error message when no subpage
was specified.
+* (bug 31822) Error during upgrade due to output buffer reset in stdout
=== API changes in 1.18 ===
* BREAKING CHANGE: action=watch now requires POST and token.
if ( $channel === null ) {
$this->cleanupChanneled();
- $f = fopen( 'php://stdout', 'w' );
+ $f = fopen( 'php://stdout', 'a' );
fwrite( $f, $out );
fclose( $f );
}
if ( php_sapi_name() == 'cli' ) {
fwrite( STDERR, $err . "\n" );
} else {
- $f = fopen( 'php://stderr', 'w' );
+ $f = fopen( 'php://stderr', 'a' );
fwrite( $f, $err . "\n" );
fclose( $f );
}
return;
}
- $handle = fopen( 'php://stdout', 'w' );
+ $handle = fopen( 'php://stdout', 'a' );
// End the current line if necessary
if ( !$this->atLineStart && $channel !== $this->lastChannel ) {