dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02e9220
)
Add NS_MEDIAWIKI to LinkCache::isCacheable() to help MessageBlobStore cache regeneration
author
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 10 Jul 2019 22:18:48 +0000
(15:18 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 10 Jul 2019 22:18:48 +0000
(15:18 -0700)
Change-Id: I55550a0ea5b9db0c87a67bb8bc06e846db58b9fe
includes/cache/LinkCache.php
patch
|
blob
|
history
diff --git
a/includes/cache/LinkCache.php
b/includes/cache/LinkCache.php
index
1bcf948
..
8018117
100644
(file)
--- 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