Add NS_MEDIAWIKI to LinkCache::isCacheable() to help MessageBlobStore cache regeneration
Change-Id: I55550a0ea5b9db0c87a67bb8bc06e846db58b9fe
This commit is contained in:
parent
02e9220745
commit
ebc8342d53
1 changed files with 1 additions and 1 deletions
2
includes/cache/LinkCache.php
vendored
2
includes/cache/LinkCache.php
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue