wiki.techinc.nl/includes/language
Tim Starling 0b12f8b698 Improve LocalisationCache post-merge validation check
When I deleted MessagesEn.php, neither the exception on line 498 nor
the exception modified here was thrown. Extensions register namespaces,
hiding the lack of default namespaces. If namespaceNames was missing,
RHS line 1004 would raise a warning but would create the key.

Also, phan was complaining that the key might be absent.

So, use 'rtl' instead of 'namespaceNames' as our test for data validity,
since it's less likely to be overridden by extensions. Move the check up
above the normalization of individual keys. Use isset() to satisfy phan.

Bug: T322278
Change-Id: I44c7506205fbe9ba6ffbd1155a6cdcf3ff0960eb
2022-11-09 12:57:23 +11:00
..
converters Reorg: Move StubObject classes in includes to its own directory 2022-10-25 16:04:48 -04:00
dependency Various doc fixes about false and null on method arguments/return types 2022-11-03 18:55:47 +01:00
Hook Remove deprecated MWTimestamp::getHumanTimestamp 2022-11-03 17:00:39 +00:00
ConverterRule.php
ILanguageConverter.php Add markup to page titles to distinguish the namespace and the main text 2022-08-16 23:36:21 +00:00
Language.php Optimise and clean up Language::ucfirst() 2022-11-01 22:17:20 +00:00
LanguageCode.php Add efficient LanguageCode::bcp47ToInternal() helper 2022-10-20 10:11:14 -04:00
LanguageConverter.php Reorg: Move StubObject classes in includes to its own directory 2022-10-25 16:04:48 -04:00
LanguageConverterFactory.php Reorg: Move StubObject classes in includes to its own directory 2022-10-25 16:04:48 -04:00
LanguageConverterIcu.php
LanguageConverterSpecific.php
LanguageFactory.php Add a new function LanguageFactory::getRawLanguage 2022-09-04 08:48:25 +00:00
LanguageFallback.php Language: More specific PHPDocs in Language class and related 2022-08-15 15:52:59 +00:00
LanguageNameUtils.php
LCStore.php
LCStoreCDB.php
LCStoreDB.php
LCStoreNull.php
LCStoreStaticArray.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
LocalisationCache.php Improve LocalisationCache post-merge validation check 2022-11-09 12:57:23 +11:00
LocalisationCacheBulkLoad.php Use array_key_first()/array_key_last() in some places 2022-10-21 15:01:59 +11:00
Message.php Reorg: Move StubObject classes in includes to its own directory 2022-10-25 16:04:48 -04:00
MessageCache.php Reorg: Move StubObject classes in includes to its own directory 2022-10-25 16:04:48 -04:00
MessageLocalizer.php
TrivialLanguageConverter.php Reorg: Move StubObject classes in includes to its own directory 2022-10-25 16:04:48 -04:00