In these tests, the expected column is the live module; the actual column is the module sandbox.

95 tests failed.

test_01_lang_italic
Text Expected Actual
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=yes}} <span title="අරාබි-language text"><i lang="ar">text</i></span> <span title="අරාබි-language text"><i lang="ar">text</i></span>
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=no}} <span title="අරාබි-language text"><span lang="ar" style="font-style: normal;">text</span></span> <span title="අරාබි-language text"><span lang="ar" style="font-style: normal;">text</span></span>
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=invert}} <span title="අරාබි-language text"><span lang="ar">''text''</span></span> <span title="අරාබි-language text"><span lang="ar">''text''</span></span>
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=italic}} <span title="අරාබි-language text"><i lang="ar">text</i></span> <span title="අරාබි-language text"><i lang="ar">text</i></span>
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=}} <span title="අරාබි-language text"><i lang="ar">text</i></span> <span title="අරාබි-language text"><i lang="ar">text</i></span>
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=whatever}} <span title="අරාබි-language text"><i lang="ar">text</i></span> <span title="අරාබි-language text"><i lang="ar">text</i></span>
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=text}} <span title="අරාබි-language text"><i lang="ar">text</i></span> <span title="අරාබි-language text"><i lang="ar">text</i></span>
test_02_lang_italic_with_script
Text Expected Actual
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=yes|script=arab}} <span title="අරාබි-language text"><i lang="ar">text</i></span> <span title="අරාබි-language text"><i lang="ar">text</i></span>
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=yes|script=latn}} <span title="අරාබි-language text"><i lang="ar">text</i></span> <span title="අරාබි-language text"><i lang="ar">text</i></span>
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=no|script=arab}} <span title="අරාබි-language text"><span lang="ar" style="font-style: normal;">text</span></span> <span title="අරාබි-language text"><span lang="ar" style="font-style: normal;">text</span></span>
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=no|script=latn}} <span title="අරාබි-language text"><span lang="ar" style="font-style: normal;">text</span></span> <span title="අරාබි-language text"><span lang="ar" style="font-style: normal;">text</span></span>
test_03_lang_rtl
Text Expected Actual
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=text|rtl=yes}} <span title="අරාබි-language text"><i lang="ar" dir="rtl">text</i></span> <span title="අරාබි-language text"><i lang="ar" dir="rtl">text</i></span>
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=text|rtl=no}} <span title="අරාබි-language text"><i lang="ar">text</i></span> <span title="අරාබි-language text"><i lang="ar">text</i></span>
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=text|rtl=}} <span title="අරාබි-language text"><i lang="ar">text</i></span> <span title="අරාබි-language text"><i lang="ar">text</i></span>
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=text|rtl=whatever}} <span title="අරාබි-language text"><i lang="ar">text</i></span> <span title="අරාබි-language text"><i lang="ar">text</i></span>
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=text}} <span title="අරාබි-language text"><i lang="ar">text</i></span> <span title="අරාබි-language text"><i lang="ar">text</i></span>
test_04_lang_ietf
Text Expected Actual
YesY {{#invoke:Lang/sandbox|lang|text=text|code=de}} <span title="ජර්මන්-language text"><i lang="de">text</i></span> <span title="ජර්මන්-language text"><i lang="de">text</i></span>
YesY {{#invoke:Lang/sandbox|lang|text=text|code=nav}} <span title="Navajo-language text"><i lang="nv">text</i></span><span class="lang-comment" style="font-style: normal; display: none; color: #33aa33; margin-left: 0.3em;">code: nav promoted to code: nv </span> <span title="Navajo-language text"><i lang="nv">text</i></span><span class="lang-comment" style="font-style: normal; display: none; color: #33aa33; margin-left: 0.3em;">code: nav promoted to code: nv </span>
YesY {{#invoke:Lang/sandbox|lang|text=text|code=1ca}} [text] <span style="color:#d33">Error: {{Lang}}: unrecognized language tag: 1ca ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:#d33">Error: {{Lang}}: unrecognized language tag: 1ca ([[:Category:Lang and lang-xx template errors|help]])</span>
YesY {{#invoke:Lang/sandbox|lang|text=text|code=cmn-Latn}} <span title="Mandarin Chinese-language text"><i lang="cmn-Latn">text</i></span> <span title="Mandarin Chinese-language text"><i lang="cmn-Latn">text</i></span>
YesY {{#invoke:Lang/sandbox|lang|text=text|code=he-hebr}} [text] <span style="color:#d33">Error: {{Lang}}: script: hebr not supported for code: he ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:#d33">Error: {{Lang}}: script: hebr not supported for code: he ([[:Category:Lang and lang-xx template errors|help]])</span>
YesY {{#invoke:Lang/sandbox|lang|text=text|code=de-ch}} <span title="Swiss Standard German-language text"><i lang="de-CH">text</i></span> <span title="Swiss Standard German-language text"><i lang="de-CH">text</i></span>
YesY {{#invoke:Lang/sandbox|lang|text=text|code=de-1901}} <span title="ජර්මන්-language text"><i lang="de-1901">text</i></span> <span title="ජර්මන්-language text"><i lang="de-1901">text</i></span>
YesY {{#invoke:Lang/sandbox|lang|text=text|code=ru-petr1708}} <span title="රුසියානු-language text"><i lang="ru-petr1708">text</i></span> <span title="රුසියානු-language text"><i lang="ru-petr1708">text</i></span>
YesY {{#invoke:Lang/sandbox|lang|text=text|code=ca-valencia}} <span title="Valencian-language text"><i lang="ca-valencia">text</i></span> <span title="Valencian-language text"><i lang="ca-valencia">text</i></span>
YesY {{#invoke:Lang/sandbox|lang|text=text|code=ru-ru-petr1708}} <span title="රුසියානු-language text"><i lang="ru-RU-petr1708">text</i></span> <span title="රුසියානු-language text"><i lang="ru-RU-petr1708">text</i></span>
YesY {{#invoke:Lang/sandbox|lang|text=text|code=es-419}} <span title="ස්පාඤ්ඤ-language text"><i lang="es-419">text</i></span> <span title="ස්පාඤ්ඤ-language text"><i lang="es-419">text</i></span>
YesY {{#invoke:Lang/sandbox|lang|text=text|code=ru-Cyrl-RU}} [text] <span style="color:#d33">Error: {{Lang}}: script: cyrl not supported for code: ru ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:#d33">Error: {{Lang}}: script: cyrl not supported for code: ru ([[:Category:Lang and lang-xx template errors|help]])</span>
YesY {{#invoke:Lang/sandbox|lang|text=text|code=ca-419-valencia}} <span title="Catalan-language text"><i lang="ca-419-valencia">text</i></span> <span title="Catalan-language text"><i lang="ca-419-valencia">text</i></span>
YesY {{#invoke:Lang/sandbox|lang|text=text|code=cel-x-proto}} <span title="Proto-Celtic-language text">&#42;<i lang="cel">text</i></span> <span title="Proto-Celtic-language text">&#42;<i lang="cel">text</i></span>
test_05_lang_invert_italics
Text Expected Actual
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=text|italic=invert}} <span title="අරාබි-language text"><span lang="ar">''text''</span></span> <span title="අරාබි-language text"><span lang="ar">''text''</span></span>
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=''text''|italic=invert}} <span title="අරාබි-language text"><span lang="ar">text</span></span> <span title="අරාබි-language text"><span lang="ar">text</span></span>
YesY {{#invoke:Lang/sandbox|lang|code=ar|text='''''text'''''|italic=invert}} <span title="අරාබි-language text"><span lang="ar">'''text'''</span></span> <span title="අරාබි-language text"><span lang="ar">'''text'''</span></span>
YesY {{#invoke:Lang/sandbox|lang|code=ar|text='''text'''|italic=invert}} <span title="අරාබි-language text"><span lang="ar">'''''text'''''</span></span> <span title="අරාබි-language text"><span lang="ar">'''''text'''''</span></span>
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=''text's''|italic=invert}} <span title="අරාබි-language text"><span lang="ar">text&#39;s</span></span> <span title="අරාබි-language text"><span lang="ar">text&#39;s</span></span>
YesY {{#invoke:Lang/sandbox|lang|code=ar|text=text's|italic=invert}} <span title="අරාබි-language text"><span lang="ar">''text&#39;s''</span></span> <span title="අරාබි-language text"><span lang="ar">''text&#39;s''</span></span>
test_06_lang_xx_italic
Text Expected Actual
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=yes}} [[අරාබි භාෂාව|අරාබි]]: <i lang="ar">text</i>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <i lang="ar">text</i>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=no}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar" style="font-style: normal;">text</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar" style="font-style: normal;">text</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=invert}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar">''text''</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar">''text''</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=italic}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar">text</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar">text</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=whatever}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar">text</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar">text</span>
test_07_lang_xx_italic_with_script
Text Expected Actual
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=yes|script=arab}} [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=yes|script=latn}} [[අරාබි භාෂාව|අරාබි]]: <i lang="ar-Latn">text</i>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <i lang="ar-Latn">text</i>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=no|script=arab}} [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=no|script=latn}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar-Latn" style="font-style: normal;">text</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar-Latn" style="font-style: normal;">text</span>
test_08_lang_xx_script
Text Expected Actual
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=|script=arab}} [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=|script=latn}} [[අරාබි භාෂාව|අරාබි]]: <i lang="ar-Latn">text</i>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <i lang="ar-Latn">text</i>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|script=arab}} [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|script=latn}} [[අරාබි භාෂාව|අරාබි]]: <i lang="ar-Latn">text</i>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <i lang="ar-Latn">text</i>
test_09_lang_xx_rtl
Text Expected Actual
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|rtl=yes}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar" dir="rtl">text</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar" dir="rtl">text</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|rtl=no}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar">text</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|rtl=}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar">text</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|rtl=whatever}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar">text</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar">text</span>
test_10_lang_xx_translit
Text Expected Actual
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>romanized:&nbsp;</small><span title="අරාබි-language රෝමානුකරණය"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>romanized:&nbsp;</small><span title="අරාබි-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|translit-script=Arab}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>romanized:&nbsp;</small><span title="අරාබි-script transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>romanized:&nbsp;</small><span title="අරාබි-script transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|translit-std=DIN}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>romanized:&nbsp;</small><span title="DIN 31635 Arabic (අරාබි language) transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>romanized:&nbsp;</small><span title="DIN 31635 Arabic (අරාබි language) transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|translit-std=ALA}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>romanized:&nbsp;</small><span title="American Library Association – Library of Congress transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>romanized:&nbsp;</small><span title="American Library Association – Library of Congress transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|عربى|translit=ʿarabī}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar" dir="rtl">عربى</span>, <small>romanized:&nbsp;</small><span title="අරාබි-language රෝමානුකරණය"><i lang="ar-Latn">ʿarabī</i></span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar" dir="rtl">عربى</span>, <small>romanized:&nbsp;</small><span title="අරාබි-language romanization"><i lang="ar-Latn">ʿarabī</i></span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|عربى|translit=ʿarabī|lit=Arabic}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar" dir="rtl">عربى</span>, <small>romanized:&nbsp;</small><span title="අරාබි-language රෝමානුකරණය"><i lang="ar-Latn">ʿarabī</i></span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar" dir="rtl">عربى</span>, <small>romanized:&nbsp;</small><span title="අරාබි-language romanization"><i lang="ar-Latn">ʿarabī</i></span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|عربى|translit=ʿarabī|translation=Arabic}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar" dir="rtl">عربى</span>, <small>romanized:&nbsp;</small><span title="අරාබි-language රෝමානුකරණය"><i lang="ar-Latn">ʿarabī</i></span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar" dir="rtl">عربى</span>, <small>romanized:&nbsp;</small><span title="අරාබි-language romanization"><i lang="ar-Latn">ʿarabī</i></span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|عربى|translit=ʿarabī|lit=Arabic|links=no}} අරාබි: <span lang="ar" dir="rtl">عربى</span>, <small>romanized:&nbsp;</small><span title="අරාබි-language රෝමානුකරණය"><i lang="ar-Latn">ʿarabī</i></span>, <small><abbr title="literal translation">lit.</abbr>&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]] අරාබි: <span lang="ar" dir="rtl">عربى</span>, <small>romanized:&nbsp;</small><span title="අරාබි-language romanization"><i lang="ar-Latn">ʿarabī</i></span>, <small><abbr title="literal translation">lit.</abbr>&thinsp;</small>&#39;Arabic&#39;
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|عربى|translation=Arabic}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar" dir="rtl">عربى</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar" dir="rtl">عربى</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|عربى|translation=Arabic|links=no}} අරාබි: <span lang="ar" dir="rtl">عربى</span>, <small><abbr title="literal translation">lit.</abbr>&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]] අරාබි: <span lang="ar" dir="rtl">عربى</span>, <small><abbr title="literal translation">lit.</abbr>&thinsp;</small>&#39;Arabic&#39;
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ff|text=𞤁𞤢𞤲𞤣𞤢𞤴𞤯𞤫|translit=something|translit-script=Adlm}} [[Fula භාෂාව|Fula]]: <span lang="ff" dir="rtl">𞤁𞤢𞤲𞤣𞤢𞤴𞤯𞤫</span>, <small>romanized:&nbsp;</small><span title="Fula-script transliteration"><i lang="ff-Latn">something</i></span>[[Category:Pages using Lang-xx templates]] [[Fula language|Fula]]: <span lang="ff" dir="rtl">𞤁𞤢𞤲𞤣𞤢𞤴𞤯𞤫</span>, <small>romanized:&nbsp;</small><span title="Fula-script transliteration"><i lang="ff-Latn">something</i></span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ff|text=𞤁𞤢𞤲𞤣𞤢𞤴𞤯𞤫|translit=something|translit-script=Adlm|translit-std=ALA}} [[Fula භාෂාව|Fula]]: <span lang="ff" dir="rtl">𞤁𞤢𞤲𞤣𞤢𞤴𞤯𞤫</span>, <small>romanized:&nbsp;</small><span title="American Library Association – Library of Congress transliteration"><i lang="ff-Latn">something</i></span>[[Category:Pages using Lang-xx templates]] [[Fula language|Fula]]: <span lang="ff" dir="rtl">𞤁𞤢𞤲𞤣𞤢𞤴𞤯𞤫</span>, <small>romanized:&nbsp;</small><span title="American Library Association – Library of Congress transliteration"><i lang="ff-Latn">something</i></span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|text=نص العنصر النائب|translit=nasu aleunsur alnnay|translit-std=DIN|translit-script=arab}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>romanized:&nbsp;</small><span title="DIN 31635 Arabic (අරාබි script) transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>romanized:&nbsp;</small><span title="DIN 31635 Arabic (අරාබි script) transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=gem|text=test|translit=ʿarabī|translation=Arabic}} [[Germanic languages]]: <span lang="gem">test</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]] [[Germanic languages]]: <span lang="gem">test</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ath|text=test|translit=ʿarabī|translation=Arabic}} [[Athapascan languages]]: <span lang="ath">test</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;[[Category:Pages using Lang-xx templates]] [[Athapascan languages]]: <span lang="ath">test</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;Arabic&#39;
test_11_lang_xx_link_and_label
Text Expected Actual
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=uk|морити голодом|lit=to kill by starvation|translit=moryty holodom|label=none}} <span title="යුක්‍රේනියානු-language text"><span lang="uk">морити голодом</span></span>, <span title="යුක්‍රේනියානු-language රෝමානුකරණය"><i lang="uk-Latn">moryty holodom</i></span>, &#39;to kill by starvation&#39;[[Category:Pages using Lang-xx templates]] <span title="යුක්‍රේනියානු-language text"><span lang="uk">морити голодом</span></span>, <span title="යුක්‍රේනියානු-language romanization"><i lang="uk-Latn">moryty holodom</i></span>, &#39;to kill by starvation&#39;
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=uk|морити голодом|lit=to kill by starvation|translit=moryty holodom|label=none|link=no}} <span title="යුක්‍රේනියානු-language text"><span lang="uk">морити голодом</span></span>, <span title="යුක්‍රේනියානු-language රෝමානුකරණය"><i lang="uk-Latn">moryty holodom</i></span>, &#39;to kill by starvation&#39;[[Category:Pages using Lang-xx templates]] <span title="යුක්‍රේනියානු-language text"><span lang="uk">морити голодом</span></span>, <span title="යුක්‍රේනියානු-language romanization"><i lang="uk-Latn">moryty holodom</i></span>, &#39;to kill by starvation&#39;
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ff|text=test|translit=something|translit-script=Adlm|label=none}} <span title="Fula-language text"><span lang="ff">test</span></span>[[Category:Pages using Lang-xx templates]] <span title="Fula-language text"><span lang="ff">test</span></span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ff|text=test|translit=something|translit-script=Adlm|label=test label}} test label: <span lang="ff">test</span>[[Category:Pages using Lang-xx templates]] test label: <span lang="ff">test</span>
test_12_lang_xx_invert_italics
Text Expected Actual
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=invert}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar">''text''</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar">''text''</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=''text''|italic=invert}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar">text</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text='''''text'''''|italic=invert}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar">'''text'''</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar">'''text'''</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text='''text'''|italic=invert}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar">'''''text'''''</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar">'''''text'''''</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=''text's''|italic=invert}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar">text&#39;s</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar">text&#39;s</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|text=text's|italic=invert}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar">''text&#39;s''</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar">''text&#39;s''</span>
test_13_transl_formats
Text Expected Actual
YesY {{#invoke:Lang/sandbox|transl|nocat=yes|ja|iso|test}} <span title="ISO 3602 Japanese (ජපන් language) transliteration"><i lang="ja-Latn">test</i></span> <span title="ISO 3602 Japanese (ජපන් language) transliteration"><i lang="ja-Latn">test</i></span>
YesY {{#invoke:Lang/sandbox|transl|nocat=yes|kana|iso|test}} <span title="ISO 3602 Japanese (Katakana script) transliteration"><span>test</span></span> <span title="ISO 3602 Japanese (Katakana script) transliteration"><span>test</span></span>
YesY {{#invoke:Lang/sandbox|transl|nocat=yes|oto|iso|test}} <span title="ISO transliteration"><i lang="oto-Latn">test</i></span> <span title="ISO transliteration"><i lang="oto-Latn">test</i></span>
YesY {{#invoke:Lang/sandbox|transl|nocat=yes|xsux|test}} <span title="Cuneiform transliteration"><span>test</span></span> <span title="Cuneiform transliteration"><span>test</span></span>
YesY {{#invoke:Lang/sandbox|transl|nocat=yes|Cyrl|š}} <span title="Cyrillic-script transliteration"><span>š</span></span> <span title="Cyrillic-script transliteration"><span>š</span></span>
N {{#invoke:Lang/sandbox|transl|nocat=yes|ar|test}} <span title="අරාබි-language රෝමානුකරණය"><i lang="ar-Latn">test</i></span> <span title="අරාබි-language romanization"><i lang="ar-Latn">test</i></span>
N {{#invoke:Lang/sandbox|transl|nocat=yes|oto|test}} <span title="Otomian languages රෝමානුකරණය"><i lang="oto-Latn">test</i></span> <span title="Otomian languages romanization"><i lang="oto-Latn">test</i></span>
test_14_transl_italics
Text Expected Actual
N {{#invoke:Lang/sandbox|transl|nocat=yes|ar|nasu aleunsur alnnayib|italic=}} <span title="අරාබි-language රෝමානුකරණය"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span> <span title="අරාබි-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span>
N {{#invoke:Lang/sandbox|transl|nocat=yes|ar|nasu aleunsur alnnayib|italic=yes}} <span title="අරාබි-language රෝමානුකරණය"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span> <span title="අරාබි-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span>
N {{#invoke:Lang/sandbox|transl|nocat=yes|ar|nasu aleunsur alnnayib|italic=no}} <span title="අරාබි-language රෝමානුකරණය"><span style="font-style: normal" lang="ar-Latn">nasu aleunsur alnnayib</span></span> <span title="අරාබි-language romanization"><span style="font-style: normal" lang="ar-Latn">nasu aleunsur alnnayib</span></span>
N {{#invoke:Lang/sandbox|transl|nocat=yes|ar|nasu aleunsur alnnayib|italic=default}} <span title="අරාබි-language රෝමානුකරණය"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span> <span title="අරාබි-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span>
N {{#invoke:Lang/sandbox|transl|nocat=yes|ar|nasu aleunsur alnnayib|italic=whatever}} <span title="අරාබි-language රෝමානුකරණය"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span> <span title="අරාබි-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span>
N {{#invoke:Lang/sandbox|transl|nocat=yes|ar|nasu ''aleunsur'' alnnayib|italic=unset}} <span title="අරාබි-language රෝමානුකරණය"><span style="font-style: inherit" lang="ar-Latn">nasu ''aleunsur'' alnnayib</span></span> <span title="අරාබි-language romanization"><span style="font-style: inherit" lang="ar-Latn">nasu ''aleunsur'' alnnayib</span></span>
YesY {{#invoke:Lang/sandbox|transl|nocat=yes|Arab|nasu ''aleunsur'' alnnayib|italic=unset}} <span title="අරාබි-script transliteration"><span>nasu ''aleunsur'' alnnayib</span></span> <span title="අරාබි-script transliteration"><span>nasu ''aleunsur'' alnnayib</span></span>
test_15_category_from_tag
Text Expected Actual
N {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|fr|link=yes}} ප්‍රවර්ගය:ප්‍රංශ-භාෂා පෙළ ඇතුළත් ලිපි Category:Articles containing ප්‍රංශ-language text
N {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|ber|link=yes}} ප්‍රවර්ගය:Articles with text in Berber languages Category:Articles with text in Berber languages
N {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|en|link=yes}} ප්‍රවර්ගය:ඉංග්‍රීසි-භාෂා පෙළ ඇතුළත් ලිපි Category:Articles containing ඉංග්‍රීසි-language text
N {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|en-gb|link=yes}} ප්‍රවර්ගය:British English-භාෂා පෙළ ඇතුළත් ලිපි Category:Articles containing British English-language text
N {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|fr}} ප්‍රවර්ගය:ප්‍රංශ-භාෂා පෙළ ඇතුළත් ලිපි Category:Articles containing ප්‍රංශ-language text
N {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|FR}} ප්‍රවර්ගය:ප්‍රංශ-භාෂා පෙළ ඇතුළත් ලිපි Category:Articles containing ප්‍රංශ-language text
N {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|ber}} ප්‍රවර්ගය:Articles with text in Berber languages Category:Articles with text in Berber languages
N {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|BER}} ප්‍රවර්ගය:Articles with text in Berber languages Category:Articles with text in Berber languages
N {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|en}} ප්‍රවර්ගය:ඉංග්‍රීසි-භාෂා පෙළ ඇතුළත් ලිපි Category:Articles containing ඉංග්‍රීසි-language text
N {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|EN}} ප්‍රවර්ගය:ඉංග්‍රීසි-භාෂා පෙළ ඇතුළත් ලිපි Category:Articles containing ඉංග්‍රීසි-language text
N {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|en-gb}} ප්‍රවර්ගය:British English-භාෂා පෙළ ඇතුළත් ලිපි Category:Articles containing British English-language text
N {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|EN-GB}} ප්‍රවර්ගය:British English-භාෂා පෙළ ඇතුළත් ලිපි Category:Articles containing British English-language text
test_16_name_from_tag
Text Expected Actual
N {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|fr|link=yes}} ප්‍රංශ ප්‍රංශ
YesY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|ber|link=yes}} Berber languages Berber languages
N {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|en|link=yes}} ඉංග්‍රීසි ඉංග්‍රීසි
N {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|en-gb|link=yes}} British English British English
YesY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|fr}} ප්‍රංශ ප්‍රංශ
YesY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|FR}} ප්‍රංශ ප්‍රංශ
YesY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|ber}} Berber languages Berber languages
YesY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|BER}} Berber languages Berber languages
YesY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|en}} ඉංග්‍රීසි ඉංග්‍රීසි
YesY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|EN}} ඉංග්‍රීසි ඉංග්‍රීසි
YesY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|en-gb}} British English British English
YesY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|EN-GB}} British English British English
test_17_tag_from_name
Text Expected Actual
YesY {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|french}} Error: language: french not found Error: language: french not found
YesY {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|French}} Error: language: French not found Error: language: French not found
YesY {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|FRENCH}} Error: language: FRENCH not found Error: language: FRENCH not found
YesY {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|Berber Languages}} ber ber
YesY {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|Berber languages}} ber ber
YesY {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|British English}} en-gb en-gb
YesY {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|en}} enc enc
YesY {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|EN}} enc enc
test_18_is_ietf_tag
Text Expected Actual
YesY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|french}}
YesY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|French}}
YesY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|FRENCH}}
YesY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|Berber Languages}}
YesY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|Berber languages}}
YesY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|British English}}
YesY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|fr}} true true
YesY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|FR}} true true
YesY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|ber}} true true
YesY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|BER}} true true
YesY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|en}} true true
YesY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|EN}} true true
YesY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|en-gb}} true true
YesY {{#invoke:Lang/sandbox|is_ietf_tag|nocat=yes|EN-GB}} true true
test_19_is_lang_name
Text Expected Actual
YesY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|french}}
YesY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|French}}
YesY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|FRENCH}}
YesY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|Berber Languages}} true true
YesY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|Berber languages}} true true
YesY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|British English}} true true
YesY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|fr}}
YesY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|FR}}
YesY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|ber}}
YesY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|BER}}
YesY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|en}} true true
YesY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|EN}} true true
YesY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|en-gb}}
YesY {{#invoke:Lang/sandbox|is_lang_name|nocat=yes|EN-GB}}
test_20_lang_errors
Text Expected Actual
YesY {{#invoke:Lang/sandbox|lang|nocat=yes|}} [undefined] <span style="color:#d33">Error: {{Lang}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span> [undefined] <span style="color:#d33">Error: {{Lang}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>
YesY {{#invoke:Lang/sandbox|lang|nocat=yes|fr}} [undefined] <span style="color:#d33">Error: {{Lang}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span> [undefined] <span style="color:#d33">Error: {{Lang}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>
YesY {{#invoke:Lang/sandbox|lang|nocat=yes|text=text}} [text] <span style="color:#d33">Error: {{Lang}}: missing language tag ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:#d33">Error: {{Lang}}: missing language tag ([[:Category:Lang and lang-xx template errors|help]])</span>
YesY {{#invoke:Lang/sandbox|lang|nocat=yes|fr|code=fr|text}} [undefined] <span style="color:#d33">Error: {{Lang}}: conflicting: {{{1}}} and |code= ([[:Category:Lang and lang-xx template errors|help]])</span> [undefined] <span style="color:#d33">Error: {{Lang}}: conflicting: {{{1}}} and |code= ([[:Category:Lang and lang-xx template errors|help]])</span>
YesY {{#invoke:Lang/sandbox|lang|nocat=yes|fr|text|text=text}} [text] <span style="color:#d33">Error: {{Lang}}: conflicting: {{{2}}} and |text= ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:#d33">Error: {{Lang}}: conflicting: {{{2}}} and |text= ([[:Category:Lang and lang-xx template errors|help]])</span>
YesY {{#invoke:Lang/sandbox|lang|nocat=yes|proto=proto-y-bad|text=text}} [text] <span style="color:#d33">Error: {{Lang}}: invalid |proto=: ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:#d33">Error: {{Lang}}: invalid |proto=: ([[:Category:Lang and lang-xx template errors|help]])</span>
YesY {{#invoke:Lang/sandbox|lang|nocat=yes|fr|''italics''}} [''italics''] <span style="color:#d33">Error: {{Lang}}: text has italic markup ([[:Category:Lang and lang-xx template errors|help]])</span> [''italics''] <span style="color:#d33">Error: {{Lang}}: text has italic markup ([[:Category:Lang and lang-xx template errors|help]])</span>
YesY {{#invoke:Lang/sandbox|lang|nocat=yes|fr|text={{lang|fr|text=text}}}} <span title="ප්‍රංශ-language text"><span lang="fr"><span title="ප්‍රංශ-language text"><i lang="fr">text</i></span></span></span> <span title="ප්‍රංශ-language text"><span lang="fr"><span title="ප්‍රංශ-language text"><i lang="fr">text</i></span></span></span>
YesY {{#invoke:Lang/sandbox|lang|nocat=yes|fr|malformed''''''}} [malformed''''''] <span style="color:#d33">Error: {{Lang}}: text has malformed markup ([[:Category:Lang and lang-xx template errors|help]])</span> [malformed''''''] <span style="color:#d33">Error: {{Lang}}: text has malformed markup ([[:Category:Lang and lang-xx template errors|help]])</span>
YesY {{#invoke:Lang/sandbox|lang|nocat=yes|1ca|text}} [text] <span style="color:#d33">Error: {{Lang}}: unrecognized language tag: 1ca ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:#d33">Error: {{Lang}}: unrecognized language tag: 1ca ([[:Category:Lang and lang-xx template errors|help]])</span>
YesY {{#invoke:Lang/sandbox|lang|nocat=yes|zz|text}} [text] <span style="color:#d33">Error: {{Lang}}: unrecognized language code: zz ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:#d33">Error: {{Lang}}: unrecognized language code: zz ([[:Category:Lang and lang-xx template errors|help]])</span>
YesY {{#invoke:Lang/sandbox|lang|nocat=yes|glg|text}} <span title="Galician-language text"><i lang="gl">text</i></span><span class="lang-comment" style="font-style: normal; display: none; color: #33aa33; margin-left: 0.3em;">code: glg promoted to code: gl </span> <span title="Galician-language text"><i lang="gl">text</i></span><span class="lang-comment" style="font-style: normal; display: none; color: #33aa33; margin-left: 0.3em;">code: glg promoted to code: gl </span>
YesY {{#invoke:Lang/sandbox|lang|nocat=yes|iw|text}} <span title="Hebrew-language text"><i lang="iw">text</i></span><span class="lang-comment" style="font-style: normal; display: none; color: #33aa33; margin-left: 0.3em;">code: iw is deprecated </span> <span title="Hebrew-language text"><i lang="iw">text</i></span><span class="lang-comment" style="font-style: normal; display: none; color: #33aa33; margin-left: 0.3em;">code: iw is deprecated </span>
test_21_lang_xx_errors
Text Expected Actual
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|}} [] <span style="color:#d33">Error: {{Lang-xx}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [] <span style="color:#d33">Error: {{Lang-xx}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=fr}} [undefined] <span style="color:#d33">Error: {{Lang-xx}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [undefined] <span style="color:#d33">Error: {{Lang-xx}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|text=text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: missing language tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: missing language tag ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|text|text=text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: conflicting: {{{1}}} and |text= ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: conflicting: {{{1}}} and |text= ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|text|translit|translit=translit}} [text] <span style="color:#d33">Error: {{Lang-xx}}: conflicting: {{{2}}} and |translit= ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: conflicting: {{{2}}} and |translit= ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|text|lit|lit=lit}} [[ප්‍රංශ භාෂාව|ප්‍රංශ]]: <span lang="fr">text</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;lit&#39;[[Category:Pages using Lang-xx templates]] [[ප්‍රංශ language|ප්‍රංශ]]: <span lang="fr">text</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;lit&#39;
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|text|translation|translation=translation}} [[ප්‍රංශ භාෂාව|ප්‍රංශ]]: <span lang="fr">text</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;translation&#39;[[Category:Pages using Lang-xx templates]] [[ප්‍රංශ language|ප්‍රංශ]]: <span lang="fr">text</span>, <small>[[Literal translation|lit.]]&thinsp;</small>&#39;translation&#39;
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|text|lit=lit|translation=translation}} [text] <span style="color:#d33">Error: {{Lang-xx}}: conflicting: |lit= and |translation= ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: conflicting: |lit= and |translation= ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|{{lang|fr|text}}}} [[ප්‍රංශ භාෂාව|ප්‍රංශ]]: <span lang="fr"><span title="ප්‍රංශ-language text"><i lang="fr">text</i></span></span>[[Category:Pages using Lang-xx templates]] [[ප්‍රංශ language|ප්‍රංශ]]: <span lang="fr"><span title="ප්‍රංශ-language text"><i lang="fr">text</i></span></span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=fr-Latn|script=Latn|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: redundant script tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: redundant script tag ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|script=nonsense|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized script: nonsense for code: fr ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized script: nonsense for code: fr ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|script=Arab|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=en-US|region=US|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: redundant region tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: redundant region tag ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=de-XL|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized region: xl for code: de ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized region: xl for code: de ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=de-1901|variant=1901|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: redundant variant tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: redundant variant tag ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=de-19022|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized variant: 19022 ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized variant: 19022 ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=de|script=Armn|variant=1901|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized variant: 1901 for code-script pair: de-armn ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized variant: 1901 for code-script pair: de-armn ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=en|variant=1901|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized variant: 1901 for code: en ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized variant: 1901 for code: en ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=es-x-419|text}} [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized private tag: 419 ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:#d33">Error: {{Lang-xx}}: unrecognized private tag: 419 ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|نص العنصر النائب|nasu aleunsur alnnayib|translit-std=bob}} [نص العنصر النائب] <span style="color:#d33">Error: {{Lang-xx}}: invalid translit-std: 'bob ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [نص العنصر النائب] <span style="color:#d33">Error: {{Lang-xx}}: invalid translit-std: 'bob ([[:Category:Lang and lang-xx template errors|help]])</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|text=نص العنصر النائب|translit=nasu aleunsur alnnay|translit-std=DIN|translit-script=ar}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>romanized:&nbsp;</small><span title="DIN transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>romanized:&nbsp;</small><span title="DIN transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>
test_22_transl_errors
Text Expected Actual
YesY {{#invoke:Lang/sandbox|transl|nocat=yes|al-Khwarizmi}} [al-Khwarizmi] <span style="color:#d33">Error: {{Transliteration}}: missing language / script code ([[:Category:Transliteration template errors|help]])</span> [al-Khwarizmi] <span style="color:#d33">Error: {{Transliteration}}: missing language / script code ([[:Category:Transliteration template errors|help]])</span>
YesY {{#invoke:Lang/sandbox|transl|nocat=yes|ar}} [undefined] <span style="color:#d33">Error: {{Transliteration}}: no text ([[:Category:Transliteration template errors|help]])</span> [undefined] <span style="color:#d33">Error: {{Transliteration}}: no text ([[:Category:Transliteration template errors|help]])</span>
YesY {{#invoke:Lang/sandbox|transl|nocat=yes|at|al-Khwarizmi}} [al-Khwarizmi] <span style="color:#d33">Error: {{Transliteration}}: unrecognized language / script code: at ([[:Category:Transliteration template errors|help]])</span> [al-Khwarizmi] <span style="color:#d33">Error: {{Transliteration}}: unrecognized language / script code: at ([[:Category:Transliteration template errors|help]])</span>
YesY {{#invoke:Lang/sandbox|transl|nocat=yes|ar|AL|al-Khwarizmi}} [al-Khwarizmi] <span style="color:#d33">Error: {{Transliteration}}: unrecognized transliteration standard: al ([[:Category:Transliteration template errors|help]])</span> [al-Khwarizmi] <span style="color:#d33">Error: {{Transliteration}}: unrecognized transliteration standard: al ([[:Category:Transliteration template errors|help]])</span>
YesY {{#invoke:Lang/sandbox|transl|nocat=yes|Arab|nasu ''aleunsur'' alnnayib|italic=yes|italics=no}} [nasu ''aleunsur'' alnnayib] <span style="color:#d33">Error: {{Transliteration}}: only one of |italic=, |italics=, or |i= can be specified ([[:Category:Transliteration template errors|help]])</span> [nasu ''aleunsur'' alnnayib] <span style="color:#d33">Error: {{Transliteration}}: only one of |italic=, |italics=, or |i= can be specified ([[:Category:Transliteration template errors|help]])</span>
test_23_category_from_tag_errors
Text Expected Actual
YesY {{#invoke:Lang/sandbox|category_from_tag|nocat=yes|sfsfsfs}} <span style="color:#d33">Error: unrecognized language tag: sfsfsfs</span> <span style="color:#d33">Error: unrecognized language tag: sfsfsfs</span>
test_24_name_from_tag_errors
Text Expected Actual
YesY {{#invoke:Lang/sandbox|name_from_tag|nocat=yes|sfsfsfs}} <span style="color:#d33">Error: unrecognized language tag: sfsfsfs</span> <span style="color:#d33">Error: unrecognized language tag: sfsfsfs</span>
test_25_tag_from_name_errors
Text Expected Actual
YesY {{#invoke:Lang/sandbox|tag_from_name|nocat=yes|sfsfsfs}} <span style="color:#d33">Error: language: sfsfsfs not found</span> <span style="color:#d33">Error: language: sfsfsfs not found</span>
test_26_html_tag_select
Text Expected Actual
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|نص العنصر النائب}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|rtl=yes|نص العنصر النائب}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|{{rtl-para|نص العنصر النائب}}}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar">[[:සැකිල්ල:Rtl-para]]</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar">[[:සැකිල්ල:Rtl-para]]</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=ar|rtl=yes|{{rtl-para|نص العنصر النائب}}}} [[අරාබි භාෂාව|අරාබි]]: <span lang="ar" dir="rtl">[[:සැකිල්ල:Rtl-para]]</span>[[Category:Pages using Lang-xx templates]] [[අරාබි language|අරාබි]]: <span lang="ar" dir="rtl">[[:සැකිල්ල:Rtl-para]]</span>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=en|<poem>a test fails<br>Lua</poem>}} [[ඉංග්‍රීසි භාෂාව|ඉංග්‍රීසි]]: <div lang="en">'"`UNIQ--poem-00000002-QINU`"'</div>[[Category:Pages using Lang-xx templates]] [[ඉංග්‍රීසි language|ඉංග්‍රීසි]]: <div lang="en">'"`UNIQ--poem-00000000-QINU`"'</div>
N {{#invoke:Lang/sandbox|lang_xx_inherit|code=en|Text with...

implied paragraph breaks.}}

[[ඉංග්‍රීසි භාෂාව|ඉංග්‍රීසි]]: <div lang="en"><p>Text with...</p><p>implied paragraph breaks.</p></div>[[Category:Pages using Lang-xx templates]] [[ඉංග්‍රීසි language|ඉංග්‍රීසි]]: <div lang="en"><p>Text with...</p><p>implied paragraph breaks.</p></div>

Start a discussion about Module:Lang/testcases

Start a discussion
"https://si.wikipedia.org/w/index.php?title=Module_talk:Lang/testcases&oldid=580872" වෙතින් සම්ප්‍රවේශනය කෙරිණි
Return to "Lang/testcases" page.