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:
4c7cd24
)
Unbreak file caching
author
Aaron Schulz
<aschulz@wikimedia.org>
Sat, 30 Jul 2016 03:03:24 +0000
(20:03 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Sat, 30 Jul 2016 03:03:24 +0000
(20:03 -0700)
This was totally broken by
796d62d0
Change-Id: I34ee08e926117b9472151d9fd415c1dfc6a57de1
includes/cache/HTMLFileCache.php
patch
|
blob
|
history
diff --git
a/includes/cache/HTMLFileCache.php
b/includes/cache/HTMLFileCache.php
index
bb78aa0
..
ea2e20b
100644
(file)
--- a/
includes/cache/HTMLFileCache.php
+++ b/
includes/cache/HTMLFileCache.php
@@
-127,7
+127,7
@@
class HTMLFileCache extends FileCacheBase {
$ulang = $context->getLanguage();
// Check that there are no other sources of variation
- if ( $user->getId() || $user->getNewtalk() || $ulang->equals( $wgContLang ) ) {
+ if ( $user->getId() || $user->getNewtalk() ||
!
$ulang->equals( $wgContLang ) ) {
return false;
}
// Allow extensions to disable caching