From 6e8094da2b514ae168d13d6e1d4d9541d2e3cbbf Mon Sep 17 00:00:00 2001 From: Hoo man Date: Mon, 18 May 2015 22:37:00 +0000 Subject: [PATCH] Revert "Remove invalid language code "bh" (alias of "bho")" 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 | 3 --- languages/Names.php | 1 + languages/messages/MessagesBh.php | 12 ++++++++++++ 3 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 languages/messages/MessagesBh.php diff --git a/RELEASE-NOTES-1.26 b/RELEASE-NOTES-1.26 index 8a08f0279d..0b3f29c658 100644 --- a/RELEASE-NOTES-1.26 +++ b/RELEASE-NOTES-1.26 @@ -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 diff --git a/languages/Names.php b/languages/Names.php index 1563e054ae..12059ae5f6 100644 --- a/languages/Names.php +++ b/languages/Names.php @@ -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 index 0000000000..4453bd1954 --- /dev/null +++ b/languages/messages/MessagesBh.php @@ -0,0 +1,12 @@ +