Module talk:Lang/documentor tool/testcases

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

1 of 12 tests failed.

test_01_non_english_language_text_category_valid
Text Expected Actual
checkY {{#invoke:Lang/documentor_tool/sandbox|non_english_language_text_category|test=Category:Articles containing German-language text}}

This category contains articles with German-language text. The primary purpose of these categories is to facilitate manual or automated checking of text in other languages.

This category should only be added with the {{Lang}} family of templates, never explicitly.

For example {{Lang|de|text in German language here}}, which wraps the text with <span lang="de">. Also available is {{Lang-de|text in German language here}} which displays as German: text in German language here.


See also[edit]

This category contains articles with German-language text. The primary purpose of these categories is to facilitate manual or automated checking of text in other languages.

This category should only be added with the {{Lang}} family of templates, never explicitly.

For example {{Lang|de|text in German language here}}, which wraps the text with <span lang="de">. Also available is {{Lang-de|text in German language here}} which displays as German: text in German language here.


See also[edit]

checkY {{#invoke:Lang/documentor_tool/sandbox|non_english_language_text_category|test=Category:Articles with text in Berber languages}}

This category contains articles with Berber languages text. The primary purpose of these categories is to facilitate manual or automated checking of text in other languages.

This category should only be added with the {{Lang}} family of templates, never explicitly.

For example {{Lang|ber|text in Berber languages language here}}, which wraps the text with <span lang="ber">. Also available is {{Lang-ber|text in Berber languages language here}} which displays as Berber languages: text in Berber languages language here.


This category contains articles with Berber languages text. The primary purpose of these categories is to facilitate manual or automated checking of text in other languages.

This category should only be added with the {{Lang}} family of templates, never explicitly.

For example {{Lang|ber|text in Berber languages language here}}, which wraps the text with <span lang="ber">. Also available is {{Lang-ber|text in Berber languages language here}} which displays as Berber languages: text in Berber languages language here.


checkY {{#invoke:Lang/documentor_tool/sandbox|non_english_language_text_category|test=Category:Articles containing explicitly cited English-language text}}

This category contains articles with English-language text. The primary purpose of these categories is to facilitate manual or automated checking of text in other languages.

This category should only be added with the {{Lang}} family of templates, never explicitly.

For example {{Lang|en|text in English language here}}, which wraps the text with <span lang="en">. Also available is {{Lang-en|text in English language here}} which displays as English: text in English language here.


This category contains articles with English-language text. The primary purpose of these categories is to facilitate manual or automated checking of text in other languages.

This category should only be added with the {{Lang}} family of templates, never explicitly.

For example {{Lang|en|text in English language here}}, which wraps the text with <span lang="en">. Also available is {{Lang-en|text in English language here}} which displays as English: text in English language here.


test_02_non_english_language_text_category_optional_parameters
Text Expected Actual
checkY {{#invoke:Lang/documentor_tool/sandbox|non_english_language_text_category|test=Category:Articles containing German-language text|script=Ogham}}

This category contains articles with German-language (in Ogham) text. The primary purpose of these categories is to facilitate manual or automated checking of text in other languages.

This category should only be added with the {{Lang}} family of templates, never explicitly.

For example {{Lang|de|text in German language here}}, which wraps the text with <span lang="de">. Also available is {{Lang-de|text in German language here}} which displays as German: text in German language here.


See also[edit]

This category contains articles with German-language (in Ogham) text. The primary purpose of these categories is to facilitate manual or automated checking of text in other languages.

This category should only be added with the {{Lang}} family of templates, never explicitly.

For example {{Lang|de|text in German language here}}, which wraps the text with <span lang="de">. Also available is {{Lang-de|text in German language here}} which displays as German: text in German language here.


See also[edit]

checkY {{#invoke:Lang/documentor_tool/sandbox|non_english_language_text_category|test=Category:Articles containing German-language text|example=test example text}}

This category contains articles with German-language text. The primary purpose of these categories is to facilitate manual or automated checking of text in other languages.

This category should only be added with the {{Lang}} family of templates, never explicitly.

For example {{Lang|de|test example text}}, which wraps the text with <span lang="de">. Also available is {{Lang-de|test example text}} which displays as German: test example text.


See also[edit]

This category contains articles with German-language text. The primary purpose of these categories is to facilitate manual or automated checking of text in other languages.

This category should only be added with the {{Lang}} family of templates, never explicitly.

For example {{Lang|de|test example text}}, which wraps the text with <span lang="de">. Also available is {{Lang-de|test example text}} which displays as German: test example text.


See also[edit]

checkY {{#invoke:Lang/documentor_tool/sandbox|non_english_language_text_category|test=Category:Articles containing German-language text|script=Ogham|example=test example text}}

This category contains articles with German-language (in Ogham) text. The primary purpose of these categories is to facilitate manual or automated checking of text in other languages.

This category should only be added with the {{Lang}} family of templates, never explicitly.

For example {{Lang|de|test example text}}, which wraps the text with <span lang="de">. Also available is {{Lang-de|test example text}} which displays as German: test example text.


See also[edit]

This category contains articles with German-language (in Ogham) text. The primary purpose of these categories is to facilitate manual or automated checking of text in other languages.

This category should only be added with the {{Lang}} family of templates, never explicitly.

For example {{Lang|de|test example text}}, which wraps the text with <span lang="de">. Also available is {{Lang-de|test example text}} which displays as German: test example text.


See also[edit]

test_03_non_english_language_text_category_errors
Text Expected Actual
☒N {{#invoke:Lang/documentor_tool/sandbox|non_english_language_text_category|nocat=yes|test=Category:Articles with text in Artificial languages}} Error: Artificial languages is not a valid ISO 639 or IETF language name. Please see Template talk:Lang for assistance. Lua error in Module:Lang/documentor_tool/sandbox at line 331: bad argument #3 to 'format' (string expected, got nil).
checkY {{#invoke:Lang/documentor_tool/sandbox|non_english_language_text_category|nocat=yes|test=Category:Articles with text from the South Slavic languages collective}} Error: Articles with text from the South Slavic languages collective is not a a valid category title. Please see Template talk:Lang for assistance. Error: Articles with text from the South Slavic languages collective is not a a valid category title. Please see Template talk:Lang for assistance.
test_04_non_english_language_sources_category_valid
Text Expected Actual
checkY {{#invoke:Lang/documentor_tool/sandbox|non_english_language_sources_category|test=Category:Articles with German-language sources (de)}}

This is a tracking category for articles that use {{In lang|de}} to identify German-language sources.


See also[edit]

This is a tracking category for articles that use {{In lang|de}} to identify German-language sources.


See also[edit]

checkY {{#invoke:Lang/documentor_tool/sandbox|non_english_language_sources_category|test=Category:Articles with Berber languages-collective sources (ber)}} Error: Category:Articles with Berber languages-collective sources (ber) is not the category being populated by the {{In lang}} template. The correct category is located at: Category:Articles with sources in Berber languages (ber). Error: Category:Articles with Berber languages-collective sources (ber) is not the category being populated by the {{In lang}} template. The correct category is located at: Category:Articles with sources in Berber languages (ber).
test_05_non_english_language_sources_category_errors
Text Expected Actual
checkY {{#invoke:Lang/documentor_tool/sandbox|non_english_language_sources_category|nocat=yes|test=Category:Articles with German-language sources (gem)}} Error: Category:Articles with German-language sources (gem) is not the category being populated by the {{In lang}} template. The correct category is located at: Category:Articles with sources in Germanic languages (gem). Error: Category:Articles with German-language sources (gem) is not the category being populated by the {{In lang}} template. The correct category is located at: Category:Articles with sources in Germanic languages (gem).
checkY {{#invoke:Lang/documentor_tool/sandbox|non_english_language_sources_category|nocat=yes|test=Category:Articles with Germanic languages-collective sources (zzzz)}} Error: No language category found for zzzz. Please see Template talk:Lang for assistance. Error: No language category found for zzzz. Please see Template talk:Lang for assistance.