Hoo man has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/211906

Change subject: Revert "Remove invalid language code "bh" (alias of "bho")"
......................................................................

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.

Change-Id: I6db0c436dc2c7556bbc060584e0a725402238adf
---
M RELEASE-NOTES-1.26
M languages/Names.php
A languages/messages/MessagesBh.php
3 files changed, 13 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/06/211906/1

diff --git a/RELEASE-NOTES-1.26 b/RELEASE-NOTES-1.26
index 8a08f02..0b3f29c 100644
--- a/RELEASE-NOTES-1.26
+++ b/RELEASE-NOTES-1.26
@@ -35,9 +35,6 @@
 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 1563e05..12059ae 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 0000000..4453bd1
--- /dev/null
+++ b/languages/messages/MessagesBh.php
@@ -0,0 +1,12 @@
+<?php
+/** Bihari (भोजपुरी)
+ *
+ * To improve a translation please visit https://translatewiki.net
+ *
+ * @ingroup Language
+ * @file
+ *
+ */
+
+$fallback = 'bho';
+

-- 
To view, visit https://gerrit.wikimedia.org/r/211906
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6db0c436dc2c7556bbc060584e0a725402238adf
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Hoo man <h...@online.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to