From: Chad Horohoe Date: Mon, 7 Jul 2008 18:20:39 +0000 (+0000) Subject: Better cache key name, better debug output. X-Git-Tag: 1.31.0-rc.0~46650 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/fiche.php?a=commitdiff_plain;h=9a18e978ccaf4e11752333faf0f817b3cf9aa221;p=lhc%2Fweb%2Fwiklou.git Better cache key name, better debug output. --- 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");