Add special language names to facilitate searching

This adds several custom languages.

The addition of Punjabi addresses Bug T178070.

The addition of Chinese addresses Bug T73891.

Georgian and Catalan (Valencian) variant spellings
are added because these are the most frequent languages
that are not found in the ULS search box.

Bug: T73891
Bug: T178070
Change-Id: Ifbb08b560e454643d246379c19f725bde61917e9
This commit is contained in:
Amire80
2017-10-24 17:08:29 +05:30
parent 18c09bc6d3
commit 101532cfa6
3 changed files with 55 additions and 4 deletions

View File

@@ -58,6 +58,30 @@ class LanguageSearchTest extends PHPUnit_Framework_TestCase {
'ml' => 'മലയാളം',
]
],
[ 'punja', [
'pa' => 'punjaabi sennii',
'pnb' => 'punjabi western',
]
],
[ 'kartuli', [
'ka' => 'kartuli',
]
],
[ 'valencia', [
'ca' => 'valencia',
]
],
[ 'chinese', [
'zh-hans' => 'chinese simplified',
'zh-hant' => 'chinese traditional',
'zh' => 'chinesesch',
'zh-cn' => 'chinese (china)',
'zh-hk' => 'chinese (hong kong)',
'zh-min-nan' => 'chinese (min nan)',
'zh-sg' => 'chinese (singapore)',
'zh-tw' => 'chinese (taiwan)'
]
],
[ 'finish', [
'fi' => 'finnish'
]