Module talk:Lang/testcases

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

All 233 tests passed.

test_01_lang_italic

test_01_lang_italic
Test Expected Actual
checkY {{#invoke:lang/sandbox|lang|code=ar|text=text|italic=yes}} <span title="Arabic-language text"><i lang="ar">text</i></span> <span title="Arabic-language text"><i lang="ar">text</i></span>
checkY {{#invoke:lang/sandbox|lang|code=ar|text=text|italic=no}} <span title="Arabic-language text"><span lang="ar" style="font-style: normal;">text</span></span> <span title="Arabic-language text"><span lang="ar" style="font-style: normal;">text</span></span>
checkY {{#invoke:lang/sandbox|lang|code=ar|text=text|italic=invert}} <span title="Arabic-language text"><span lang="ar">''text''</span></span> <span title="Arabic-language text"><span lang="ar">''text''</span></span>
checkY {{#invoke:lang/sandbox|lang|code=ar|text=text|italic=italic}} <span title="Arabic-language text"><i lang="ar">text</i></span> <span title="Arabic-language text"><i lang="ar">text</i></span>
checkY {{#invoke:lang/sandbox|lang|code=ar|text=text|italic=}} <span title="Arabic-language text"><i lang="ar">text</i></span> <span title="Arabic-language text"><i lang="ar">text</i></span>
checkY {{#invoke:lang/sandbox|lang|code=ar|text=text|italic=whatever}} <span title="Arabic-language text"><i lang="ar">text</i></span> <span title="Arabic-language text"><i lang="ar">text</i></span>
checkY {{#invoke:lang/sandbox|lang|code=ar|text=text}} <span title="Arabic-language text"><i lang="ar">text</i></span> <span title="Arabic-language text"><i lang="ar">text</i></span>

test_02_lang_italic_with_script

test_02_lang_italic_with_script
Test Expected Actual
checkY {{#invoke:lang/sandbox|lang|text=text|italic=yes|code=ar-Cyrl}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: Latn text/non-Latn script subtag mismatch ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: Latn text/non-Latn script subtag mismatch ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:lang/sandbox|lang|text=text|italic=yes|code=ar-latn}} <span title="Arabic-language text"><i lang="ar-Latn">text</i></span> <span title="Arabic-language text"><i lang="ar-Latn">text</i></span>
checkY {{#invoke:lang/sandbox|lang|text=text|italic=no|code=ar-Cyrl}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: Latn text/non-Latn script subtag mismatch ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: Latn text/non-Latn script subtag mismatch ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:lang/sandbox|lang|text=text|italic=no|code=ar-latn}} <span title="Arabic-language text"><span lang="ar-Latn" style="font-style: normal;">text</span></span> <span title="Arabic-language text"><span lang="ar-Latn" style="font-style: normal;">text</span></span>

test_03_lang_rtl

test_03_lang_rtl
Test Expected Actual
checkY {{#invoke:lang/sandbox|lang|code=ar|text=text|rtl=yes}} <span title="Arabic-language text"><i lang="ar" dir="rtl">text</i></span> <span title="Arabic-language text"><i lang="ar" dir="rtl">text</i></span>
checkY {{#invoke:lang/sandbox|lang|code=ar|text=text|rtl=no}} <span title="Arabic-language text"><i lang="ar">text</i></span> <span title="Arabic-language text"><i lang="ar">text</i></span>
checkY {{#invoke:lang/sandbox|lang|code=ar|text=text|rtl=}} <span title="Arabic-language text"><i lang="ar">text</i></span> <span title="Arabic-language text"><i lang="ar">text</i></span>
checkY {{#invoke:lang/sandbox|lang|code=ar|text=text|rtl=whatever}} <span title="Arabic-language text"><i lang="ar">text</i></span> <span title="Arabic-language text"><i lang="ar">text</i></span>
checkY {{#invoke:lang/sandbox|lang|code=ar|text=text}} <span title="Arabic-language text"><i lang="ar">text</i></span> <span title="Arabic-language text"><i lang="ar">text</i></span>

test_04_lang_ietf

test_04_lang_ietf
Test Expected Actual
checkY {{#invoke:lang/sandbox|lang|text=text|code=de}} <span title="German-language text"><i lang="de">text</i></span> <span title="German-language text"><i lang="de">text</i></span>
checkY {{#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>
checkY {{#invoke:lang/sandbox|lang|text=text|code=1ca}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: unrecognized language tag: 1ca ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: unrecognized language tag: 1ca ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#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>
checkY {{#invoke:lang/sandbox|lang|text=text|code=he-hebr}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: script: hebr not supported for code: he ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: script: hebr not supported for code: he ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#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>
checkY {{#invoke:lang/sandbox|lang|text=text|code=de-1901}} <span title="German-language text"><i lang="de-1901">text</i></span> <span title="German-language text"><i lang="de-1901">text</i></span>
checkY {{#invoke:lang/sandbox|lang|text=text|code=ru-petr1708}} <span title="Russian-language text"><i lang="ru-petr1708">text</i></span> <span title="Russian-language text"><i lang="ru-petr1708">text</i></span>
checkY {{#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>
checkY {{#invoke:lang/sandbox|lang|text=text|code=ru-ru-petr1708}} <span title="Russian-language text"><i lang="ru-RU-petr1708">text</i></span> <span title="Russian-language text"><i lang="ru-RU-petr1708">text</i></span>
checkY {{#invoke:lang/sandbox|lang|text=text|code=es-419}} <span title="Spanish-language text"><i lang="es-419">text</i></span> <span title="Spanish-language text"><i lang="es-419">text</i></span>
checkY {{#invoke:lang/sandbox|lang|text=text|code=ru-Cyrl-RU}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: script: cyrl not supported for code: ru ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: script: cyrl not supported for code: ru ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#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>
checkY {{#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

test_05_lang_invert_italics
Test Expected Actual
checkY {{#invoke:lang/sandbox|lang|code=ar|text=text|italic=invert}} <span title="Arabic-language text"><span lang="ar">''text''</span></span> <span title="Arabic-language text"><span lang="ar">''text''</span></span>
checkY {{#invoke:lang/sandbox|lang|code=ar|text=''text''|italic=invert}} <span title="Arabic-language text"><span lang="ar">text</span></span> <span title="Arabic-language text"><span lang="ar">text</span></span>
checkY {{#invoke:lang/sandbox|lang|code=ar|text='''''text'''''|italic=invert}} <span title="Arabic-language text"><span lang="ar">'''text'''</span></span> <span title="Arabic-language text"><span lang="ar">'''text'''</span></span>
checkY {{#invoke:lang/sandbox|lang|code=ar|text='''text'''|italic=invert}} <span title="Arabic-language text"><span lang="ar">'''''text'''''</span></span> <span title="Arabic-language text"><span lang="ar">'''''text'''''</span></span>
checkY {{#invoke:lang/sandbox|lang|code=ar|text=''text's''|italic=invert}} <span title="Arabic-language text"><span lang="ar">text&#39;s</span></span> <span title="Arabic-language text"><span lang="ar">text&#39;s</span></span>
checkY {{#invoke:lang/sandbox|lang|code=ar|text=text's|italic=invert}} <span title="Arabic-language text"><span lang="ar">''text&#39;s''</span></span> <span title="Arabic-language text"><span lang="ar">''text&#39;s''</span></span>

test_06_lang_xx_italic

test_06_lang_xx_italic
Test Expected Actual
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=yes}} [[Arabic language|Arabic]]: <i lang="ar">text</i>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <i lang="ar">text</i>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=no}} [[Arabic language|Arabic]]: <span lang="ar" style="font-style: normal;">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" style="font-style: normal;">text</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=invert}} [[Arabic language|Arabic]]: <span lang="ar">''text''</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">''text''</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=italic}} [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=}} [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=whatever}} [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text}} [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]]

test_07_lang_xx_italic_with_script

test_07_lang_xx_italic_with_script
Test Expected Actual
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=yes|script=arab}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{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:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=yes|script=latn}} [[Arabic language|Arabic]]: <i lang="ar-Latn">text</i>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <i lang="ar-Latn">text</i>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=no|script=arab}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{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:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=no|script=latn}} [[Arabic language|Arabic]]: <span lang="ar-Latn" style="font-style: normal;">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar-Latn" style="font-style: normal;">text</span>[[Category:Pages using Lang-xx templates]]

test_08_lang_xx_script

test_08_lang_xx_script
Test Expected Actual
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=|script=arab}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{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:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=|script=latn}} [[Arabic language|Arabic]]: <i lang="ar-Latn">text</i>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <i lang="ar-Latn">text</i>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text|script=arab}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{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:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text|script=latn}} [[Arabic language|Arabic]]: <i lang="ar-Latn">text</i>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <i lang="ar-Latn">text</i>[[Category:Pages using Lang-xx templates]]

test_09_lang_xx_rtl

test_09_lang_xx_rtl
Test Expected Actual
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text|rtl=yes}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">text</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text|rtl=no}} [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text|rtl=}} [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text|rtl=whatever}} [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text}} [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]]

test_10_lang_xx_translit

test_10_lang_xx_translit
Test Expected Actual
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|translit-script=Arab}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-script transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-script transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|translit-std=DIN}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="DIN 31635 Arabic (Arabic language) transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="DIN 31635 Arabic (Arabic language) transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|translit-std=ALA}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|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]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|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]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|عربى|translit=ʿarabī}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">عربى</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">ʿarabī</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">عربى</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">ʿarabī</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|عربى|translit=ʿarabī|lit=Arabic}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">عربى</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">ʿarabī</i></span>, <small>[[Literal translation|lit.]]&thinsp;</small><span class="gloss-quot">'</span><span class="gloss-text">Arabic</span><span class="gloss-quot">'</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">عربى</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">ʿarabī</i></span>, <small>[[Literal translation|lit.]]&thinsp;</small><span class="gloss-quot">'</span><span class="gloss-text">Arabic</span><span class="gloss-quot">'</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|عربى|translit=ʿarabī|translation=Arabic}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">عربى</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">ʿarabī</i></span>, <small>[[Literal translation|lit.]]&thinsp;</small><span class="gloss-quot">'</span><span class="gloss-text">Arabic</span><span class="gloss-quot">'</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">عربى</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">ʿarabī</i></span>, <small>[[Literal translation|lit.]]&thinsp;</small><span class="gloss-quot">'</span><span class="gloss-text">Arabic</span><span class="gloss-quot">'</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|عربى|translit=ʿarabī|lit=Arabic|links=no}} Arabic: <span lang="ar" dir="rtl">عربى</span>, <small>romanized:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">ʿarabī</i></span>, <small><abbr title="Literal translation">lit.</abbr>&thinsp;</small><span class="gloss-quot">'</span><span class="gloss-text">Arabic</span><span class="gloss-quot">'</span>[[Category:Pages using Lang-xx templates]] Arabic: <span lang="ar" dir="rtl">عربى</span>, <small>romanized:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">ʿarabī</i></span>, <small><abbr title="Literal translation">lit.</abbr>&thinsp;</small><span class="gloss-quot">'</span><span class="gloss-text">Arabic</span><span class="gloss-quot">'</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|عربى|translation=Arabic}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">عربى</span>, <small>[[Literal translation|lit.]]&thinsp;</small><span class="gloss-quot">'</span><span class="gloss-text">Arabic</span><span class="gloss-quot">'</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">عربى</span>, <small>[[Literal translation|lit.]]&thinsp;</small><span class="gloss-quot">'</span><span class="gloss-text">Arabic</span><span class="gloss-quot">'</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|عربى|translation=Arabic|links=no}} Arabic: <span lang="ar" dir="rtl">عربى</span>, <small><abbr title="Literal translation">lit.</abbr>&thinsp;</small><span class="gloss-quot">'</span><span class="gloss-text">Arabic</span><span class="gloss-quot">'</span>[[Category:Pages using Lang-xx templates]] Arabic: <span lang="ar" dir="rtl">عربى</span>, <small><abbr title="Literal translation">lit.</abbr>&thinsp;</small><span class="gloss-quot">'</span><span class="gloss-text">Arabic</span><span class="gloss-quot">'</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ff|text=𞤁𞤢𞤲𞤣𞤢𞤴𞤯𞤫|translit=something|translit-script=Adlm}} [[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>[[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>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ff|text=𞤁𞤢𞤲𞤣𞤢𞤴𞤯𞤫|translit=something|translit-script=Adlm|translit-std=ALA}} [[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>[[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>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|text=نص العنصر النائب|translit=nasu aleunsur alnnay|translit-std=DIN|translit-script=arab}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="DIN 31635 Arabic (Arabic script) transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="DIN 31635 Arabic (Arabic script) transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=gem|text=test|translit=ʿarabī|translation=Arabic}} [test] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: transliteration of latn script ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [test] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: transliteration of latn script ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ath|text=test|translit=ʿarabī|translation=Arabic}} [test] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: transliteration of latn script ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [test] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: transliteration of latn script ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]

test_11_lang_xx_engvar

test_11_lang_xx_engvar
Test Expected Actual
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=au}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=ca}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=gb}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=ie}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=in}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=nz}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=us}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=za}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanised]]:&nbsp;</small><span title="Arabic-language romanisation"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|text=نص العنصر النائب|translit=nasu aleunsur alnnay|engvar=nv}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]
test_12_lang_xx_link_and_label
Test Expected Actual
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=uk|морити голодом|lit=to kill by starvation|translit=moryty holodom|label=none}} <span title="Ukrainian-language text"><span lang="uk">морити голодом</span></span>, <span title="Ukrainian-language romanization"><i lang="uk-Latn">moryty holodom</i></span>, <span class="gloss-quot">'</span><span class="gloss-text">to kill by starvation</span><span class="gloss-quot">'</span>[[Category:Pages using Lang-xx templates]] <span title="Ukrainian-language text"><span lang="uk">морити голодом</span></span>, <span title="Ukrainian-language romanization"><i lang="uk-Latn">moryty holodom</i></span>, <span class="gloss-quot">'</span><span class="gloss-text">to kill by starvation</span><span class="gloss-quot">'</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=uk|морити голодом|lit=to kill by starvation|translit=moryty holodom|label=none|link=no}} <span title="Ukrainian-language text"><span lang="uk">морити голодом</span></span>, <span title="Ukrainian-language romanization"><i lang="uk-Latn">moryty holodom</i></span>, <span class="gloss-quot">'</span><span class="gloss-text">to kill by starvation</span><span class="gloss-quot">'</span>[[Category:Pages using Lang-xx templates]] <span title="Ukrainian-language text"><span lang="uk">морити голодом</span></span>, <span title="Ukrainian-language romanization"><i lang="uk-Latn">moryty holodom</i></span>, <span class="gloss-quot">'</span><span class="gloss-text">to kill by starvation</span><span class="gloss-quot">'</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ff|text=test|translit=something|translit-script=Adlm|label=none}} [test] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: transliteration of latn script ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [test] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: transliteration of latn script ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ff|text=test|translit=something|translit-script=Adlm|label=test label}} [test] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: transliteration of latn script ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [test] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: transliteration of latn script ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]

test_13_lang_xx_invert_italics

test_13_lang_xx_invert_italics
Test Expected Actual
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text|italic=invert}} [[Arabic language|Arabic]]: <span lang="ar">''text''</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">''text''</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=''text''|italic=invert}} [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text='''''text'''''|italic=invert}} [[Arabic language|Arabic]]: <span lang="ar">'''text'''</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">'''text'''</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text='''text'''|italic=invert}} [[Arabic language|Arabic]]: <span lang="ar">'''''text'''''</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">'''''text'''''</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=''text's''|italic=invert}} [[Arabic language|Arabic]]: <span lang="ar">text&#39;s</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">text&#39;s</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|text=text's|italic=invert}} [[Arabic language|Arabic]]: <span lang="ar">''text&#39;s''</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar">''text&#39;s''</span>[[Category:Pages using Lang-xx templates]]

test_14_xlit_formats

test_14_xlit_formats
Test Expected Actual
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ja|iso|test}} <span title="ISO 3602 Japanese (Japanese language) transliteration"><i lang="ja-Latn">test</i></span> <span title="ISO 3602 Japanese (Japanese language) transliteration"><i lang="ja-Latn">test</i></span>
checkY {{#invoke:lang/sandbox|xlit|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>
checkY {{#invoke:lang/sandbox|xlit|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>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|xsux|test}} <span title="Cuneiform transliteration"><span>test</span></span> <span title="Cuneiform transliteration"><span>test</span></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|Cyrl|š}} <span title="Cyrillic-script transliteration"><span>š</span></span> <span title="Cyrillic-script transliteration"><span>š</span></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ar|test}} <span title="Arabic-language romanization"><i lang="ar-Latn">test</i></span> <span title="Arabic-language romanization"><i lang="ar-Latn">test</i></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|oto|test}} <span title="Otomian languages romanization"><i lang="oto-Latn">test</i></span> <span title="Otomian languages romanization"><i lang="oto-Latn">test</i></span>

test_15_xlit_italics

test_15_xlit_italics
Test Expected Actual
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ar|nasu aleunsur alnnayib|italic=}} <span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span> <span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|Arab|nasu aleunsur alnnayib|italic=}} <span title="Arabic-script transliteration"><span>nasu aleunsur alnnayib</span></span> <span title="Arabic-script transliteration"><span>nasu aleunsur alnnayib</span></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ar|nasu aleunsur alnnayib|italic=default}} <span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span> <span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|Arab|nasu aleunsur alnnayib|italic=default}} <span title="Arabic-script transliteration"><span>nasu aleunsur alnnayib</span></span> <span title="Arabic-script transliteration"><span>nasu aleunsur alnnayib</span></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ar|nasu aleunsur alnnayib|italic=yes}} <span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span> <span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|Arab|nasu aleunsur alnnayib|italic=yes}} <span title="Arabic-script transliteration"><span>nasu aleunsur alnnayib</span></span> <span title="Arabic-script transliteration"><span>nasu aleunsur alnnayib</span></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ar|nasu aleunsur alnnayib|italic=no}} <span title="Arabic-language romanization"><span style="font-style: normal" lang="ar-Latn">nasu aleunsur alnnayib</span></span> <span title="Arabic-language romanization"><span style="font-style: normal" lang="ar-Latn">nasu aleunsur alnnayib</span></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|Arab|nasu aleunsur alnnayib|italic=no}} <span title="Arabic-script transliteration"><span>nasu aleunsur alnnayib</span></span> <span title="Arabic-script transliteration"><span>nasu aleunsur alnnayib</span></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ar|nasu ''aleunsur'' alnnayib|italic=unset}} <span title="Arabic-language romanization"><span style="font-style: inherit" lang="ar-Latn">nasu ''aleunsur'' alnnayib</span></span> <span title="Arabic-language romanization"><span style="font-style: inherit" lang="ar-Latn">nasu ''aleunsur'' alnnayib</span></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|Arab|nasu ''aleunsur'' alnnayib|italic=unset}} <span title="Arabic-script transliteration"><span>nasu ''aleunsur'' alnnayib</span></span> <span title="Arabic-script transliteration"><span>nasu ''aleunsur'' alnnayib</span></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ar|nasu ''aleunsur'' alnnayib|italic=invert}} <span title="Arabic-language romanization"><span style="font-style: invert" lang="ar-Latn">nasu ''aleunsur'' alnnayib</span></span> <span title="Arabic-language romanization"><span style="font-style: invert" lang="ar-Latn">nasu ''aleunsur'' alnnayib</span></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|Arab|nasu ''aleunsur'' alnnayib|italic=invert}} <span title="Arabic-script transliteration"><span>nasu ''aleunsur'' alnnayib</span></span> <span title="Arabic-script transliteration"><span>nasu ''aleunsur'' alnnayib</span></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ar|nasu aleunsur alnnayib|italic=whatever}} <span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span> <span title="Arabic-language romanization"><i lang="ar-Latn">nasu aleunsur alnnayib</i></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|Arab|nasu aleunsur alnnayib|italic=whatever}} <span title="Arabic-script transliteration"><span>nasu aleunsur alnnayib</span></span> <span title="Arabic-script transliteration"><span>nasu aleunsur alnnayib</span></span>

