wiki.techinc.nl/tests/phpunit/data
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
..
autoloader AutoLoader: provide methods for registering classes 2022-05-10 13:55:53 +10:00
categoriesrdf Write category parent hierarchy when handling categorization 2020-07-31 12:14:13 +02:00
composer tests: Remove unused composer.json sample data 2021-06-08 23:56:01 +00:00
css CSSJanus: Update from version 1.3.0 to version 2.0.0 2021-08-16 18:39:41 +00:00
db Drop 1.32 and 1.33 db updates 2022-09-26 18:34:31 +02:00
dumps Make dump tests based on fixture files. 2020-04-06 15:21:00 -07:00
exception build: Updating dependencies 2021-07-22 03:36:05 +00:00
filecontentshasher
filerepo
GhostFieldAccess Forward-compat for merging CacheTime and ParserOutput mOptions 2020-11-10 07:09:41 -07:00
gitinfo
import Check for unknown slot. 2020-07-20 10:39:28 -04:00
less resourceloader: Fail gracefully if a LESS message is not found 2021-01-07 15:41:02 -08:00
localisationcache
media SVG Language selector should default to page language 2022-06-13 21:17:25 +00:00
messages Improve LocalisationCache post-merge validation check 2022-11-09 12:57:23 +11:00
MSCompoundFileReader Remove the executable flag from test files 2021-10-16 11:23:02 +00:00
parser
ParserCache Use uniform representation for ParserOutput "index policy" 2022-03-31 09:51:21 -04:00
preprocess Auto-discover core parser test files 2022-10-13 10:41:15 -04:00
registration registration: Allow multi-line strings in "@" note keys 2021-04-29 02:47:47 +01:00
resourceloader build: Update eslint-config-wikimedia to 0.21.0 2021-11-09 21:08:55 +00:00
resourceloader-b resourceloader: Tweak RL\FilePath handling in packageFiles 2022-05-27 22:40:41 +01:00
rlfilepath Allow skins/extensions to define custom OOUI themes 2019-07-10 22:08:14 +02:00
templates TemplateParserTest: Add test case with syntax error 2020-01-29 23:15:53 +00:00
upload Relax HTML sniffing checks on image upload 2019-06-07 14:21:00 -07:00
zip
.eslintrc.json eslint: Only apply client rules to client files 2022-02-09 02:40:11 +00:00