Jump to content

Module:languages/testcases/documentation

From Wiktionary, the free dictionary
Documentation for Module:languages/testcases. [edit]
This page contains usage information, categories, interwiki links and other content describing the module.

6 of 58 tests failed. (refresh)

TextExpectedActual
testcases for getCategoryName:
PassedenEnglish languageEnglish language
PassedafAfrikaans languageAfrikaans language
PassedavAvar languageAvar language
PassedhtHaitian Creole languageHaitian Creole language
PassedaseAmerican Sign LanguageAmerican 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"}{}
Failedase{"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:
PassedenEnglish languageEnglish language
PassedafAfrikaansAfrikaans
PassedaeAvestanAvestan
PassedhtHaitian CreoleHaitian Creole
PassedaseAmerican Sign LanguageAmerican Sign Language
PasseddvMaldivian languageMaldivian language
PassedeoEsperantoEsperanto
PassedgohOld High GermanOld High German
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! (English, en)alasalas
Passed¿cómo te llamas? (Spanish, es)cómo te llamascómo te llamas
Passedӓ ё (Russian, ru)а ёа ё
Passed¿ ? (Spanish, es)¿ ?¿ ?
Passed¡ ! (Spanish, es)¡ !¡ !
Passedmais bien sûr ! (French, fr)mais bien sûrmais bien sûr
Passed¡ (Translingual, mul)¡¡
PassedΠηληῐ̈ᾰ́δης (Ancient Greek, grc)ΠηληϊάδηςΠηληϊάδης
Passedالعَرَبِيَّة (Arabic, ar)العربيةالعربية
Passedٱ (Arabic, ar)ٱٱ
Passedـُ (Arabic, ar)ـُـُ
Passed치〯 (Middle Korean, okm)
script-specific (no change when wrong script code is provided)
Passedایشؽق (Azerbaijani, az)ایشیقایشیق
Passedایشؽق (Azerbaijani, az), tableایشؽقایشؽق
TextExpectedActual
testcases for makeSortKey:
diacritic removal
PassedΠηληϊάδης Αἶνος (Ancient Greek, 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 (Vietnamese, 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命裡有時終須有,命裡無時莫強求 (Chinese, 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⿱𡩧⿺進⿰貝招 (Chinese, zh)宀37宀37
dotted and dotless i
Passedİzmir (Turkish, tr)IZMIRIZMIR
Passedışık (Turkish, tr)ISIKISIK
TextExpectedActual
testcases for makeWikipediaLink:
Passeden[[w:English language|English]][[w:English language|English]]
Passedaf[[w:Afrikaans|Afrikaans]][[w:Afrikaans|Afrikaans]]
Passedae[[w:Avestan|Avestan]][[w:Avestan|Avestan]]
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"}{ "code" : "en", "wikimediaLanguages" : [ "en", "simple" ], "full" : "en", "aliases" : [ "Modern English", "New English" ], "wikidataItem" : "Q1860", "scripts" : [ "Latn", "Brai", "Shaw", "Dsrt" ], "ancestors" : [ "en-ear" ], "canonicalName" : "English", "wikipediaArticle" : "English language", "varieties" : [ "Polari", "Yinglish" ], "family" : "gmw-ang", "otherNames" : [ ], "categoryName" : "English language", "type" : [ "full", "language", "regular" ] }