Ini ialah laman pendokumenan untuk Modul:languages/testcases
9 of 59 tests failed. (refresh)
| Text | Expected | Actual |
testcases for getCategoryName
: | ms | Bahasa Melayu | Bahasa Melayu |
| af | Bahasa Afrikaans | Bahasa Afrikaans |
| av | Bahasa Avar | Bahasa Avar |
| ht | Bahasa Kreol Haiti | Bahasa Kreol Haiti |
| ase | Bahasa Tangan Amerika Syarikat | Bahasa American Sign Language |
| Text | Expected | Actual |
testcases for getFamily
: | en | gmw-ang | gmw-ang |
| ht | crp | crp |
| ase | sgn | sgn |
| Text | Expected | Actual |
testcases for getFull
: | de | de | de |
| de-AT | de | de |
| de-AT-vie | de | de |
| gem | gem | gem |
| Text | Expected | Actual |
testcases for getOtherNames
: | ht | {"Creole", "Haitian", "Kreyòl"} | {"Creole", "Haitian", "Kreyòl"} |
| ase | {"Ameslan", "ASL"} | {"Ameslan", "ASL"} |
| Text | Expected | Actual |
testcases for getScriptCodes
: | en | {"Latn", "Brai", "Shaw", "Dsrt"} | {"Latn", "Brai", "Shaw", "Dsrt"} |
| ht | {"Latn"} | {"Latn"} |
| ase | {"Sgnw"} | {"Sgnw"} |
| Text | Expected | Actual |
testcases for getWikidataItem
: | en | Q1860 | Q1860 |
| eo | Q143 | Q143 |
| aql-pro | Q18389588 | Q18389588 |
| mkh-ban-pro | (nil) | Q116773189 |
| Text | Expected | Actual |
testcases for getWikipediaArticle
: | ms | Bahasa Melayu | Bahasa Melayu |
| en | Bahasa Inggeris | Bahasa Inggeris |
| af | Bahasa Afrikaans | Bahasa Afrikaans |
| ae | Bahasa Avestan | Avestan |
| ht | Bahasa Kreol Haiti | Bahasa Kreol Haiti |
| ase | Abjad tangan Amerika Syarikat | Abjad tangan Amerika Syarikat |
| dv | Bahasa Dihevi | Bahasa Divehi |
| eo | Bahasa Esperanto | Bahasa Esperanto |
| goh | Bahasa Jerman Hulu Kuno | Bahasa Jerman Hulu Kuno |
| Text | Expected | Actual |
testcases for makeDisplayText
: | ஸ்ரீகாகுளம் (Tamil, ta ) | ஶ்ரீகாகுளம் | ஶ்ரீகாகுளம் |
| Text | Expected | Actual |
testcases for makeEntryName
: | hūmānitās (Latin, la ) | humanitas | humanitas |
| coëō (Latin, la ) | coeo | coeo |
| àzàhàr̃iyyā̀ (Hausa, ha ) | azahariyya | azahariyya |
| alas! (Inggeris, en ) | alas | alas |
| ¿cómo te llamas? (Sepanyol, es ) | cómo te llamas | cómo te llamas |
| ӓ ё (Rusia, ru ) | а ё | а ё |
| ¿ ? (Sepanyol, es ) | ¿ ? | ¿ ? |
| ¡ ! (Sepanyol, es ) | ¡ ! | ¡ ! |
| mais bien sûr ! (Perancis, fr ) | mais bien sûr | mais bien sûr |
| ¡ (Translingual, mul ) | ¡ | ¡ |
| Πηληῐ̈ᾰ́δης (Yunani Purba, grc ) | Πηληϊάδης | Πηληϊάδης |
| العَرَبِيَّة (Arab, ar ) | العربية | العربية |
| ٱ (Arab, ar ) | ٱ | ٱ |
| ـُ (Arab, ar ) | ـُ | ـُ |
| 치〯 (Korea Pertengahan, okm ) | 치 | 치 |
script-specific (no change when wrong script code is provided) |
---|
| ایشؽق (Azeri, az ) | ایشیق | ایشیق |
| ایشؽق (Azeri, az ), table | ایشؽق | ایشؽق |
| Text | Expected | Actual |
testcases for makeSortKey
:diacritic removal |
---|
| Πηληϊάδης Αἶνος (Yunani Purba, grc ) | ΠΗΛΗΙΑΔΗΣ ΑΙΝΟΣ | ΠΗΛΗΙΑΔΗΣ ΑΙΝΟΣ |
| shį́į́dą́ą́ʼ (Navajo, nv ) | SIIDAAZ | SIIDAAZ |
dedicated sortkey modules |
---|
| Tuyên ngôn toàn thế giới về nhân quyền của Liên Hợp Quốc (Vietnam, vi ) | TUYEN NGON TOAN! THE% GIOI% VE! NHAN QUYEN! CUA# LIEN HOP& QUOC% | TUYEN NGON TOAN! THE% GIOI% VE! NHAN QUYEN! CUA# LIEN HOP& QUOC% |
| 命裡有時終須有,命裡無時莫強求 (Cina, zh ) | 口05衣07月02日06糸05頁03月02,口05衣07火08日06艸07弓08水02 | 口05衣07月02日06糸05頁03月02口05衣07火08日06艸07弓08水02 |
| ⿱𡩧⿺進⿰貝招 (Cina, zh ) | 宀37 | 宀37 |
dotted and dotless i |
---|
| İzmir (Turki, tr ) | IZMIR | IZMIR |
| ışık (Turki, tr ) | ISIK | ISIK |
| Text | Expected | Actual |
testcases for makeWikipediaLink
: | ms | [[w:Bahasa Melayu|Melayu]] | [[w:Bahasa Melayu|Melayu]] |
| id | [[w:Bahasa Indonesia|Indonesia]] | [[w:Bahasa Indonesia|Indonesia]] |
| en | [[w:Bahasa Inggeris|Inggeris]] | [[w:Bahasa Inggeris|Inggeris]] |
| Text | Expected | Actual |
testcases for toJSON
: | en-toJSON | {"ancestors" : [ "en-ear" ], "code" : "en", "canonicalName" : "English", "wikimediaLanguages" : [ "en", "simple" ], "aliases" : [ "Modern English", "New English" ], "type" : [ "language", "full", "regular" ], "wikidataItem" : "Q1860", "varieties" : [ "Polari", "Yinglish" ], "scripts" : [ "Latn", "Brai", "Shaw", "Dsrt" ], "family" : "gmw-ang", "otherNames" : [], "categoryName" : "English language", "nonEtymological" : "en"} | {"ancestors" : [ "en-ear" ], "code" : "en", "canonicalName" : "Inggeris", "wikimediaLanguages" : [ "en", "simple" ], "full" : "en", "aliases" : [ "Modern English", "New English" ], "wikidataItem" : "Q1860", "varieties" : [ "Polari", "Yinglish" ], "scripts" : [ "Latn", "Brai", "Shaw", "Dsrt" ], "family" : "gmw-ang", "otherNames" : [], "categoryName" : "Bahasa Inggeris", "type" : [ "full", "language", "regular" ]} |