Modul:languages/testcases/doc

Ini ialah laman pendokumenan untuk Modul:languages/testcases

9 of 59 tests failed. (refresh)

TextExpectedActual
testcases for getCategoryName:
PassedmsBahasa MelayuBahasa Melayu
PassedafBahasa AfrikaansBahasa Afrikaans
PassedavBahasa AvarBahasa Avar
PassedhtBahasa Kreol HaitiBahasa Kreol Haiti
FailedaseBahasa Tangan Amerika SyarikatBahasa American Sign Language
TextExpectedActual
testcases for getFamily:
Passedengmw-anggmw-ang
Passedhtcrpcrp
Passedasesgnsgn
TextExpectedActual
testcases for getFull:
Passeddedede
Passedde-ATdede
Passedde-AT-viedede
Passedgemgemgem
TextExpectedActual
testcases for getOtherNames:
Failedht{"Creole", "Haitian", "Kreyòl"}{"Creole", "Haitian", "Kreyòl"}
Failedase{"Ameslan", "ASL"}{"Ameslan", "ASL"}
TextExpectedActual
testcases for getScriptCodes:
Passeden{"Latn", "Brai", "Shaw", "Dsrt"}{"Latn", "Brai", "Shaw", "Dsrt"}
Passedht{"Latn"}{"Latn"}
Passedase{"Sgnw"}{"Sgnw"}
TextExpectedActual
testcases for getWikidataItem:
PassedenQ1860Q1860
PassedeoQ143Q143
Passedaql-proQ18389588Q18389588
Failedmkh-ban-pro(nil)Q116773189
TextExpectedActual
testcases for getWikipediaArticle:
PassedmsBahasa MelayuBahasa Melayu
PassedenBahasa InggerisBahasa Inggeris
PassedafBahasa AfrikaansBahasa Afrikaans
FailedaeBahasa AvestanAvestan
PassedhtBahasa Kreol HaitiBahasa Kreol Haiti
PassedaseAbjad tangan Amerika SyarikatAbjad tangan Amerika Syarikat
FaileddvBahasa DiheviBahasa Divehi
PassedeoBahasa EsperantoBahasa Esperanto
PassedgohBahasa Jerman Hulu KunoBahasa Jerman Hulu Kuno
TextExpectedActual
testcases for makeDisplayText:
Passedஸ்ரீகாகுளம் (Tamil, ta)ஶ்ரீகாகுளம்ஶ்ரீகாகுளம்
TextExpectedActual
testcases for makeEntryName:
Passedhūmānitās (Latin, la)humanitashumanitas
Passedcoëō (Latin, la)coeocoeo
Passedàzàhàr̃iyyā̀ (Hausa, ha)azahariyyaazahariyya
Passedalas! (Inggeris, en)alasalas
Passed¿cómo te llamas? (Sepanyol, es)cómo te llamascómo te llamas
Passedӓ ё (Rusia, ru)а ёа ё
Passed¿ ? (Sepanyol, es)¿ ?¿ ?
Passed¡ ! (Sepanyol, es)¡ !¡ !
Passedmais bien sûr ! (Perancis, fr)mais bien sûrmais bien sûr
Passed¡ (Translingual, mul)¡¡
PassedΠηληῐ̈ᾰ́δης (Yunani Purba, grc)ΠηληϊάδηςΠηληϊάδης
Passedالعَرَبِيَّة (Arab, ar)العربيةالعربية
Passedٱ (Arab, ar)ٱٱ
Passedـُ (Arab, ar)ـُـُ
Passed치〯 (Korea Pertengahan, okm)
script-specific (no change when wrong script code is provided)
Passedایشؽق (Azeri, az)ایشیقایشیق
Passedایشؽق (Azeri, az), tableایشؽقایشؽق
TextExpectedActual
testcases for makeSortKey:
diacritic removal
PassedΠηληϊάδης Αἶνος (Yunani Purba, grc)ΠΗΛΗΙΑΔΗΣ ΑΙΝΟΣΠΗΛΗΙΑΔΗΣ ΑΙΝΟΣ
Passedshį́į́dą́ą́ʼ (Navajo, nv)SIIDAAZSIIDAAZ
dedicated sortkey modules
FailedTuyên ngôn toàn thế giới về nhân quyền của Liên Hợp Quốc (Vietnam, vi)TUYEN NGON TOAN! THE% GIOI% VE! NHAN QUYEN! CUA# LIEN HOP& QUOC%TUYEN NGON TOAN! THE% GIOI% VE! NHAN QUYEN! CUA# LIEN HOP& QUOC%
Failed命裡有時終須有,命裡無時莫強求 (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
Passed⿱𡩧⿺進⿰貝招 (Cina, zh)宀37宀37
dotted and dotless i
Passedİzmir (Turki, tr)IZMIRIZMIR
Passedışık (Turki, tr)ISIKISIK
TextExpectedActual
testcases for makeWikipediaLink:
Passedms[[w:Bahasa Melayu|Melayu]][[w:Bahasa Melayu|Melayu]]
Passedid[[w:Bahasa Indonesia|Indonesia]][[w:Bahasa Indonesia|Indonesia]]
Passeden[[w:Bahasa Inggeris|Inggeris]][[w:Bahasa Inggeris|Inggeris]]
TextExpectedActual
testcases for toJSON:
Faileden-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" ]}