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 @@
124124 global $wgMemc;
125125 $key = wfMemcKey( 'interwiki', $prefix );
126126 $mc = $wgMemc->get( $key );
127 - if( $mc ){
 127+ if( $mc && is_array( $mc ) ){ // is_array is hack for old keys
128128 if( $this->loadFromArray( $mc ) ){
129129 wfDebug("Succeeded\n");
130130 return true;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r41377New format for accessing Interwiki data. Replaced all old ways within core I ...mattj10:08, 29 September 2008

Status & tagging log