From 0f855f739e27afa4c74742a7ae6efdf892ee30d2 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Thu, 25 May 2017 00:47:46 -0700 Subject: [PATCH] SpecialVersion: Avoid deprecated wfMemcKey() Change-Id: I7cfaf049a4e193bdb12b5233f0460e71cbe876af --- includes/specials/SpecialVersion.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/specials/SpecialVersion.php b/includes/specials/SpecialVersion.php index 708eced849..caa0e1fe8b 100644 --- a/includes/specials/SpecialVersion.php +++ b/includes/specials/SpecialVersion.php @@ -732,7 +732,9 @@ class SpecialVersion extends SpecialPage { } } $cache = wfGetCache( CACHE_ANYTHING ); - $memcKey = wfMemcKey( 'specialversion-ext-version-text', $extension['path'], $this->coreId ); + $memcKey = $cache->makeKey( + 'specialversion-ext-version-text', $extension['path'], $this->coreId + ); list( $vcsVersion, $vcsLink, $vcsDate ) = $cache->get( $memcKey ); if ( !$vcsVersion ) { -- 2.20.1