test_16_xlit_engvar

test_16_xlit_engvar
Test Expected Actual
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ja|Tōkyō tawā}} <span title="Japanese-language romanization"><i lang="ja-Latn">Tōkyō tawā</i></span> <span title="Japanese-language romanization"><i lang="ja-Latn">Tōkyō tawā</i></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ja|Tōkyō tawā|envar=}} <span title="Japanese-language romanization"><i lang="ja-Latn">Tōkyō tawā</i></span> <span title="Japanese-language romanization"><i lang="ja-Latn">Tōkyō tawā</i></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ja|Tōkyō tawā|engvar=ca}} <span title="Japanese-language romanization"><i lang="ja-Latn">Tōkyō tawā</i></span> <span title="Japanese-language romanization"><i lang="ja-Latn">Tōkyō tawā</i></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ja|Tōkyō tawā|engvar=ie}} <span title="Japanese-language romanisation"><i lang="ja-Latn">Tōkyō tawā</i></span> <span title="Japanese-language romanisation"><i lang="ja-Latn">Tōkyō tawā</i></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ko|rr|seongmyeong}} <span title="Revised Romanization of Korean transliteration"><i lang="ko-Latn">seongmyeong</i></span> <span title="Revised Romanization of Korean transliteration"><i lang="ko-Latn">seongmyeong</i></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ko|rr|seongmyeong|engvar=}} <span title="Revised Romanization of Korean transliteration"><i lang="ko-Latn">seongmyeong</i></span> <span title="Revised Romanization of Korean transliteration"><i lang="ko-Latn">seongmyeong</i></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ko|rr|seongmyeong|engvar=us}} <span title="Revised Romanization of Korean transliteration"><i lang="ko-Latn">seongmyeong</i></span> <span title="Revised Romanization of Korean transliteration"><i lang="ko-Latn">seongmyeong</i></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ko|rr|seongmyeong|engvar=in}} <span title="Revised Romanisation of Korean transliteration"><i lang="ko-Latn">seongmyeong</i></span> <span title="Revised Romanisation of Korean transliteration"><i lang="ko-Latn">seongmyeong</i></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ko|yaleko|seongmyeong}} <span title="Yale romanization of Korean"><i lang="ko-Latn">seongmyeong</i></span> <span title="Yale romanization of Korean"><i lang="ko-Latn">seongmyeong</i></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ko|yaleko|seongmyeong|engvar=}} <span title="Yale romanization of Korean"><i lang="ko-Latn">seongmyeong</i></span> <span title="Yale romanization of Korean"><i lang="ko-Latn">seongmyeong</i></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ko|yaleko|seongmyeong|engvar=us}} <span title="Yale romanization of Korean"><i lang="ko-Latn">seongmyeong</i></span> <span title="Yale romanization of Korean"><i lang="ko-Latn">seongmyeong</i></span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ko|yaleko|seongmyeong|engvar=in}} <span title="Yale romanisation of Korean"><i lang="ko-Latn">seongmyeong</i></span> <span title="Yale romanisation of Korean"><i lang="ko-Latn">seongmyeong</i></span>

