dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Type hint against LinkTarget in WatchedItemStore"
[lhc/web/wiklou.git]
/
includes
/
cache
/
LinkCache.php
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();
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
return true;
}
// Focus on transcluded pages more than the main content