Extension:Whoops

Whoops integrates the whoops library into MediaWiki, in order to show nice stack traces on errors.