r41378 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r41377
|
r41378
|
r41379
>
Date:
10:14, 29 September 2008
Author:
mattj
Status:
old
Tags:
Comment:
Fix
r41377
- Incompatible old keys caused Fatal Error
Modified paths:
/trunk/phase3/includes/Interwiki.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/Interwiki.php
—
—
@@ -123,7 +123,7 @@
124
124
global $wgMemc;
125
125
$key = wfMemcKey( 'interwiki', $prefix );
126
126
$mc = $wgMemc->get( $key );
127
- if( $mc ){
127
+ if( $mc && is_array( $mc ) ){ // is_array is hack for old keys
128
128
if( $this->loadFromArray( $mc ) ){
129
129
wfDebug("Succeeded\n");
130
130
return true;
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r41377
New format for accessing Interwiki data. Replaced all old ways within core I ...
mattj
10:08, 29 September 2008
Status & tagging log
15:32, 12 September 2011
Meno25
(
talk
|
contribs
)
changed the
status
of r41378
[
removed:
ok
added:
old]