User "Tim Starling" posted a comment on MediaWiki.r101644.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/101644#c25875
Commit summary:

(bug 31822) Error during upgrade due to output buffer reset in stdout.

In various places in Maintenance, we're overwriting our output buffer rather 
than appending to it. This doesn't matter too much in the CLI, but it can 
corrupt headers when upgrading from the web. Thanks Woozle for pointing this 
out.

Comment:

You could switch based on php_sapi_name(). Even if you could write to stderr in 
the web mode, you wouldn't want to.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to