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:
1ed330d
)
FU r98109: !EMPTY -> !NONEXISTENT (more consistent with elsewhere)
author
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 26 Sep 2011 22:46:40 +0000
(22:46 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 26 Sep 2011 22:46:40 +0000
(22:46 +0000)
includes/interwiki/Interwiki.php
patch
|
blob
|
history
diff --git
a/includes/interwiki/Interwiki.php
b/includes/interwiki/Interwiki.php
index
f19919f
..
fa7e681
100644
(file)
--- a/
includes/interwiki/Interwiki.php
+++ b/
includes/interwiki/Interwiki.php
@@
-151,7
+151,7
@@
class Interwiki {
if ( !$iwData ) {
$key = wfMemcKey( 'interwiki', $prefix );
$iwData = $wgMemc->get( $key );
- if ( $iwData === '!
EMPTY
' ) {
+ if ( $iwData === '!
NONEXISTENT
' ) {
return false; // negative cache hit
}
}
@@
-179,7
+179,7
@@
class Interwiki {
$wgMemc->add( $key, $mc, $wgInterwikiExpiry );
return $iw;
} else {
- $wgMemc->add( $key, '!
EMPTY
', $wgInterwikiExpiry ); // negative cache hit
+ $wgMemc->add( $key, '!
NONEXISTENT
', $wgInterwikiExpiry ); // negative cache hit
}
return false;