Jump to content

Module talk:Lang/documentor tool/testcases

Page contents not supported in other languages.
විකිපීඩියා වෙතින්

7 tests failed.

test_01_non_english_language_text_category_valid
Text Expected Actual
N {{#invoke:Lang/documentor_tool/sandbox|non_english_language_text_category|test=Category:Articles containing German-language text}} Error: Articles containing German-language text is not a a valid category title. Please see Template talk:Lang for assistance. Lua දෝෂය in Module:Lang/documentor_tool/sandbox at line 331: bad argument #3 to 'format' (string expected, got nil).
N {{#invoke:Lang/documentor_tool/sandbox|non_english_language_text_category|test=Category:Articles with text in Berber languages}}

මෙම ප්‍රවර්ගය Berber languages පෙළ සහිත ලිපි ලැයිස්තුගත කරයි. එසේ ප්‍රවර්ග ගත කිරීමේ ප්‍රධාන අරමුණ වන්නේ වෙනත් භාෂාවලින් සපයා ඇති පෙළ ස්වයංක්‍රීයව හෝ අතින් පරීක්ෂා කිරීමට පහසුකම් සැපයීමයි.

මෙම ප්‍රවර්ගයට පිටු එක් කළ යුත්තේ {{Lang}} පවුලේ සැකිලි හරහා පමණි. කිසිම විටෙක මෙම ප්‍රවර්ගය කෙළින්ම භාවිතා නොකළ යුතුය.

උදාහරණයක් ලෙස {{Lang|ber|Berber languages භාෂා පෙළ}}. එමඟින් අදාළ පෙළ <span lang="ber"> ආකාරයෙන් වෙළනු ලබයි.


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">.


N {{#invoke:Lang/documentor_tool/sandbox|non_english_language_text_category|test=Category:Articles containing explicitly cited English-language text}} Error: Articles containing explicitly cited English-language text is not a a valid category title. Please see Template talk:Lang for assistance. Lua දෝෂය in Module:Lang/documentor_tool/sandbox at line 331: bad argument #3 to 'format' (string expected, got nil).
test_02_non_english_language_text_category_optional_parameters
Text Expected Actual
N {{#invoke:Lang/documentor_tool/sandbox|non_english_language_text_category|test=Category:Articles containing German-language text|script=Ogham}} Error: Articles containing German-language text is not a a valid category title. Please see Template talk:Lang for assistance. Lua දෝෂය in Module:Lang/documentor_tool/sandbox at line 331: bad argument #3 to 'format' (string expected, got nil).
N {{#invoke:Lang/documentor_tool/sandbox|non_english_language_text_category|test=Category:Articles containing German-language text|example=test example text}} Error: Articles containing German-language text is not a a valid category title. Please see Template talk:Lang for assistance. Lua දෝෂය in Module:Lang/documentor_tool/sandbox at line 331: bad argument #3 to 'format' (string expected, got nil).
N {{#invoke:Lang/documentor_tool/sandbox|non_english_language_text_category|test=Category:Articles containing German-language text|script=Ogham|example=test example text}} Error: Articles containing German-language text is not a a valid category title. Please see Template talk:Lang for assistance. Lua දෝෂය in Module:Lang/documentor_tool/sandbox at line 331: bad argument #3 to 'format' (string expected, got nil).
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 දෝෂය in Module:Lang/documentor_tool/sandbox at line 331: bad argument #3 to 'format' (string expected, got nil).
YesY {{#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
YesY {{#invoke:Lang/documentor_tool/sandbox|non_english_language_sources_category|test=Category:Articles with German-language sources (de)}} Error: ප්‍රවර්ගය:Articles with German-language sources (de) is not the category being populated by the {{In lang}} template. The correct category is located at: ප්‍රවර්ගය:ජර්මන්-භාෂා මූලාශ්‍ර සහිත ලිපි (de). Error: ප්‍රවර්ගය:Articles with German-language sources (de) is not the category being populated by the {{In lang}} template. The correct category is located at: ප්‍රවර්ගය:ජර්මන්-භාෂා මූලාශ්‍ර සහිත ලිපි (de).
YesY {{#invoke:Lang/documentor_tool/sandbox|non_english_language_sources_category|test=Category:Articles with Berber languages-collective sources (ber)}} Error: ප්‍රවර්ගය: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: ප්‍රවර්ගය: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
YesY {{#invoke:Lang/documentor_tool/sandbox|non_english_language_sources_category|nocat=yes|test=Category:Articles with German-language sources (gem)}} Error: ප්‍රවර්ගය: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: ප්‍රවර්ගය: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).
YesY {{#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.
"https://si.wikipedia.org/w/index.php?title=Module_talk:Lang/documentor_tool/testcases&oldid=583586" වෙතින් සම්ප්‍රවේශනය කෙරිණි