Merge "Revert "Remove invalid language code "bh" (alias of "bho")""
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 19 May 2015 06:03:35 +0000 (06:03 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 19 May 2015 06:03:35 +0000 (06:03 +0000)
RELEASE-NOTES-1.26
languages/Names.php
languages/messages/MessagesBh.php [new file with mode: 0644]

index 61e04b8..6f1120e 100644 (file)
@@ -37,9 +37,6 @@ MediaWiki supports over 350 languages. Many localisations are updated
 regularly. Below only new and removed languages are listed, as well as
 changes to languages because of Bugzilla reports.
 
-* BREAKING CHANGE (T91240): Language code "bh" is not valid in ISO 639 and
-  was removed, so it will no longer alias to "bho". If you used "bh" as your
-  wiki's $wgLanguageCode, you must update your configuration.
 
 === Other changes in 1.26 ===
 * ChangeTags::tagDescription() will return false if the interface message
index 88d95f2..ddd40f1 100644 (file)
@@ -78,6 +78,7 @@
        'be-x-old' => "беларуская (тарашкевіца)\xE2\x80\x8E",      # (be-tarask compat)
        'bg' => 'български',   # Bulgarian
        'bgn' => 'بلوچی رخشانی', # Western Balochi
+       'bh' => 'भोजपुरी',        # Bihari macro language. Falls back to Bhojpuri (bho)
        'bho' => 'भोजपुरी',       # Bhojpuri
        'bi' => 'Bislama',              # Bislama
        'bjn' => 'Bahasa Banjar',       # Banjarese
diff --git a/languages/messages/MessagesBh.php b/languages/messages/MessagesBh.php
new file mode 100644 (file)
index 0000000..4453bd1
--- /dev/null
@@ -0,0 +1,12 @@
+<?php
+/** Bihari (भोजपुरी)
+ *
+ * To improve a translation please visit https://translatewiki.net
+ *
+ * @ingroup Language
+ * @file
+ *
+ */
+
+$fallback = 'bho';
+