Add LinkCache to MediaWikiServices
authorKunal Mehta <legoktm@member.fsf.org>
Thu, 12 May 2016 22:44:33 +0000 (15:44 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Thu, 12 May 2016 22:44:33 +0000 (15:44 -0700)
commit449084ec4e2bfbcb029e942f18efa10d556e51bd
tree0582d439b1881ea6d0be24c054abec14fea40b99
parent279dd4156c6195be16fe497980d73cd2e5c95884
Add LinkCache to MediaWikiServices

LinkCache::singleton() is now deprecated, and the destroySingleton() and
setSingleton() methods were removed. They were not used in extensions,
and the usage in core was updated to use MediaWikiServices.

Change-Id: I08bb4f7913b03f71331ff683d0197c948aad6790
includes/MediaWikiServices.php
includes/ServiceWiring.php
includes/cache/LinkCache.php
tests/phpunit/includes/MediaWikiServicesTest.php
tests/phpunit/includes/content/ContentHandlerTest.php