From 9a18e978ccaf4e11752333faf0f817b3cf9aa221 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Mon, 7 Jul 2008 18:20:39 +0000 Subject: [PATCH] Better cache key name, better debug output. --- includes/filerepo/File.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/filerepo/File.php b/includes/filerepo/File.php index b352235411..64b48e0aef 100644 --- a/includes/filerepo/File.php +++ b/includes/filerepo/File.php @@ -1069,8 +1069,8 @@ abstract class File { $renderUrl = $this->repo->getDescriptionRenderUrl( $this->getName() ); if ( $renderUrl ) { if ( $this->repo->descriptionCacheExpiry > 0 ) { - wfDebug("Attempting to get the description from the transwiki cache..."); - $key = wfMemcKey( 'filedesc', 'url', md5($renderUrl)); + wfDebug("Attempting to get the description from cache..."); + $key = wfMemcKey( 'RemoteFileDescription', 'url', md5($renderUrl) ); $obj = $wgMemc->get($key); if ($obj) { wfDebug("success!\n"); -- 2.20.1