|
MediaWiki REL1_35
|
Extra settings useful for MediaWiki development. More...
Go to the source code of this file.
Variables | |
| $logDir = getenv( 'MW_LOG_DIR' ) | |
| $wgCacheDirectory | |
| global | $wgCiteBookReferencing = true |
| global | $wgCommandLineMode |
| global | $wgDBerrorLog |
| global | $wgDebugLogFile |
| global | $wgDebugLogGroups |
| global | $wgDebugRawPage = true |
| global | $wgDevelopmentWarnings = true |
| Debugging for MediaWiki. | |
| $wgEnableJavaScriptTest = true | |
| global | $wgLegacyJavaScriptGlobals = false |
| global | $wgLocalisationCacheConf |
| $wgLocalisationCacheConf ['store'] = 'array' | |
| global | $wgRateLimits = [] |
| Make testing possible (or easier) | |
| $wgRestAPIAdditionalRouteFiles = [ 'includes/Rest/coreDevelopmentRoutes.json' ] | |
| global | $wgShowExceptionDetails = true |
| global | $wgShowHostnames = true |
| global | $wgSQLMode = 'TRADITIONAL' |
| Experimental changes that may later become the default. | |
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 41 of file DevelopmentSettings.php.
| $wgCacheDirectory |
Definition at line 94 of file DevelopmentSettings.php.
| $wgCiteBookReferencing = true |
Definition at line 89 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(), DatabaseUpdater\output(), MWDebug\setup(), Maintenance\setup(), Maintenance\shouldExecute(), and wfBacktrace().
| global $wgDBerrorLog |
Definition at line 30 of file DevelopmentSettings.php.
| global $wgDebugLogFile |
Definition at line 29 of file DevelopmentSettings.php.
| global $wgDebugLogGroups |
Definition at line 30 of file DevelopmentSettings.php.
| $wgDebugRawPage = true |
Definition at line 29 of file DevelopmentSettings.php.
| $wgDevelopmentWarnings = true |
Debugging for MediaWiki.
Definition at line 28 of file DevelopmentSettings.php.
| $wgEnableJavaScriptTest = true |
Definition at line 67 of file DevelopmentSettings.php.
| $wgLegacyJavaScriptGlobals = false |
Definition at line 77 of file DevelopmentSettings.php.
| global $wgLocalisationCacheConf |
Definition at line 30 of file DevelopmentSettings.php.
| $wgLocalisationCacheConf[ 'store'] = 'array' |
Definition at line 86 of file DevelopmentSettings.php.
| $wgRateLimits = [] |
Make testing possible (or easier)
Definition at line 59 of file DevelopmentSettings.php.
| $wgRestAPIAdditionalRouteFiles = [ 'includes/Rest/coreDevelopmentRoutes.json' ] |
Definition at line 70 of file DevelopmentSettings.php.
| $wgShowExceptionDetails = true |
Definition at line 28 of file DevelopmentSettings.php.
| $wgShowHostnames = true |
Definition at line 28 of file DevelopmentSettings.php.
| $wgSQLMode = 'TRADITIONAL' |
Experimental changes that may later become the default.
(Must reference a Phabricator ticket)
Definition at line 77 of file DevelopmentSettings.php.