Revert "Remove invalid language code "bh" (alias of "bho")"
authorHoo man <hoo@online.de>
Mon, 18 May 2015 22:37:00 +0000 (22:37 +0000)
committerNemo bis <federicoleva@tiscali.it>
Tue, 19 May 2015 04:24:21 +0000 (04:24 +0000)
Still being heavily used for interwiki links.
See eg. https://www.wikidata.org/wiki/Wikidata:Contact_the_development_team#Link_for_bh.wiki

This reverts commit 34a3de0f65609c7ffdaafbf3770001e531a616cf.

Bug: T99059
Change-Id: I6db0c436dc2c7556bbc060584e0a725402238adf

RELEASE-NOTES-1.26
languages/Names.php
languages/messages/MessagesBh.php [new file with mode: 0644]

index 8a08f02..0b3f29c 100644 (file)
@@ -35,9 +35,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 1563e05..12059ae 100644 (file)
@@ -77,6 +77,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';
+