MediaWiki  master
DevelopmentSettings.php File Reference

Extra settings useful for MediaWiki development. More...

Go to the source code of this file.

Variables

 $logDir = getenv( 'MW_LOG_DIR' )
 
global $wgCommandLineMode
 
global $wgDBerrorLog
 
global $wgDebugLogFile
 
global $wgDebugLogGroups
 
global $wgDebugRawPage = true
 
global $wgDevelopmentWarnings = true
 Debugging: MediaWiki. More...
 
global $wgShowExceptionDetails = true
 
global $wgShowHostnames = true
 
global $wgSQLMode = 'TRADITIONAL'
 

Detailed Description

Extra settings useful for MediaWiki development.

To enable built-in debug and development settings, add the following to your LocalSettings.php file.

require "$IP/includes/DevelopmentSettings.php";

Alternatively, if running phpunit.php (or another Maintenance script), you can use the –mwdebug option to automatically load these settings.

Definition in file DevelopmentSettings.php.

Variable Documentation

◆ $logDir

$logDir = getenv( 'MW_LOG_DIR' )

Definition at line 43 of file DevelopmentSettings.php.

◆ $wgCommandLineMode

◆ $wgDBerrorLog

global $wgDBerrorLog

Definition at line 27 of file DevelopmentSettings.php.

◆ $wgDebugLogFile

global $wgDebugLogFile

Definition at line 27 of file DevelopmentSettings.php.

◆ $wgDebugLogGroups

global $wgDebugLogGroups

Definition at line 27 of file DevelopmentSettings.php.

◆ $wgDebugRawPage

$wgDebugRawPage = true

Definition at line 27 of file DevelopmentSettings.php.

◆ $wgDevelopmentWarnings

$wgDevelopmentWarnings = true

Debugging: MediaWiki.

Definition at line 27 of file DevelopmentSettings.php.

◆ $wgShowExceptionDetails

$wgShowExceptionDetails = true

Definition at line 27 of file DevelopmentSettings.php.

◆ $wgShowHostnames

$wgShowHostnames = true

Definition at line 27 of file DevelopmentSettings.php.

◆ $wgSQLMode

$wgSQLMode = 'TRADITIONAL'

Definition at line 27 of file DevelopmentSettings.php.