Correctly register storeDirectory in l10n cache
authorAryeh Gregor <ayg@aryeh.name>
Mon, 26 Aug 2019 09:41:56 +0000 (12:41 +0300)
committerAryeh Gregor <ayg@aryeh.name>
Mon, 26 Aug 2019 09:41:56 +0000 (12:41 +0300)
commitb78b8804d076618e967c7b31ec15a1bd9e35d1d0
treeaa255c2bd275dc8ad6f03d81fc954f6064a0f6a9
parent2d911d1f8c2accd3978cc20017b8a2c8ad75183d
Correctly register storeDirectory in l10n cache

e4468a1d6b6 made LocalisationCache a service and refactored a bunch of
setup code. In doing so, when processing 'storeDirectory' from
$wgLocalisationCacheConf, it accidentally started treating empty
non-null values (such as the default "false") as storage paths instead
of meaning "fall back to $wgCacheDirectory". This would have broken all
config that used file store for LocalisationCache and did not specify
'storeDirectory'.

Bug: T231183
Change-Id: I9ff16be628996b202599e3bb2feed088af03775f
includes/ServiceWiring.php