From 2461522f1ca232e0944182af9f464d9219b9720f Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 27 Apr 2007 16:36:34 +0000 Subject: [PATCH] Fix MessageCache issue which caused the MediaWiki namespace to be ignored on the second call to wfMsg() for the same key. --- includes/MessageCache.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/MessageCache.php b/includes/MessageCache.php index 319b9f6055..45fad81263 100644 --- a/includes/MessageCache.php +++ b/includes/MessageCache.php @@ -544,8 +544,7 @@ class MessageCache { $type = substr( $entry, 0, 1 ); if ( $type == ' ' ) { - $message = substr( $entry, 1 ); - $this->mCache[$title] = $message; + $this->mCache[$title] = $entry; return $message; } elseif ( $entry == '!NONEXISTENT' ) { return false; -- 2.20.1