Extension:Whoops

From mediawiki.org
MediaWiki extensions manual
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 Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.29
PHP 5.3+
Database changes No
License GNU General Public License 2.0 or later
Download
README
Quarterly downloads 0
Translate the Whoops extension if it is available at translatewiki.net
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]

  • Download and move the extracted Whoops folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Whoops
  • Only when installing from Git, run Composer to install PHP dependencies, by issuing composer install --no-dev in the extension directory. (See task T173141 for potential complications.)
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'Whoops' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


Vagrant installation:

  • If using Vagrant , install with vagrant roles enable whoops --provision