Add Hebrew search aliases for Tigre and Tigrinya
The Tigre and Tigrinya languages are spoken by thousands of people in Israel, who have a more convenient access to Hebrew keyboards than to Ethiopic keyboards. The situation is further complicated by the fact that the languages' names in the Hebrew alphabet have several variant spellings, especially with regard to the first letter, which is the most important one for searching. This patch ensures that the languages are conveniently findable in any Hebrew-script spelling. (Every variant is on a separate line because otherwise code editors mess up RTL text display.) Bug: T375052 Change-Id: I8a6414718802f091ca1df9367b2dbc170cd568c4
This commit is contained in:
committed by
jenkins-bot
parent
c82d4c31a7
commit
5ad9ee98e8
@@ -114,6 +114,28 @@ class LanguageNameIndexer extends Maintenance {
|
|||||||
'ja' => [ 'nihongo', 'にほんご' ],
|
'ja' => [ 'nihongo', 'にほんご' ],
|
||||||
// Chiluvale (T368856)
|
// Chiluvale (T368856)
|
||||||
'lue' => [ 'luvale, chi-' ],
|
'lue' => [ 'luvale, chi-' ],
|
||||||
|
// Tigrinya: variant names in Hebrew,
|
||||||
|
// to ensure they can be found in different spellings
|
||||||
|
'ti' => [
|
||||||
|
'טגריניה',
|
||||||
|
'טגרינית',
|
||||||
|
'טיגריניה',
|
||||||
|
'טיגרינית',
|
||||||
|
'תגריניה',
|
||||||
|
'תגרינית',
|
||||||
|
'תיגריניה',
|
||||||
|
],
|
||||||
|
// Tigre: variant names in Hebrew,
|
||||||
|
// to ensure they can be found in different spellings
|
||||||
|
'tig' => [
|
||||||
|
'טגרה',
|
||||||
|
'טגרית',
|
||||||
|
'טיגרה',
|
||||||
|
'תגרה',
|
||||||
|
'תגרית',
|
||||||
|
'תיגרה',
|
||||||
|
'תיגרית',
|
||||||
|
],
|
||||||
// Mon, renamed in core MediaWiki's Names.php (T352776)
|
// Mon, renamed in core MediaWiki's Names.php (T352776)
|
||||||
'mnw' => [ 'ဘာသာ မန်' ],
|
'mnw' => [ 'ဘာသာ မန်' ],
|
||||||
// Palembang, also known as "Musi".
|
// Palembang, also known as "Musi".
|
||||||
|
|||||||
@@ -45119,6 +45119,10 @@ class LanguageNameSearchData {
|
|||||||
'טאגאלוג' => 'tl',
|
'טאגאלוג' => 'tl',
|
||||||
'טאיטה' => 'dav',
|
'טאיטה' => 'dav',
|
||||||
'טגישית' => 'tgx',
|
'טגישית' => 'tgx',
|
||||||
|
'טגרה' => 'tig',
|
||||||
|
'טגריניה' => 'ti',
|
||||||
|
'טגרינית' => 'ti',
|
||||||
|
'טגרית' => 'tig',
|
||||||
'טג׳יקית' => 'tg',
|
'טג׳יקית' => 'tg',
|
||||||
'טג׳יקית קירילית' => 'tg-cyrl',
|
'טג׳יקית קירילית' => 'tg-cyrl',
|
||||||
'טהיטית' => 'ty',
|
'טהיטית' => 'ty',
|
||||||
@@ -45145,6 +45149,9 @@ class LanguageNameSearchData {
|
|||||||
'טיב' => 'tiv',
|
'טיב' => 'tiv',
|
||||||
'טיבטית' => 'bo',
|
'טיבטית' => 'bo',
|
||||||
'טיבעטיש' => 'bo',
|
'טיבעטיש' => 'bo',
|
||||||
|
'טיגרה' => 'tig',
|
||||||
|
'טיגריניה' => 'ti',
|
||||||
|
'טיגרינית' => 'ti',
|
||||||
'טיגרית' => 'tig',
|
'טיגרית' => 'tig',
|
||||||
'טיגרע' => 'tig',
|
'טיגרע' => 'tig',
|
||||||
'טימנה' => 'tem',
|
'טימנה' => 'tem',
|
||||||
@@ -45820,7 +45827,14 @@ class LanguageNameSearchData {
|
|||||||
1514 => [
|
1514 => [
|
||||||
'prefix' => [
|
'prefix' => [
|
||||||
'תאית' => 'th',
|
'תאית' => 'th',
|
||||||
|
'תגרה' => 'tig',
|
||||||
|
'תגריניה' => 'ti',
|
||||||
|
'תגרינית' => 'ti',
|
||||||
|
'תגרית' => 'tig',
|
||||||
|
'תיגרה' => 'tig',
|
||||||
|
'תיגריניה' => 'ti',
|
||||||
'תיגרינית' => 'ti',
|
'תיגרינית' => 'ti',
|
||||||
|
'תיגרית' => 'tig',
|
||||||
'תמאזיגת של מרכז מרוקו' => 'tzm',
|
'תמאזיגת של מרכז מרוקו' => 'tzm',
|
||||||
'תמזיע׳ת מרוקאית תקנית' => 'zgh',
|
'תמזיע׳ת מרוקאית תקנית' => 'zgh',
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -125,6 +125,26 @@ class LanguageSearchTest extends PHPUnit\Framework\TestCase {
|
|||||||
'fi' => 'φινλανδικά',
|
'fi' => 'φινλανδικά',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
[ 'טגר', [
|
||||||
|
'tig' => 'טגרה',
|
||||||
|
'ti' => 'טגריניה',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
[ 'טיגר', [
|
||||||
|
'tig' => 'טיגרה',
|
||||||
|
'ti' => 'טיגריניה',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
[ 'תגר', [
|
||||||
|
'tig' => 'תגרה',
|
||||||
|
'ti' => 'תגריניה',
|
||||||
|
]
|
||||||
|
],
|
||||||
|
[ 'תיגר', [
|
||||||
|
'tig' => 'תיגרה',
|
||||||
|
'ti' => 'תיגריניה',
|
||||||
|
]
|
||||||
|
],
|
||||||
[ 'الفرنسية', [
|
[ 'الفرنسية', [
|
||||||
'fr' => 'الفرنسية',
|
'fr' => 'الفرنسية',
|
||||||
'fr-ch' => 'الفرنسية السويسرية',
|
'fr-ch' => 'الفرنسية السويسرية',
|
||||||
|
|||||||
Reference in New Issue
Block a user