Last modified: 2011-03-13 18:06:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13508 - php errors are gone
php errors are gone
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Lowest trivial (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-25 21:04 UTC by Carl Fürstenberg
Modified: 2011-03-13 18:06 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Carl Fürstenberg 2008-03-25 21:04:26 UTC
Somewhere, deep down the layers of code in the api, there is a little monster, called fluffy, who has a habit of eating upp all php notices generated by PHP, even when html formated output is generated.
Comment 1 Roan Kattouw 2008-03-26 14:02:33 UTC
I found Fluffy: it's the ob_clean() call in ApiMain::executeActionWithErrorHandling(). It doesn't eat all error messages, only those that happen before ApiBase::dieUsage() is called (which happens on error or action=help). For non-fm formats, it doesn't eat errors, but it should.

The former can't really be fixed as we need to ob_clean() any output that might have happened before the dieUsage() call. The latter has been fixed in r32467.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links