MediaWiki master
|
Extra settings useful for MediaWiki development. More...
Go to the source code of this file.
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";
Definition in file DevelopmentSettings.php.
$logDir = getenv( 'MW_LOG_DIR' ) |
Definition at line 58 of file DevelopmentSettings.php.
global $wgAutoCreateTempUser |
Definition at line 157 of file DevelopmentSettings.php.
$wgAutoCreateTempUser[ 'enabled'] = true |
Definition at line 189 of file DevelopmentSettings.php.
$wgCacheDirectory |
Definition at line 156 of file DevelopmentSettings.php.
$wgCiteBookReferencing = true |
Definition at line 155 of file DevelopmentSettings.php.
if (MW_ENTRY_POINT==='index') global $wgDBerrorLog |
Definition at line 48 of file DevelopmentSettings.php.
$wgDBStrictWarnings = true |
Definition at line 155 of file DevelopmentSettings.php.
if (MW_ENTRY_POINT==='index') global $wgDebugLogFile |
Definition at line 47 of file DevelopmentSettings.php.
if (MW_ENTRY_POINT==='index') global $wgDebugLogGroups |
Definition at line 48 of file DevelopmentSettings.php.
global $wgDefaultUserOptions |
Definition at line 157 of file DevelopmentSettings.php.
$wgDefaultUserOptions[ 'visualeditor-newwikitext'] = 0 |
Definition at line 186 of file DevelopmentSettings.php.
$wgDevelopmentWarnings = true |
Debugging for MediaWiki.
Definition at line 46 of file DevelopmentSettings.php.
foreach ($wgRateLimits as $right=> & $limit $wgEnableJavaScriptTest) = true |
Definition at line 100 of file DevelopmentSettings.php.
$wgEnableUploads = true |
Definition at line 156 of file DevelopmentSettings.php.
$wgForceDeferredUpdatesPreSend = true |
Definition at line 101 of file DevelopmentSettings.php.
global $wgLocalisationCacheConf |
Definition at line 155 of file DevelopmentSettings.php.
$wgLocalisationCacheConf[ 'store'] = 'array' |
Definition at line 164 of file DevelopmentSettings.php.
$wgMaxArticleSize = 20 |
Definition at line 102 of file DevelopmentSettings.php.
global $wgParsoidSettings |
Definition at line 102 of file DevelopmentSettings.php.
$wgParsoidSettings[ 'html2wtLimits'][ 'htmlSize'] = 100 * 1024 |
Definition at line 140 of file DevelopmentSettings.php.
$wgParsoidSettings[ 'wt2htmlLimits'][ 'wikitextSize'] = 20 * 1024 |
Definition at line 139 of file DevelopmentSettings.php.
$wgPasswordAttemptThrottle |
Definition at line 101 of file DevelopmentSettings.php.
global $wgRateLimits |
Make testing possible (or easier)
Definition at line 100 of file DevelopmentSettings.php.
global $wgRestAPIAdditionalRouteFiles |
Definition at line 100 of file DevelopmentSettings.php.
$wgRestAPIAdditionalRouteFiles[] = 'includes/Rest/coreDevelopmentRoutes.json' |
Definition at line 118 of file DevelopmentSettings.php.
$wgShowExceptionDetails = true |
Definition at line 46 of file DevelopmentSettings.php.
$wgShowHostnames = true |
Definition at line 46 of file DevelopmentSettings.php.
$wgSQLMode = 'STRICT_ALL_TABLES,ONLY_FULL_GROUP_BY' |
Experimental changes that may later become the default.
(Must reference a Phabricator ticket)
Definition at line 155 of file DevelopmentSettings.php.
$wgTempAccountCreationThrottle = [] |
Definition at line 147 of file DevelopmentSettings.php.
$wgTempAccountNameAcquisitionThrottle = [] |
Definition at line 148 of file DevelopmentSettings.php.
$wgUsePigLatinVariant = true |
Definition at line 156 of file DevelopmentSettings.php.
$wgUseXssLanguage = true |
Definition at line 181 of file DevelopmentSettings.php.
$wgVisualEditorEnableWikitext = true |
Definition at line 157 of file DevelopmentSettings.php.
$wgVueDevelopmentMode = true |
Definition at line 143 of file DevelopmentSettings.php.