Hash titles and long option strings in cache keys

Change-Id: Ida74d0bc3693b76956711c848022da3b17937d53
This commit is contained in:
Aaron Schulz 2015-11-03 11:43:31 -08:00
parent 95e00a01ec
commit 4252339bd2

View file

@ -344,8 +344,10 @@ class CategoryTree {
), __METHOD__ );
$mckey = wfMemcKey(
"categorytree(" . $this->getOptionsAsCacheKey( $depth ) . ")",
$dbkey, $wgLang->getCode(),
'ajax-categorytree',
md5( $dbkey ),
md5( $this->getOptionsAsCacheKey( $depth ) ),
$wgLang->getCode(),
$wgContLang->getExtraHashOptions(),
$wgRenderHashAppend
);