Allow resources to be salvaged across service resets.
authordaniel <daniel.kinzler@wikimedia.de>
Thu, 14 Apr 2016 19:02:31 +0000 (21:02 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Thu, 19 May 2016 10:38:07 +0000 (12:38 +0200)
commitbca436db920721302565801d47f370c17756de66
tree635ebe49b8e0eedf1ac43eabe8355d5f897bcdbf
parentbaad58579945c852250e7cac74ba796db2f78347
parentd9a965c69d0712567efd68c94a1f38f9cd50056c
Allow resources to be salvaged across service resets.

NOTE: This also changes the semantics of MediaWikiServices::resetGlobalInstance
to only reset services instances, not service wiring. The wiring will be copied
from the old global MediaWikiServices instance to the new one.

Bug: T132707
Change-Id: Ie2ca3ff99aa74fffa9eb6c8faccab857dc0874f7
autoload.php
includes/MediaWikiServices.php
includes/Services/SalvageableService.php
includes/Services/ServiceContainer.php
includes/Setup.php
includes/config/ConfigFactory.php
maintenance/updateCollation.php
tests/phpunit/includes/MediaWikiServicesTest.php
tests/phpunit/includes/Services/ServiceContainerTest.php
tests/phpunit/includes/config/ConfigFactoryTest.php