Previously, ResourceLoader's CodexModule class was using a hard-coded list of message keys to add to the payload any time Codex components get used. But now we can get the list of messages directly from Codex. This change replaces the hardcoded list of strings with a call to file_get_contents(). The list of messages is defined in a file called "messageKeys.json" in the Codex package. In the next release of Codex, this file will be pulled in via foreign-resources.yml; for now it has been added manually to the Codex files in resources/lib. Bug: T371330 Change-Id: Ib7ca66d67153dfba72d8d49b0181d49b007eedce |
||
|---|---|---|
| .. | ||
| autoloader | ||
| categoriesrdf | ||
| composer | ||
| css | ||
| db | ||
| dumps | ||
| exception | ||
| filecontentshasher | ||
| filerepo | ||
| GhostFieldAccess | ||
| gitinfo | ||
| import | ||
| languageConverter | ||
| less | ||
| localisationcache | ||
| MaintenanceRunner | ||
| media | ||
| messages | ||
| MessageValue | ||
| MSCompoundFileReader | ||
| OutputTransform/i18n | ||
| parser | ||
| ParserCache | ||
| preprocess | ||
| registration | ||
| resourceloader | ||
| resourceloader-b | ||
| rlfilepath | ||
| templates | ||
| upload | ||
| zip | ||
| .eslintrc.json | ||