Extension:Whoops
Appearance
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 |
| 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
Whoopsfolder to yourextensions/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-devin the extension directory. (See T173141 for potential complications.) - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'Whoops' );
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
