From: Timo Tijhof Date: Sat, 26 Jan 2019 05:05:21 +0000 (-0800) Subject: Remove deprecated wgEnableParserCache X-Git-Tag: 1.34.0-rc.0~2984^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=d39cc0e88575e96d8dcc7688b4d751d81293a260 Remove deprecated wgEnableParserCache One less thing to do in Setup.php. Bug: T189966 Change-Id: Ie9b631897fda51f6db9fc4d634bcbd6bf865dfc9 --- diff --git a/RELEASE-NOTES-1.33 b/RELEASE-NOTES-1.33 index 03a4a67387..ad343a229d 100644 --- a/RELEASE-NOTES-1.33 +++ b/RELEASE-NOTES-1.33 @@ -30,6 +30,9 @@ production. $wgTidyConf, $wgTidyOpts, $wgTidyInternal, and $wgDebugTidy, all deprecated since 1.26, have now all been removed. The $wgTidyConfig setting remains only for Remex experimental features or debugging. +* $wgEnableParserCache, deprecated since 1.26, was removed. + If disabling the parser cache is still desirable, + set `$wgParserCacheType = CACHE_NONE;` instead. === New features in 1.33 === * (T96041) __EXPECTUNUSEDCATEGORY__ on a category page causes the category diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 9df4ab67f0..00ccc960f3 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2660,12 +2660,6 @@ $wgUseFileCache = false; */ $wgFileCacheDepth = 2; -/** - * Kept for extension compatibility; see $wgParserCacheType - * @deprecated since 1.26 - */ -$wgEnableParserCache = true; - /** * Append a configured value to the parser cache and the sitenotice key so * that they can be kept separate for some class of activity. diff --git a/includes/Setup.php b/includes/Setup.php index 4ebe426b0a..23342e934e 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -194,10 +194,6 @@ if ( $wgGitInfoCacheDirectory === false && $wgCacheDirectory !== false ) { $wgGitInfoCacheDirectory = "{$wgCacheDirectory}/gitinfo"; } -if ( $wgEnableParserCache === false ) { - $wgParserCacheType = CACHE_NONE; -} - // Fix path to icon images after they were moved in 1.24 if ( $wgRightsIcon ) { $wgRightsIcon = str_replace(