X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fcache%2FLinkCache.php;h=80181179e458da014f5df3eff3f14d4c448adf92;hp=1bcf948d2df31d9a583ce2165982a9943bbf1251;hb=6cfb2e3d7a2b96d5041312fcec88248bb46573d7;hpb=1bd43b1bffffc3720e1ef743d802e88fdf849b0f 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