individual message cache entries should start with ' ', also in memcached
authorEmil Podlaszewski <emil@users.mediawiki.org>
Thu, 11 Feb 2010 14:17:22 +0000 (14:17 +0000)
committerEmil Podlaszewski <emil@users.mediawiki.org>
Thu, 11 Feb 2010 14:17:22 +0000 (14:17 +0000)
includes/MessageCache.php

index d48bc6c..2c53430 100644 (file)
@@ -635,7 +635,7 @@ class MessageCache {
                        $message = $revision->getText();
                        if ($this->mUseCache) {
                                $this->mCache[$code][$title] = ' ' . $message;
-                               $this->mMemc->set( $titleKey, $message, $this->mExpiry );
+                               $this->mMemc->set( $titleKey, ' ' . $message, $this->mExpiry );
                        }
                } else {
                        # Negative caching