r62303 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62302‎ | r62303 | r62304 >
Date:14:17, 11 February 2010
Author:emil
Status:ok
Tags:
Comment:
individual message cache entries should start with ' ', also in memcached
Modified paths:
  • /trunk/phase3/includes/MessageCache.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/MessageCache.php
@@ -635,7 +635,7 @@
636636 $message = $revision->getText();
637637 if ($this->mUseCache) {
638638 $this->mCache[$code][$title] = ' ' . $message;
639 - $this->mMemc->set( $titleKey, $message, $this->mExpiry );
 639+ $this->mMemc->set( $titleKey, ' ' . $message, $this->mExpiry );
640640 }
641641 } else {
642642 # Negative caching

Status & tagging log