MediaWiki REL1_33
|
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 |
$wgSQLMode = 'TRADITIONAL' | |
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.
$logDir = getenv( 'MW_LOG_DIR' ) |
Definition at line 43 of file DevelopmentSettings.php.
global $wgCommandLineMode |
Definition at line 29 of file DevelopmentSettings.php.
Referenced by DeferredUpdates\addUpdate(), MWLBFactory\applyDefaultConfig(), Maintenance\finalSetup(), RequestContext\getRequest(), MWHttpRequest\isLocalURL(), Maintenance\loadSettings(), ObjectCache\newWANCacheFromParams(), DatabaseUpdater\output(), Maintenance\setup(), Maintenance\shouldExecute(), MWExceptionTest\testisCommandLine(), and wfBacktrace().
global $wgDBerrorLog |
Definition at line 29 of file DevelopmentSettings.php.
global $wgDebugComments |
Definition at line 28 of file DevelopmentSettings.php.
global $wgDebugDumpSql |
Definition at line 28 of file DevelopmentSettings.php.
global $wgDebugLogFile |
Definition at line 29 of file DevelopmentSettings.php.
global $wgDebugLogGroups |
Definition at line 29 of file DevelopmentSettings.php.
$wgDebugRawPage = true |
Definition at line 28 of file DevelopmentSettings.php.
global $wgDebugTimestamps |
Definition at line 28 of file DevelopmentSettings.php.
$wgDevelopmentWarnings = true |
Debugging: MediaWiki.
Definition at line 27 of file DevelopmentSettings.php.
$wgRateLimits = [] |
Definition at line 58 of file DevelopmentSettings.php.
$wgShowExceptionDetails = true |
Definition at line 27 of file DevelopmentSettings.php.
$wgShowHostnames = true |
Definition at line 27 of file DevelopmentSettings.php.
$wgSQLMode = 'TRADITIONAL' |
Definition at line 40 of file DevelopmentSettings.php.