The core function behind wfMessage() (MessageCache->get()) did not apply the language fallback chain to on-wiki messages. This patch has changed the behavior to iterate over all possible languages, first checking on-wiki and then checking the CDB cache, until it finds the message. Note that fallback languages never take precedence over the actual requested language. This patch was taken from the following changes and then adjusted to fix issues that caused bug 46579. * Change-Id: Iaaf6ccebd8c40c9602748c58c3a5c73c29e7aa4d - Author: Matthew Walker <mwalker@wikimedia.org> - (cherry picked from commit |
||
|---|---|---|
| .. | ||
| GenderCacheTest.php | ||
| MessageCacheTest.php | ||
| ProcessCacheLRUTest.php | ||