From: Aaron Schulz Date: Wed, 10 Jul 2019 22:18:48 +0000 (-0700) Subject: Add NS_MEDIAWIKI to LinkCache::isCacheable() to help MessageBlobStore cache regeneration X-Git-Tag: 1.34.0-rc.0~1059^2 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=ebc8342d531fc02a370ba682974f003d5edcf054;p=lhc%2Fweb%2Fwiklou.git Add NS_MEDIAWIKI to LinkCache::isCacheable() to help MessageBlobStore cache regeneration Change-Id: I55550a0ea5b9db0c87a67bb8bc06e846db58b9fe --- diff --git a/includes/cache/LinkCache.php b/includes/cache/LinkCache.php index 1bcf948d2d..80181179e4 100644 --- a/includes/cache/LinkCache.php +++ b/includes/cache/LinkCache.php @@ -306,7 +306,7 @@ class LinkCache { private function isCacheable( LinkTarget $title ) { $ns = $title->getNamespace(); - if ( in_array( $ns, [ NS_TEMPLATE, NS_FILE, NS_CATEGORY ] ) ) { + if ( in_array( $ns, [ NS_TEMPLATE, NS_FILE, NS_CATEGORY, NS_MEDIAWIKI ] ) ) { return true; } // Focus on transcluded pages more than the main content