Jump to content

Extension:Sentry

From mediawiki.org
MediaWiki extensions manual
Sentry
Release status: unmaintained
Description Provides Sentry integration
Author(s) Gergő Tisza (Tgrtalk)
Latest version 0.1
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki >= 1.33.0
License MIT License
Download
  • $wgSentryLogOnError
  • $wgSentryLogPhpErrors
  • $wgSentryWhitelist
Quarterly downloads 2 (Ranked 136th)
Translate the Sentry extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The Sentry extension allows to report MediaWiki's JavaScript errors to Sentry.

Installing / Configuration

[edit]
  • Download and move the extracted Sentry 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/Sentry
  • 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( 'Sentry' );
    $wgSentryDsn = '//65ef8deac2c89cda6851d5502936ae74@sentry.example.com/1'; // API key generated by Sentry
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See also

[edit]