Wikia code/includes/Interwiki.php
< Wikia code | includes
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. The information shown below refers to the now unmaintained 1.16 MediaWiki release. The current stable release number is 1.42.1. |
--- D:\Programming\SVN\mediawiki\branches\REL1_16\phase3\includes\Interwiki.php 2011-07-18 22:31:27.977539100 +0100
+++ D:\Programming\SVN\wikia\trunk\includes\Interwiki.php 2011-08-17 15:28:46.339843700 +0100
@@ -137,7 +137,9 @@
*/
protected static function load( $prefix ) {
global $wgMemc, $wgInterwikiExpiry;
- $key = wfMemcKey( 'interwiki', $prefix );
+
+ # temporary fix RT#15123
+ $key = wfMemcKey( 'interwiki', md5($prefix) );
$mc = $wgMemc->get( $key );
$iw = false;
if( $mc && is_array( $mc ) ) { // is_array is hack for old keys