Jump to content

Module talk:ISO 639 name/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia


It may be necessary to purge this page.

All 154 tests passed.

test_code_from_name
Text Expected Actual
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|}} error: language name required (help) error: language name required (help)
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|nv}} error: nv not found in ISO 639-1, -2, -2B, -3, -5 list (help) error: nv not found in ISO 639-1, -2, -2B, -3, -5 list (help)
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Navajo}} nv nv
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Navajo}} nv nv
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Navaho}} nv nv
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Apache languages}} apa apa
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Navajo|1}} nv nv
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Icelandic|2}} isl isl
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Icelandic|2B}} ice ice
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Navaho|3}} nav nav
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Apache languages|5}} apa apa
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Navajo|5}} error: Navajo not found in ISO 639-5 list (help) error: Navajo not found in ISO 639-5 list (help)
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Navajo|3}} nav nav
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Navaho|2B}} error: Navaho not found in ISO 639-2B list (help) error: Navaho not found in ISO 639-2B list (help)
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Navaho|2}} nav nav
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Apache languages|1}} error: Apache languages not found in ISO 639-1 list (help) error: Apache languages not found in ISO 639-1 list (help)
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Apache languages|6}} error: 6 not an ISO 639 part (help) error: 6 not an ISO 639 part (help)
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Greek}} el el
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Old English}} error: Old English not found in ISO 639-1, -2, -2B, -3, -5 list (help) error: Old English not found in ISO 639-1, -2, -2B, -3, -5 list (help)
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Standard Tibetan}} bo bo
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Ancient Egyptian}} egy egy
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Javanese|2B}} jaw jaw
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Chilean Quechua|3}} cqu cqu
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Galibi Carib|5}} car car
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Navajo|link=yes}} nv nv
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Navajo|link=yes|label=Navajo}} nv nv
checkY {{#invoke:ISO 639 name/sandbox|code_from_name|cat=no|Navaho|label=Navajo}} nv nv
test_is_code
Text Expected Actual
checkY {{#invoke:ISO 639 name/sandbox|is_code|cat=no|}}
checkY {{#invoke:ISO 639 name/sandbox|is_code|cat=no|xx}}
checkY {{#invoke:ISO 639 name/sandbox|is_code|cat=no|xxx}}
checkY {{#invoke:ISO 639 name/sandbox|is_code|cat=no|nv}} true true
checkY {{#invoke:ISO 639 name/sandbox|is_code|cat=no|apa}} true true
checkY {{#invoke:ISO 639 name/sandbox|is_code|cat=no|ice}} true true
checkY {{#invoke:ISO 639 name/sandbox|is_code|cat=no|nav}} true true
checkY {{#invoke:ISO 639 name/sandbox|is_code|cat=no|el}} true true
checkY {{#invoke:ISO 639 name/sandbox|is_code|cat=no|mga}} true true
checkY {{#invoke:ISO 639 name/sandbox|is_code|cat=no|pms}} true true
checkY {{#invoke:ISO 639 name/sandbox|is_code|cat=no|iw}} true true
checkY {{#invoke:ISO 639 name/sandbox|is_code|cat=no|mol}} true true
checkY {{#invoke:ISO 639 name/sandbox|is_code|cat=no|jaw}} true true
checkY {{#invoke:ISO 639 name/sandbox|is_code|cat=no|cqu}} true true
checkY {{#invoke:ISO 639 name/sandbox|is_code|cat=no|car}} true true
test_iso_639
Text Expected Actual
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|}} error: language code or name required (help) error: language code or name required (help)
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|xx}} error: xx not found in ISO 639-1, -2, -2B, -3, -5 list (help) error: xx not found in ISO 639-1, -2, -2B, -3, -5 list (help)
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|nv}} Navajo Navajo
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|cic}} Chickasaw Chickasaw
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|ice}} Icelandic Icelandic
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|nav}} Navajo Navajo
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|apa}} Apache languages Apache languages
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no||}} error: language code or name required (help) error: language code or name required (help)
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|xx|1}} error: xx not found in ISO 639-1 list (help) error: xx not found in ISO 639-1 list (help)
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|nv|1}} Navajo Navajo
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|nav|2}} Navajo Navajo
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|ice|2B}} Icelandic Icelandic
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|cic|3}} Chickasaw Chickasaw
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|apa|5}} Apache languages Apache languages
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|apa|6}} error: 6 not an ISO 639 part (help) error: 6 not an ISO 639 part (help)
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|el}} Greek Greek
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|ang}} Old English Old English
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|gre}} Greek Greek
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|egy}} Ancient Egyptian Ancient Egyptian
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|iw}} Hebrew Hebrew
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|mol}} Moldavian Moldavian
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|jaw}} Javanese Javanese
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|cqu}} Chilean Quechua Chilean Quechua
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|car}} Galibi Carib Galibi Carib
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|Navajo}} nv nv
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|Navajo}} nv nv
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|Navaho}} nv nv
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|Apache languages}} apa apa
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|Navajo|1}} nv nv
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|Navajo|2}} nav nav
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|Icelandic|2B}} ice ice
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|Navaho|3}} nav nav
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|Apache languages|5}} apa apa
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|Javanese|2B}} jaw jaw
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|Chilean Quechua|3}} cqu cqu
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|Galibi Carib|5}} car car
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|Navajo|5}} error: Navajo not found in ISO 639-5 list (help) error: Navajo not found in ISO 639-5 list (help)
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|Apache languages|3}} error: Apache languages not found in ISO 639-3 list (help) error: Apache languages not found in ISO 639-3 list (help)
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|Chickasaw|2B}} error: Chickasaw not found in ISO 639-2B list (help) error: Chickasaw not found in ISO 639-2B list (help)
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|Chickasaw|2}} error: Chickasaw not found in ISO 639-2 list (help) error: Chickasaw not found in ISO 639-2 list (help)
checkY {{#invoke:ISO 639 name/sandbox|iso_639|cat=no|Apache languages|1}} error: Apache languages not found in ISO 639-1 list (help) error: Apache languages not found in ISO 639-1 list (help)
test_name_from_code
Text Expected Actual
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|}} error: ISO 639 code is required (help) error: ISO 639 code is required (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|xx}} error: xx not found in ISO 639-1, -2, -2B, -3, -5 list (help) error: xx not found in ISO 639-1, -2, -2B, -3, -5 list (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|xxx}} error: xxx not found in ISO 639-1, -2, -2B, -3, -5 list (help) error: xxx not found in ISO 639-1, -2, -2B, -3, -5 list (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|nv}} Navajo Navajo
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|nav}} Navajo Navajo
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|nav}} Navajo Navajo
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|apa}} Apache languages Apache languages
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|el}} Greek Greek
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|ang}} Old English Old English
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|tib}} Standard Tibetan Standard Tibetan
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|egy}} Ancient Egyptian Ancient Egyptian
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|iw}} Hebrew Hebrew
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|mol}} Moldavian Moldavian
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|jaw}} Javanese Javanese
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|cqu}} Chilean Quechua Chilean Quechua
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|car}} Galibi Carib Galibi Carib
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|nv|link=yes}} Navajo Navajo
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|nav|link=yes|label=Navaho}} Navaho Navaho
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|ice|link=yes|label=Frozen North}} Frozen North Frozen North
checkY {{#invoke:ISO 639 name/sandbox|name_from_code|cat=no|nav|label=Navaho}} Navajo Navajo
test_name_from_code_1
Text Expected Actual
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_1|cat=no|}} error: ISO 639-1 code is required (help) error: ISO 639-1 code is required (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_1|cat=no|xx}} error: xx not found in ISO 639-1 list (help) error: xx not found in ISO 639-1 list (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_1|cat=no|xx|hide-err=yes}}
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_1|cat=no|nv-Latn}} Navajo error: nv-Latn is an IETF tag (help) Navajo error: nv-Latn is an IETF tag (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_1|cat=no|nv}} Navajo Navajo
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_1|cat=no|nav}} error: nav not found in ISO 639-1 list (help) error: nav not found in ISO 639-1 list (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_1|cat=no|el}} Greek Greek
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_1|cat=no|iw}} Hebrew Hebrew
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_1|cat=no|nv|link=yes}} Navajo Navajo
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_1|cat=no|nv|link=yes|label=Navaho}} Navaho Navaho
test_name_from_code_2
Text Expected Actual
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2|cat=no|}} error: ISO 639-2 code is required (help) error: ISO 639-2 code is required (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2|cat=no|xxx}} error: xxx not found in ISO 639-2 list (help) error: xxx not found in ISO 639-2 list (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2|cat=no|xxx|hide-err=yes}}
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2|cat=no|nav-Latn}} Navajo error: nav-Latn is an IETF tag (help) Navajo error: nav-Latn is an IETF tag (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2|cat=no|nv}} error: nv not found in ISO 639-2 list (help) error: nv not found in ISO 639-2 list (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2|cat=no|nav}} Navajo Navajo
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2|cat=no|ice}} error: ice not found in ISO 639-2 list (help) error: ice not found in ISO 639-2 list (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2|cat=no|mga}} Middle Irish Middle Irish
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2|cat=no|mol}} Moldavian Moldavian
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2|cat=no|nav|link=yes}} Navajo Navajo
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2|cat=no|nav|link=yes|label=Navaho}} Navaho Navaho
test_name_from_code_2B
Text Expected Actual
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2B|cat=no|}} error: ISO 639-2B code is required (help) error: ISO 639-2B code is required (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2B|cat=no|xxx}} error: xxx not found in ISO 639-2B list (help) error: xxx not found in ISO 639-2B list (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2B|cat=no|xxx|hide-err=yes}}
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2B|cat=no|nav-Latn}} error: nav not found in ISO 639-2B list (help) error: nav not found in ISO 639-2B list (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2B|cat=no|nv}} error: nv not found in ISO 639-2B list (help) error: nv not found in ISO 639-2B list (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2B|cat=no|nav}} error: nav not found in ISO 639-2B list (help) error: nav not found in ISO 639-2B list (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2B|cat=no|ice}} Icelandic Icelandic
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2B|cat=no|tib}} Standard Tibetan Standard Tibetan
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2B|cat=no|jaw}} Javanese Javanese
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2B|cat=no|ice|link=yes}} Icelandic Icelandic
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_2B|cat=no|ice|link=yes|label=Frozen North}} Frozen North Frozen North
test_name_from_code_3
Text Expected Actual
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_3|cat=no|}} error: ISO 639-3 code is required (help) error: ISO 639-3 code is required (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_3|cat=no|xxx}} error: xxx not found in ISO 639-3 list (help) error: xxx not found in ISO 639-3 list (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_3|cat=no|xxx|hide-err=yes}}
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_3|cat=no|nav-Latn}} Navaho error: nav-Latn is an IETF tag (help) Navaho error: nav-Latn is an IETF tag (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_3|cat=no|nv}} error: nv not found in ISO 639-3 list (help) error: nv not found in ISO 639-3 list (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_3|cat=no|nav}} Navaho Navaho
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_3|cat=no|pms}} Piedmontese Piedmontese
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_3|cat=no|cqu}} Chilean Quechua Chilean Quechua
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_3|cat=no|nav|link=yes}} Navaho Navaho
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_3|cat=no|nav|link=yes|label=Navajo}} Navajo Navajo
test_name_from_code_5
Text Expected Actual
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_5|cat=no|}} error: ISO 639-5 code is required (help) error: ISO 639-5 code is required (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_5|cat=no|xxx}} error: xxx not found in ISO 639-5 list (help) error: xxx not found in ISO 639-5 list (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_5|cat=no|xxx|hide-err=yes}}
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_5|cat=no|nav-Latn}} error: nav not found in ISO 639-5 list (help) error: nav not found in ISO 639-5 list (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_5|cat=no|nv}} error: nv not found in ISO 639-5 list (help) error: nv not found in ISO 639-5 list (help)
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_5|cat=no|apa}} Apache languages Apache languages
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_5|cat=no|car}} Galibi Carib Galibi Carib
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_5|cat=no|apa|link=yes}} Apache languages Apache languages
checkY {{#invoke:ISO 639 name/sandbox|name_from_code_5|cat=no|apa|link=yes|label=Apache}} Apache Apache

Start a discussion about improving the Module:ISO 639 name/testcases page

Start a discussion