MediaWiki master
|
Extra settings useful for MediaWiki development. More...
Go to the source code of this file.
Variables | |
$logDir = getenv( 'MW_LOG_DIR' ) | |
global | $wgCacheDirectory |
global | $wgCiteBookReferencing = true |
if(MW_ENTRY_POINT==='index') global | $wgDBerrorLog |
global | $wgDBStrictWarnings = true |
if(MW_ENTRY_POINT==='index') global | $wgDebugLogFile |
if(MW_ENTRY_POINT==='index') global | $wgDebugLogGroups |
global | $wgDefaultUserOptions |
$wgDefaultUserOptions ['visualeditor-newwikitext'] = 0 | |
if(MW_ENTRY_POINT==='index') global | $wgDevelopmentWarnings = true |
Debugging for MediaWiki. | |
global | $wgEnableJavaScriptTest = true |
global | $wgEnableUploads = true |
global | $wgForceDeferredUpdatesPreSend = true |
global | $wgLocalisationCacheConf |
$wgLocalisationCacheConf ['store'] = 'array' | |
global | $wgMaxArticleSize = 20 |
global | $wgParsoidSettings |
$wgParsoidSettings ['html2wtLimits']['htmlSize'] = 100 * 1024 | |
$wgParsoidSettings ['wt2htmlLimits']['wikitextSize'] = 20 * 1024 | |
global | $wgPasswordAttemptThrottle |
global | $wgRateLimits |
Make testing possible (or easier) | |
global | $wgRestAPIAdditionalRouteFiles |
$wgRestAPIAdditionalRouteFiles [] = 'includes/Rest/coreDevelopmentRoutes.json' | |
if(MW_ENTRY_POINT==='index') global | $wgShowExceptionDetails = true |
if(MW_ENTRY_POINT==='index') global | $wgShowHostnames = true |
global | $wgSQLMode = 'STRICT_ALL_TABLES,ONLY_FULL_GROUP_BY' |
Experimental changes that may later become the default. | |
global | $wgUsePigLatinVariant = true |
$wgUseXssLanguage = true | |
global | $wgVisualEditorEnableWikitext = true |
$wgVueDevelopmentMode = true | |
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 56 of file DevelopmentSettings.php.
$wgCacheDirectory |
Definition at line 126 of file DevelopmentSettings.php.
$wgCiteBookReferencing = true |
Definition at line 125 of file DevelopmentSettings.php.
if (MW_ENTRY_POINT==='index') global $wgDBerrorLog |
Definition at line 46 of file DevelopmentSettings.php.
$wgDBStrictWarnings = true |
Definition at line 125 of file DevelopmentSettings.php.
if (MW_ENTRY_POINT==='index') global $wgDebugLogFile |
Definition at line 45 of file DevelopmentSettings.php.
if (MW_ENTRY_POINT==='index') global $wgDebugLogGroups |
Definition at line 46 of file DevelopmentSettings.php.
global $wgDefaultUserOptions |
Definition at line 127 of file DevelopmentSettings.php.
$wgDefaultUserOptions[ 'visualeditor-newwikitext'] = 0 |
Definition at line 156 of file DevelopmentSettings.php.
$wgDevelopmentWarnings = true |
Debugging for MediaWiki.
Definition at line 44 of file DevelopmentSettings.php.
foreach ($wgRateLimits as $right=> & $limit $wgEnableJavaScriptTest) = true |
Definition at line 77 of file DevelopmentSettings.php.
$wgEnableUploads = true |
Definition at line 126 of file DevelopmentSettings.php.
$wgForceDeferredUpdatesPreSend = true |
Definition at line 78 of file DevelopmentSettings.php.
global $wgLocalisationCacheConf |
Definition at line 125 of file DevelopmentSettings.php.
$wgLocalisationCacheConf[ 'store'] = 'array' |
Definition at line 134 of file DevelopmentSettings.php.
$wgMaxArticleSize = 20 |
Definition at line 79 of file DevelopmentSettings.php.
global $wgParsoidSettings |
Definition at line 79 of file DevelopmentSettings.php.
$wgParsoidSettings[ 'html2wtLimits'][ 'htmlSize'] = 100 * 1024 |
Definition at line 115 of file DevelopmentSettings.php.
$wgParsoidSettings[ 'wt2htmlLimits'][ 'wikitextSize'] = 20 * 1024 |
Definition at line 114 of file DevelopmentSettings.php.
$wgPasswordAttemptThrottle |
Definition at line 78 of file DevelopmentSettings.php.
global $wgRateLimits |
Make testing possible (or easier)
Definition at line 77 of file DevelopmentSettings.php.
global $wgRestAPIAdditionalRouteFiles |
Definition at line 77 of file DevelopmentSettings.php.
$wgRestAPIAdditionalRouteFiles[] = 'includes/Rest/coreDevelopmentRoutes.json' |
Definition at line 95 of file DevelopmentSettings.php.
$wgShowExceptionDetails = true |
Definition at line 44 of file DevelopmentSettings.php.
$wgShowHostnames = true |
Definition at line 44 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 125 of file DevelopmentSettings.php.
$wgUsePigLatinVariant = true |
Definition at line 126 of file DevelopmentSettings.php.
$wgUseXssLanguage = true |
Definition at line 151 of file DevelopmentSettings.php.
$wgVisualEditorEnableWikitext = true |
Definition at line 127 of file DevelopmentSettings.php.
$wgVueDevelopmentMode = true |
Definition at line 118 of file DevelopmentSettings.php.