jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/369654 )
Change subject: Hygiene: ParseCache::singleton() is deprecated, use MediaWikiServices instead ...................................................................... Hygiene: ParseCache::singleton() is deprecated, use MediaWikiServices instead Bug: T166714 Change-Id: I70030355339cba1692efc12722730fc68eff3d00 --- M includes/api/ApiMobileView.php 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: jenkins-bot: Verified Jdlrobson: Looks good to me, approved diff --git a/includes/api/ApiMobileView.php b/includes/api/ApiMobileView.php index c4e357c..fe1edd8 100644 --- a/includes/api/ApiMobileView.php +++ b/includes/api/ApiMobileView.php @@ -592,7 +592,8 @@ } } $parserOptions = $this->makeParserOptions( $wp ); - $parserCacheKey = ParserCache::singleton()->getKey( $wp, $parserOptions ); + $parserCacheKey = \MediaWiki\MediaWikiServices::getInstance()->getParserCache()->getKey( $wp, + $parserOptions ); $key = wfMemcKey( 'mf', 'mobileview', -- To view, visit https://gerrit.wikimedia.org/r/369654 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I70030355339cba1692efc12722730fc68eff3d00 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MobileFrontend Gerrit-Branch: master Gerrit-Owner: Pmiazga <pmia...@wikimedia.org> Gerrit-Reviewer: Jdlrobson <jrob...@wikimedia.org> Gerrit-Reviewer: Niedzielski <sniedziel...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits