MediaWiki REL1_32
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.
 
 $wgRateLimits = []
 
global $wgShowExceptionDetails = true
 
global $wgShowHostnames = true
 

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 40 of file DevelopmentSettings.php.

◆ $wgCommandLineMode

◆ $wgDBerrorLog

global $wgDBerrorLog

Definition at line 29 of file DevelopmentSettings.php.

◆ $wgDebugComments

global $wgDebugComments

Definition at line 28 of file DevelopmentSettings.php.

◆ $wgDebugDumpSql

global $wgDebugDumpSql

Definition at line 28 of file DevelopmentSettings.php.

◆ $wgDebugLogFile

global $wgDebugLogFile

Definition at line 29 of file DevelopmentSettings.php.

◆ $wgDebugLogGroups

global $wgDebugLogGroups

Definition at line 29 of file DevelopmentSettings.php.

◆ $wgDebugRawPage

$wgDebugRawPage = true

Definition at line 28 of file DevelopmentSettings.php.

◆ $wgDebugTimestamps

global $wgDebugTimestamps

Definition at line 28 of file DevelopmentSettings.php.

◆ $wgDevelopmentWarnings

$wgDevelopmentWarnings = true

Debugging: MediaWiki.

Definition at line 27 of file DevelopmentSettings.php.

◆ $wgRateLimits

$wgRateLimits = []

Definition at line 55 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.