test_17_category_from_tag

test_17_category_from_tag
Test Expected Actual
checkY {{#invoke:lang/sandbox|category_from_tag|nocat=yes|fr|link=yes}} Category:Articles containing French-language text Category:Articles containing French-language text
checkY {{#invoke:lang/sandbox|category_from_tag|nocat=yes|ber|link=yes}} Category:Articles with text in Berber languages Category:Articles with text in Berber languages
checkY {{#invoke:lang/sandbox|category_from_tag|nocat=yes|en|link=yes}} Category:Articles containing explicitly cited English-language text Category:Articles containing explicitly cited English-language text
checkY {{#invoke:lang/sandbox|category_from_tag|nocat=yes|en-gb|link=yes}} Category:Articles containing explicitly cited British English-language text Category:Articles containing explicitly cited British English-language text
checkY {{#invoke:lang/sandbox|category_from_tag|nocat=yes|fr}} Category:Articles containing French-language text Category:Articles containing French-language text
checkY {{#invoke:lang/sandbox|category_from_tag|nocat=yes|FR}} Category:Articles containing French-language text Category:Articles containing French-language text
checkY {{#invoke:lang/sandbox|category_from_tag|nocat=yes|ber}} Category:Articles with text in Berber languages Category:Articles with text in Berber languages
checkY {{#invoke:lang/sandbox|category_from_tag|nocat=yes|BER}} Category:Articles with text in Berber languages Category:Articles with text in Berber languages
checkY {{#invoke:lang/sandbox|category_from_tag|nocat=yes|en}} Category:Articles containing explicitly cited English-language text Category:Articles containing explicitly cited English-language text
checkY {{#invoke:lang/sandbox|category_from_tag|nocat=yes|EN}} Category:Articles containing explicitly cited English-language text Category:Articles containing explicitly cited English-language text
checkY {{#invoke:lang/sandbox|category_from_tag|nocat=yes|en-gb}} Category:Articles containing explicitly cited British English-language text Category:Articles containing explicitly cited British English-language text
checkY {{#invoke:lang/sandbox|category_from_tag|nocat=yes|EN-GB}} Category:Articles containing explicitly cited British English-language text Category:Articles containing explicitly cited British English-language text

test_18_name_from_tag

test_18_name_from_tag
Test Expected Actual
checkY {{#invoke:lang/sandbox|name_from_tag|nocat=yes|fr|link=yes}} French French
checkY {{#invoke:lang/sandbox|name_from_tag|nocat=yes|ber|link=yes}} Berber languages Berber languages
checkY {{#invoke:lang/sandbox|name_from_tag|nocat=yes|en|link=yes}} English English
checkY {{#invoke:lang/sandbox|name_from_tag|nocat=yes|en-gb|link=yes}} British English British English
checkY {{#invoke:lang/sandbox|name_from_tag|nocat=yes|fr}} French French
checkY {{#invoke:lang/sandbox|name_from_tag|nocat=yes|FR}} French French
checkY {{#invoke:lang/sandbox|name_from_tag|nocat=yes|ber}} Berber languages Berber languages
checkY {{#invoke:lang/sandbox|name_from_tag|nocat=yes|BER}} Berber languages Berber languages
checkY {{#invoke:lang/sandbox|name_from_tag|nocat=yes|en}} English English
checkY {{#invoke:lang/sandbox|name_from_tag|nocat=yes|EN}} English English
checkY {{#invoke:lang/sandbox|name_from_tag|nocat=yes|en-gb}} British English British English
checkY {{#invoke:lang/sandbox|name_from_tag|nocat=yes|EN-GB}} British English British English

test_19_tag_from_name

test_19_tag_from_name
Test Expected Actual
checkY {{#invoke:lang/sandbox|tag_from_name|nocat=yes|french}} fr fr
checkY {{#invoke:lang/sandbox|tag_from_name|nocat=yes|French}} fr fr
checkY {{#invoke:lang/sandbox|tag_from_name|nocat=yes|FRENCH}} fr fr
checkY {{#invoke:lang/sandbox|tag_from_name|nocat=yes|Berber Languages}} ber ber
checkY {{#invoke:lang/sandbox|tag_from_name|nocat=yes|Berber languages}} ber ber
checkY {{#invoke:lang/sandbox|tag_from_name|nocat=yes|British English}} en-gb en-gb
checkY {{#invoke:lang/sandbox|tag_from_name|nocat=yes|en}} enc enc
checkY {{#invoke:lang/sandbox|tag_from_name|nocat=yes|EN}} enc enc

test_20_is_ietf_tag

test_20_is_ietf_tag
Test Expected Actual
checkY {{#invoke:lang/sandbox|is_ietf_tag|nocat=yes|french}}
checkY {{#invoke:lang/sandbox|is_ietf_tag|nocat=yes|French}}
checkY {{#invoke:lang/sandbox|is_ietf_tag|nocat=yes|FRENCH}}
checkY {{#invoke:lang/sandbox|is_ietf_tag|nocat=yes|Berber Languages}}
checkY {{#invoke:lang/sandbox|is_ietf_tag|nocat=yes|Berber languages}}
checkY {{#invoke:lang/sandbox|is_ietf_tag|nocat=yes|British English}}
checkY {{#invoke:lang/sandbox|is_ietf_tag|nocat=yes|fr}} true true
checkY {{#invoke:lang/sandbox|is_ietf_tag|nocat=yes|FR}} true true
checkY {{#invoke:lang/sandbox|is_ietf_tag|nocat=yes|ber}} true true
checkY {{#invoke:lang/sandbox|is_ietf_tag|nocat=yes|BER}} true true
checkY {{#invoke:lang/sandbox|is_ietf_tag|nocat=yes|en}} true true
checkY {{#invoke:lang/sandbox|is_ietf_tag|nocat=yes|EN}} true true
checkY {{#invoke:lang/sandbox|is_ietf_tag|nocat=yes|en-gb}} true true
checkY {{#invoke:lang/sandbox|is_ietf_tag|nocat=yes|EN-GB}} true true

test_21_is_lang_name

test_21_is_lang_name
Test Expected Actual
checkY {{#invoke:lang/sandbox|is_lang_name|nocat=yes|french}} true true
checkY {{#invoke:lang/sandbox|is_lang_name|nocat=yes|French}} true true
checkY {{#invoke:lang/sandbox|is_lang_name|nocat=yes|FRENCH}} true true
checkY {{#invoke:lang/sandbox|is_lang_name|nocat=yes|Berber Languages}} true true
checkY {{#invoke:lang/sandbox|is_lang_name|nocat=yes|Berber languages}} true true
checkY {{#invoke:lang/sandbox|is_lang_name|nocat=yes|British English}} true true
checkY {{#invoke:lang/sandbox|is_lang_name|nocat=yes|fr}}
checkY {{#invoke:lang/sandbox|is_lang_name|nocat=yes|FR}}
checkY {{#invoke:lang/sandbox|is_lang_name|nocat=yes|ber}}
checkY {{#invoke:lang/sandbox|is_lang_name|nocat=yes|BER}}
checkY {{#invoke:lang/sandbox|is_lang_name|nocat=yes|en}} true true
checkY {{#invoke:lang/sandbox|is_lang_name|nocat=yes|EN}} true true
checkY {{#invoke:lang/sandbox|is_lang_name|nocat=yes|en-gb}}
checkY {{#invoke:lang/sandbox|is_lang_name|nocat=yes|EN-GB}}

test_22_lang_errors

test_22_lang_errors
Test Expected Actual
checkY {{#invoke:lang/sandbox|lang|nocat=yes|}} [undefined] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span> [undefined] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:lang/sandbox|lang|nocat=yes|fr}} [undefined] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span> [undefined] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:lang/sandbox|lang|nocat=yes|text=text}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: missing language tag ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: missing language tag ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:lang/sandbox|lang|nocat=yes|fr|code=fr|text}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: conflicting: {{{1}}} and &#124;code= ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: conflicting: {{{1}}} and &#124;code= ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:lang/sandbox|lang|nocat=yes|fr|text|text=text}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: conflicting: {{{2}}} and &#124;text= ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: conflicting: {{{2}}} and &#124;text= ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:lang/sandbox|lang|nocat=yes|proto=proto-y-bad|text=text}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: invalid &#124;proto=: proto-y-bad ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: invalid &#124;proto=: proto-y-bad ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:lang/sandbox|lang|nocat=yes|fr|''italics''}} [''italics''] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: text has italic markup ([[:Category:Lang and lang-xx template errors|help]])</span> [''italics''] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: text has italic markup ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:lang/sandbox|lang|nocat=yes|fr|text={{lang|fr|text=text}}}} <span title="French-language text"><i lang="fr"><span title="French-language text"><i lang="fr">text</i></span></i></span> <span title="French-language text"><i lang="fr"><span title="French-language text"><i lang="fr">text</i></span></i></span>
checkY {{#invoke:lang/sandbox|lang|nocat=yes|fr|malformed''''''}} [malformed''''''] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: text has malformed markup ([[:Category:Lang and lang-xx template errors|help]])</span> [malformed''''''] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: text has malformed markup ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:lang/sandbox|lang|nocat=yes|1ca|text}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: unrecognized language tag: 1ca ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: unrecognized language tag: 1ca ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#invoke:lang/sandbox|lang|nocat=yes|zz|text}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: unrecognized language code: zz ([[:Category:Lang and lang-xx template errors|help]])</span> [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang}}: unrecognized language code: zz ([[:Category:Lang and lang-xx template errors|help]])</span>
checkY {{#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>
checkY {{#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_23_lang_xx_errors

test_23_lang_xx_errors
Test Expected Actual
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|}} [] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=fr}} [undefined] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [undefined] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: no text ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|text=text}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: missing language tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: missing language tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|text|text=text}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: conflicting: {{{1}}} and &#124;text= ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: conflicting: {{{1}}} and &#124;text= ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|text|translit|translit=translit}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: conflicting: {{{2}}} and &#124;translit= ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: conflicting: {{{2}}} and &#124;translit= ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|text|lit|lit=lit}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: transliteration of latn script ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: transliteration of latn script ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|text|translation|translation=translation}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: transliteration of latn script ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: transliteration of latn script ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|text|lit=lit|translation=translation}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: conflicting: &#124;lit= and &#124;translation= ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: conflicting: &#124;lit= and &#124;translation= ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|{{lang|fr|text}}}} [[French language|French]]: <span lang="fr"><span title="French-language text"><i lang="fr">text</i></span></span>[[Category:Pages using Lang-xx templates]] [[French language|French]]: <span lang="fr"><span title="French-language text"><i lang="fr">text</i></span></span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=fr-Latn|script=Latn|text}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: redundant script tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: redundant script tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=fr|script=nonsense|text}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{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:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: unrecognized script: nonsense for code: fr ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|script=Arab|text}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{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:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: script: arab not supported for code: ar ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=en-US|region=US|text}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: redundant region tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: redundant region tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=de-XL|text}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{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:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: unrecognized region: xl for code: de ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=de-1901|variant=1901|text}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: redundant variant tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: redundant variant tag ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=de-19022|text}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: unrecognized variant: 19022 ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: unrecognized variant: 19022 ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=de|script=Armn|variant=1901|text}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{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:var(--color-error,#d33)">Error: &#x7B;{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]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=en|variant=1901|text}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{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:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: unrecognized variant: 1901 for code: en ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=es-x-419|text}} [text] <span style="color:var(--color-error,#d33)">Error: &#x7B;{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:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: unrecognized private tag: 419 ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|rtl=yes|نص العنصر النائب|nasu aleunsur alnnayib|translit-std=bob}} [نص العنصر النائب] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: invalid translit-std: bob ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]] [نص العنصر النائب] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Lang-xx}}: invalid translit-std: bob ([[:Category:Lang and lang-xx template errors|help]])</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|nocat=yes|code=ar|text=نص العنصر النائب|translit=nasu aleunsur alnnay|translit-std=DIN|translit-script=ar}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="DIN transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>, <small>[[Romanization of Arabic|romanized]]:&nbsp;</small><span title="DIN transliteration"><i lang="ar-Latn">nasu aleunsur alnnay</i></span>[[Category:Pages using Lang-xx templates]]

test_24_xlit_errors

test_24_xlit_errors
Test Expected Actual
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|al-Khwarizmi}} [al-Khwarizmi] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Transliteration}}: missing language / script code ([[:Category:Transliteration template errors|help]])</span> [al-Khwarizmi] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Transliteration}}: missing language / script code ([[:Category:Transliteration template errors|help]])</span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ar}} [undefined] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Transliteration}}: no text ([[:Category:Transliteration template errors|help]])</span> [undefined] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Transliteration}}: no text ([[:Category:Transliteration template errors|help]])</span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|at|al-Khwarizmi}} [al-Khwarizmi] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Transliteration}}: unrecognized language / script code: at ([[:Category:Transliteration template errors|help]])</span> [al-Khwarizmi] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Transliteration}}: unrecognized language / script code: at ([[:Category:Transliteration template errors|help]])</span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|ar|AL|al-Khwarizmi}} [al-Khwarizmi] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Transliteration}}: unrecognized transliteration standard: al ([[:Category:Transliteration template errors|help]])</span> [al-Khwarizmi] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Transliteration}}: unrecognized transliteration standard: al ([[:Category:Transliteration template errors|help]])</span>
checkY {{#invoke:lang/sandbox|xlit|nocat=yes|Arab|nasu ''aleunsur'' alnnayib|italic=yes|italics=no}} [nasu ''aleunsur'' alnnayib] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Transliteration}}: only one of &#124;italic=, &#124;italics=, or &#124;i= can be specified ([[:Category:Transliteration template errors|help]])</span> [nasu ''aleunsur'' alnnayib] <span style="color:var(--color-error,#d33)">Error: &#x7B;{Transliteration}}: only one of &#124;italic=, &#124;italics=, or &#124;i= can be specified ([[:Category:Transliteration template errors|help]])</span>

test_25_category_from_tag_errors

test_25_category_from_tag_errors
Test Expected Actual
checkY {{#invoke:lang/sandbox|category_from_tag|nocat=yes|sfsfsfs}} <span style="color:var(--color-error,#d33)">Error: unrecognized language tag: sfsfsfs</span> <span style="color:var(--color-error,#d33)">Error: unrecognized language tag: sfsfsfs</span>

test_26_name_from_tag_errors

test_26_name_from_tag_errors
Test Expected Actual
checkY {{#invoke:lang/sandbox|name_from_tag|nocat=yes|sfsfsfs}} <span style="color:var(--color-error,#d33)">Error: unrecognized language tag: sfsfsfs</span> <span style="color:var(--color-error,#d33)">Error: unrecognized language tag: sfsfsfs</span>

test_27_tag_from_name_errors

test_27_tag_from_name_errors
Test Expected Actual
checkY {{#invoke:lang/sandbox|tag_from_name|nocat=yes|sfsfsfs}} <span style="color:var(--color-error,#d33)">Error: language: sfsfsfs not found</span> <span style="color:var(--color-error,#d33)">Error: language: sfsfsfs not found</span>

test_28_html_tag_select

test_28_html_tag_select
Test Expected Actual
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|نص العنصر النائب}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|rtl=yes|نص العنصر النائب}} [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <span lang="ar" dir="rtl">نص العنصر النائب</span>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|{{rtl-para|نص العنصر النائب}}}} [[Arabic language|Arabic]]: <div lang="ar"><div dir="rtl" style="text-align:right">نص العنصر النائب</div></div>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <div lang="ar"><div dir="rtl" style="text-align:right">نص العنصر النائب</div></div>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=ar|rtl=yes|{{rtl-para|نص العنصر النائب}}}} [[Arabic language|Arabic]]: <div lang="ar" dir="rtl"><div dir="rtl" style="text-align:right">نص العنصر النائب</div></div>[[Category:Pages using Lang-xx templates]] [[Arabic language|Arabic]]: <div lang="ar" dir="rtl"><div dir="rtl" style="text-align:right">نص العنصر النائب</div></div>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=en|<poem>a test fails<br>Lua</poem>}} [[English language|English]]: <div lang="en">'"`UNIQ--poem-00000002-QINU`"'</div>[[Category:Pages using Lang-xx templates]] [[English language|English]]: <div lang="en">'"`UNIQ--poem-00000000-QINU`"'</div>[[Category:Pages using Lang-xx templates]]
checkY {{#invoke:lang/sandbox|lang_xx_inherit|code=en|Text with...

implied paragraph breaks.}}

[[English language|English]]: <div lang="en"><p>Text with...</p><p>implied paragraph breaks.</p></div>[[Category:Pages using Lang-xx templates]] [[English language|English]]: <div lang="en"><p>Text with...</p><p>implied paragraph breaks.</p></div>[[Category:Pages using Lang-xx templates]]

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.