dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "User: Avoid deprecated Linker::link()"
[lhc/web/wiklou.git]
/
includes
/
parser
/
ParserCache.php
diff --git
a/includes/parser/ParserCache.php
b/includes/parser/ParserCache.php
index
f76c0b5
..
76a7e1e
100644
(file)
--- a/
includes/parser/ParserCache.php
+++ b/
includes/parser/ParserCache.php
@@
-67,7
+67,7
@@
class ParserCache {
$pageid = $article->getId();
$renderkey = (int)( $wgRequest->getVal( 'action' ) == 'render' );
$pageid = $article->getId();
$renderkey = (int)( $wgRequest->getVal( 'action' ) == 'render' );
- $key =
wfMemc
Key( 'pcache', 'idhash', "{$pageid}-{$renderkey}!{$hash}" );
+ $key =
$this->mMemc->make
Key( 'pcache', 'idhash', "{$pageid}-{$renderkey}!{$hash}" );
return $key;
}
return $key;
}
@@
-76,7
+76,7
@@
class ParserCache {
* @return mixed|string
*/
protected function getOptionsKey( $page ) {
* @return mixed|string
*/
protected function getOptionsKey( $page ) {
- return
wfMemc
Key( 'pcache', 'idoptions', $page->getId() );
+ return
$this->mMemc->make
Key( 'pcache', 'idoptions', $page->getId() );
}
/**
}
/**