Module talk:Template translation/testcases

From Bonkipedia
Revision as of 12:49, 29 January 2020 by [[mw:]]>Mainframe98 (Reverted edits by 114.125.213.153 (talk) to last version by Tacsipacsi)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

3 tests failed.

test_checkLanguage:

Text Expected Actual
Yes en en en
Yes en-us en-us en-us
Yes sr-cyrl sr-cyrl sr-cyrl
Yes fr-brai-ca fr-brai-ca fr-brai-ca
Yes de-ch de-ch de-ch
Yes a en en
Yes en--gb fr fr
Yes én es es
Yes en> nil nil

test_getFrameLanguageSubpage:

Text Expected Actual
N MediaWiki en
Yes MediaWiki/fr fr fr
Yes MediaWiki/de_ de de

test_getLanguageSubpage:

Text Expected Actual
N subpage en

test_getTranslatedTemplate:

Text Expected Actual
Yes Extension Template:Extension/en Template:Extension/en
N Extension/de Template:Extension/de Template:Extension/en
Yes Extension/de-ch Template:Extension/en Template:Extension/en
Yes Extension123 Extension123 Extension123