parser: Avoid deprecated wfMemcKey()
authorKunal Mehta <legoktm@member.fsf.org>
Thu, 25 May 2017 19:05:49 +0000 (12:05 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Thu, 25 May 2017 19:05:49 +0000 (12:05 -0700)
commitff8a0c788bc8cfe1d1d0ff1512a2e33cc65a5c0d
tree120b0918afa3decebc2d0696f751a5b146eb91d0
parent642ffff84522c531008bd066247678e39fe144ba
parser: Avoid deprecated wfMemcKey()

Tested that parser cache keys stay the same, before and after this
change.

Also use the more obvious ObjectCache::getLocalClusterInstance() instead
of looking up the main cache type in config and using
ObjectCache::getInstance().

Change-Id: Icef646b3c05e732ef4079d6900e6bce111debf2b
includes/parser/ParserCache.php
includes/parser/Preprocessor.php