dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24482a5
)
Better cache key name, better debug output.
author
Chad Horohoe
<demon@users.mediawiki.org>
Mon, 7 Jul 2008 18:20:39 +0000
(18:20 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Mon, 7 Jul 2008 18:20:39 +0000
(18:20 +0000)
includes/filerepo/File.php
patch
|
blob
|
history
diff --git
a/includes/filerepo/File.php
b/includes/filerepo/File.php
index
b352235
..
64b48e0
100644
(file)
--- 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");