Extension:Whoops

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
Whoops
Release status: experimental
Implementation User interface
Description Integrates the whoops exception rendering library into the wiki.
Author(s) User:Tgr
Latest version 0.1.0 (2017-06-01)
Compatibility policy release branches
MediaWiki 1.29
PHP 5.3+
Database changes No
License GNU General Public License 2.0 or later
Download
README
Translate the Whoops extension if it is available at translatewiki.net
Check usage and version matrix.
Vagrant role whoops
Issues Open tasks · Report a bug

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

Download[edit]

  • If using Vagrant , install with vagrant roles enable whoops --provision
Manual installation
  • Download and place the file(s) in a directory called Whoops in your extensions/ folder.
  • Run Composer to install PHP dependencies, by issuing composer install --no-dev in the extension directory. (See T173141 for potential complications.)
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'Whoops' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.