Self Hosted:MediaWiki

From jrgnsn.net Wiki
Jump to navigation Jump to search

Configuration

SMTP

MediaWiki has a few examples that got me started: mediawikiwiki:Manual:$wgSMTP#Examples.

Here's a sample configuration for FastMail:

$wgSMTP = [
    'host'      => 'smtp.fastmail.com',
    'IDHost'    => 'YOURDOMAIN',
    'port'      => 587,
    'auth'      => true,
    'username'  => 'USERNAME',
    'password'  => 'PASSWORD'
];

Debugging

Add the following to the top of your LocalSettings.php:

error_reporting( -1 );
ini_set( 'display_errors', 1 );
$wgShowExceptionDetails = true;