MediaWiki  1.33.0
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 $wgDebugComments
 
global $wgDebugDumpSql
 
global $wgDebugLogFile
 
global $wgDebugLogGroups
 
global $wgDebugRawPage = true
 
global $wgDebugTimestamps
 
global $wgDevelopmentWarnings = true
 Debugging: MediaWiki. More...
 
 $wgRateLimits = []
 
global $wgShowExceptionDetails = true
 
global $wgShowHostnames = true
 
 $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.

◆ $wgDebugComments

global $wgDebugComments

Definition at line 27 of file DevelopmentSettings.php.

◆ $wgDebugDumpSql

global $wgDebugDumpSql

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.

◆ $wgDebugTimestamps

global $wgDebugTimestamps

Definition at line 27 of file DevelopmentSettings.php.

◆ $wgDevelopmentWarnings

$wgDevelopmentWarnings = true

Debugging: MediaWiki.

Definition at line 27 of file DevelopmentSettings.php.

◆ $wgRateLimits

$wgRateLimits = []

Definition at line 58 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 40 of file DevelopmentSettings.php.