Define which languages explicitly fallback to 'en'
authorEd Sanders <esanders@wikimedia.org>
Tue, 3 Apr 2018 21:08:52 +0000 (22:08 +0100)
committerJames D. Forrester <jforrester@wikimedia.org>
Wed, 19 Sep 2018 22:55:38 +0000 (15:55 -0700)
commit8477d4a6f5949fcb875fb0d21800866bc548fc05
treea2b748599f1f06ec2fa4ab7b2a453b390d4d1957
parent4df0c71911500466a6330b8fe29c623ef5b51e41
Define which languages explicitly fallback to 'en'

In the message store, all messages fall through to English,
but only a few languages should actually explicitly fallback
to English (English variants and dialects).

These new explicit fallbacks are used by ResourceLoaderImageModule,
and this change doesn't affect the message fall through system.

Bug: T203350
Change-Id: I6b68a17f4d69341bccdae748727b5133a600d8bc
includes/cache/localisation/LocalisationCache.php
includes/resourceloader/ResourceLoaderImage.php
languages/Language.php
languages/messages/MessagesBi.php
languages/messages/MessagesEn_ca.php [new file with mode: 0644]
languages/messages/MessagesEn_gb.php
languages/messages/MessagesJam.php [new file with mode: 0644]
languages/messages/MessagesPih.php [new file with mode: 0644]
languages/messages/MessagesSco.php