}
# Try the global cache
- $memcKey = wfMemcKey('localisation', $code );
- $fbMemcKey = wfMemcKey('fallback', $cache['fallback'] );
+
+ $memcKey = wfMemcKeyLang( wfMemcKey('localisation'), $code );
+ $fbMemcKey = wfMemcKeyLang( wfMemcKey('fallback'), $cache['fallback'] );
$cache = $wgMemc->get( $memcKey );
if ( $cache ) {
if ( self::isLocalisationOutOfDate( $cache ) ) {
// Try memcache
global $wgMemc;
- $memcKey = wfMemcKey( 'fallback', $code );
+ $memcKey = wfMemcKeyLang( wfMemcKey('fallback'), $code );
$fbcode = $wgMemc->get( $memcKey );
if ( is_string($fbcode) ) {