Module talk:Documentation/testcases
Add topic
27 tests failed.
| Name | Expected | Actual | |
|---|---|---|---|
| testMessage | |||
| testMakeToolbar | |||
| testMakeWikilink | |||
| testMakeCategoryLink | |||
| testMakeUrlLink | |||
| testEnvTitle | Wikipedia:Sandbox | wikipedia:Sandbox | |
| testEnvBadTitle | |||
| testEnvTemplateTitle | |||
| testEnvDocTitle | |||
| testEnvSandboxTitle | |||
| testEnvTestcasesTitle | |||
| testEnvProtectionLevels | Module:Documentation/testcases:110: Failed to assert that nil equals expected autoconfirmed | ||
| testEnvSubjectSpace | |||
| testEnvDocSpace | |||
| testEnvDocpageBase | |||
| testEnvCompareUrl | Module:Documentation/testcases:52: Failed to assert that nil equals expected //en.wikipedia.org/w/index.php?title=Special%3AComparePages&page1=Template%3AEdit+protected&page2=Template%3AEdit+protected%2Fsandbox | ||
| testSandboxNoticeNotSandbox | |||
| testSandboxNoticeStaticVals | |||
| testSandboxNoticeTemplateBlurb | Module:Documentation/testcases:193: Failed to find plain string "This is the [[Wikipedia:Template test cases|template sandbox]] page for [[Template:Example]]" in string "<div class="documentation-clear"></div>'"`UNIQ--templatestyles-00000002-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Sandbox.svg|50px|alt=|link=]]</td><td class="mbox-text">__EXPECTUNUSEDTEMPLATE__This is the [[w:Wikipedia:Template test cases|template sandbox]] page for [[Template:Example]].[[Category:Template sandboxes]]</td></tr></table>" | ||
| testSandboxNoticeModuleBlurb | Module:Documentation/testcases:199: Failed to find plain string "This is the [[Wikipedia:Template test cases|module sandbox]] page for [[Module:Math]]" in string "<div class="documentation-clear"></div>'"`UNIQ--templatestyles-00000004-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Sandbox.svg|50px|alt=|link=]]</td><td class="mbox-text">__EXPECTUNUSEDTEMPLATE__This is the [[w:Wikipedia:Template test cases|module sandbox]] page for [[Module:Math]].[[Category:Module sandboxes]]</td></tr></table>" | ||
| testSandboxNoticeOtherBlurb | |||
| testSandboxNoticeBlurbDiff | |||
| testSandboxNoticeBlurbDiffNoBasePage | |||
| testSandboxNoticeTestcases | Module:Documentation/testcases:231: Failed to find plain string "See also the companion subpage for [[Template:Edit protected/testcases|test cases]]." in string "<div class="documentation-clear"></div>'"`UNIQ--templatestyles-0000000C-QINU`"'<table class="plainlinks ombox ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Sandbox.svg|50px|alt=|link=]]</td><td class="mbox-text">__EXPECTUNUSEDTEMPLATE__This is the [[w:Wikipedia:Template test cases|template sandbox]] page for [[Template:Edit protected]].[[Category:Template sandboxes]]</td></tr></table>" | ||
| testSandboxNoticeNoTestcases | |||
| testProtectionTemplateUnprotectedTemplate | |||
| testProtectionTemplateProtectedTemplate | Module:Documentation/testcases:257: Failed to assert that nil is true | ||
| testProtectionTemplateUnprotectedModule | |||
| testProtectionTemplateProtectedModule | |||
| testStartBoxContentArg | Module:Documentation/testcases:279: Failed to find pattern "<div class="documentation%-startbox">
<span class="documentation%-heading">.-</span></div>" in string "<div class="documentation-startbox"> <span class="documentation-heading" id="documentation-heading">[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]] Template documentation</span></div>" | ||
| testStartBoxHtml | Module:Documentation/testcases:283: Failed to find pattern "<div class="documentation%-startbox">
<span class="documentation%-heading">.-</span><span class="mw%-editsection%-like plainlinks">.-</span></div>" in string "<div class="documentation-startbox"> <span class="documentation-heading" id="documentation-heading">[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]] Template documentation</span><span class="mw-editsection-like plainlinks">[[https://en.wikisource.org/w/index.php?title=Template:Example/doc&action=edit&preload=Template%3ADocumentation%2Fpreload create]] [[[Special:Purge/Template:Example|purge]]]</span></div>" | ||
| testMakeStartBoxLinksData | |||
| testMakeStartBoxLinksDataFilePreload | Template:Documentation/preload-filespace | Template:Documentation/preload | |
| testMakeStartBoxLinksDataTemplatePreload | |||
| testMakeStartBoxLinksDataArgsPreload | |||
| testRenderStartBoxLinksExists | [[[Template:Example/doc|view]]] [[//en.wikipedia.org/w/index.php?title=Template:Example/doc&action=edit edit]] [[//en.wikipedia.org/w/index.php?title=Template:Example/doc&action=history history]] [[//en.wikipedia.org/w/index.php?title=Template:Example&action=purge purge]] | [[https://en.wikisource.org/w/index.php?title=Template:Example/doc&action=edit&preload=Template%3AMyPreload create]] [[[Special:Purge/Template:Example|purge]]] | |
| testRenderStartBoxLinksDoesntExist | [[//en.wikipedia.org/w/index.php?title=Template:NonExistentTemplate/doc&action=edit&preload=Template%3AMyPreload create]] [[//en.wikipedia.org/w/index.php?title=Template:NonExistentTemplate&action=purge purge]] | [[https://en.wikisource.org/w/index.php?title=Template:NonExistentTemplate/doc&action=edit&preload=Template%3AMyPreload create]] [[[Special:Purge/Template:NonExistentTemplate|purge]]] | |
| testStartBoxDataBlankHeading | |||
| testStartBoxDataHeadingTemplate | |||
| testStartBoxDataHeadingModule | |||
| testStartBoxDataHeadingFile | |||
| testStartBoxDataHeadingOther | |||
| testStartBoxDataHeadingStyle | |||
| testStartBoxDataHeadingStyleTemplate | |||
| testStartBoxDataHeadingStyleOther | |||
| testStartBoxDataLinks | |||
| testStartBoxDataNoLinks | |||
| testRenderStartBox | <div class="documentation-startbox">
<span></span></div> |
<div class="documentation-startbox">
<span id="documentation-heading"></span></div> | |
| testRenderStartBoxHeadingStyleText | Module:Documentation/testcases:437: Failed to find plain string "
<span style="foo:bar">" in string "<div class="documentation-startbox"> <span id="documentation-heading" style="foo:bar"></span></div>" | ||
| testRenderStartBoxHeading | Module:Documentation/testcases:441: Failed to find plain string "
<span>Foobar</span>" in string "<div class="documentation-startbox"> <span id="documentation-heading">Foobar</span></div>" | ||
| testRenderStartBoxLinks | |||
| testRenderStartBoxLinksClass | |||
| testRenderStartBoxLinksId | |||
| testContentArg | |||
| testContentNoContent | |||
| testContentExists | |||
| testEndBoxLinkBoxOff | |||
| testEndBoxNoDocsOtherNs | |||
| testEndBoxAlwaysShowNs | |||
| testEndBoxStyles | |||
| testEndBoxLinkBoxArg | |||
| testEndBoxExperimentBlurbValidNs | |||
| testEndBoxExperimentBlurbInvalidNs | Module:Documentation/testcases:523: String type error (expected string, got nil) | ||
| testEndBoxCategoriesBlurb | Module:Documentation/testcases:533: String type error (expected string, got nil) | ||
| testDocPageBlurbError | |||
| testDocPageBlurbTemplateDocExists | The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[Template:Documentation/doc]]. <span class="documentation-toolbar">([//en.wikipedia.org/w/index.php?title=Template:Documentation/doc&action=edit edit] | [//en.wikipedia.org/w/index.php?title=Template:Documentation/doc&action=history history])</span><br /> | The above [[w:Wikipedia:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from [[Template:Documentation/doc]]. <span class="documentation-toolbar">([[Special:EditPage/Template:Documentation/doc|edit]] | [[Special:PageHistory/Template:Documentation/doc|history]])</span><br /> | |
| testDocPageBlurbTemplateDocDoesntExist | |||
| testDocPageBlurbModuleDocExists | The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[Module:Example/doc]]. <span class="documentation-toolbar">([//en.wikipedia.org/w/index.php?title=Module:Example/doc&action=edit edit] | [//en.wikipedia.org/w/index.php?title=Module:Example/doc&action=history history])</span><br /> | You might want to [https://en.wikisource.org/w/index.php?title=Module:Example/doc&action=edit&preload=Template%3ADocumentation%2Fpreload-module-doc create] a documentation page for this [[w:Wikipedia:Lua|Scribunto module]].<br /> | |
| testDocPageBlurbModuleDocDoesntExist | You might want to [//en.wikipedia.org/w/index.php?title=Module:Non-existent_module_ajlkfdsa/doc&action=edit&preload=Template%3ADocumentation%2Fpreload-module-doc create] a documentation page for this [[Wikipedia:Lua|Scribunto module]].<br /> | You might want to [https://en.wikisource.org/w/index.php?title=Module:Non-existent_module_ajlkfdsa/doc&action=edit&preload=Template%3ADocumentation%2Fpreload-module-doc create] a documentation page for this [[w:Wikipedia:Lua|Scribunto module]].<br /> | |
| testExperimentBlurbTemplate | |||
| testExperimentBlurbModule | |||
| testExperimentBlurbSandboxExists | Module:Documentation/testcases:584: Failed to find plain string "[[Template:Edit protected/sandbox|sandbox]] <span class="documentation-toolbar">([//en.wikipedia.org/w/index.php?title=Template:Edit_protected/sandbox&action=edit edit] | [//en.wikipedia.org/w/index.php?title=Special%3AComparePages&page1=Template%3AEdit+protected&page2=Template%3AEdit+protected%2Fsandbox diff])</span>" in string "Editors can experiment in this template's sandbox <span class="documentation-toolbar">([https://en.wikisource.org/w/index.php?title=Template:Edit_protected/sandbox&action=edit&preload=Template%3ADocumentation%2Fpreload-sandbox create] | [https://en.wikisource.org/w/index.php?title=Template:Edit_protected/sandbox&preload=Template%3ADocumentation%2Fmirror&action=edit&summary=Create+sandbox+version+of+%5B%5BTemplate%3AEdit+protected%5D%5D mirror])</span> and testcases <span class="documentation-toolbar">([https://en.wikisource.org/w/index.php?title=Template:Edit_protected/testcases&action=edit&preload=Template%3ADocumentation%2Fpreload-testcases create])</span> pages." | ||
| testExperimentBlurbSandboxDoesntExist | Module:Documentation/testcases:590: Failed to find plain string "sandbox <span class="documentation-toolbar">([//en.wikipedia.org/w/index.php?title=Template:Non-existent_template_sajdfasd/sandbox&action=edit&preload=Template%3ADocumentation%2Fpreload-sandbox create] | [//en.wikipedia.org/w/index.php?title=Template:Non-existent_template_sajdfasd/sandbox&preload=Template%3ADocumentation%2Fmirror&action=edit&summary=Create+sandbox+version+of+%5B%5BTemplate%3ANon-existent+template+sajdfasd%5D%5D mirror])</span>" in string "Editors can experiment in this template's sandbox <span class="documentation-toolbar">([https://en.wikisource.org/w/index.php?title=Template:Non-existent_template_sajdfasd/sandbox&action=edit&preload=Template%3ADocumentation%2Fpreload-sandbox create] | [https://en.wikisource.org/w/index.php?title=Template:Non-existent_template_sajdfasd/sandbox&preload=Template%3ADocumentation%2Fmirror&action=edit&summary=Create+sandbox+version+of+%5B%5BTemplate%3ANon-existent+template+sajdfasd%5D%5D mirror])</span> and testcases <span class="documentation-toolbar">([https://en.wikisource.org/w/index.php?title=Template:Non-existent_template_sajdfasd/testcases&action=edit&preload=Template%3ADocumentation%2Fpreload-testcases create])</span> pages." | ||
| testExperimentBlurbTestcasesExist | Module:Documentation/testcases:596: Failed to find plain string "[[Template:Edit protected/testcases|testcases]] <span class="documentation-toolbar">([//en.wikipedia.org/w/index.php?title=Template:Edit_protected/testcases&action=edit edit])</span>" in string "Editors can experiment in this template's sandbox <span class="documentation-toolbar">([https://en.wikisource.org/w/index.php?title=Template:Edit_protected/sandbox&action=edit&preload=Template%3ADocumentation%2Fpreload-sandbox create] | [https://en.wikisource.org/w/index.php?title=Template:Edit_protected/sandbox&preload=Template%3ADocumentation%2Fmirror&action=edit&summary=Create+sandbox+version+of+%5B%5BTemplate%3AEdit+protected%5D%5D mirror])</span> and testcases <span class="documentation-toolbar">([https://en.wikisource.org/w/index.php?title=Template:Edit_protected/testcases&action=edit&preload=Template%3ADocumentation%2Fpreload-testcases create])</span> pages." | ||
| testExperimentBlurbTestcasesDontExist | Module:Documentation/testcases:602: Failed to find plain string "testcases <span class="documentation-toolbar">([//en.wikipedia.org/w/index.php?title=Template:Non-existent_template_sajdfasd/testcases&action=edit&preload=Template%3ADocumentation%2Fpreload-testcases create])</span>" in string "Editors can experiment in this template's sandbox <span class="documentation-toolbar">([https://en.wikisource.org/w/index.php?title=Template:Non-existent_template_sajdfasd/sandbox&action=edit&preload=Template%3ADocumentation%2Fpreload-sandbox create] | [https://en.wikisource.org/w/index.php?title=Template:Non-existent_template_sajdfasd/sandbox&preload=Template%3ADocumentation%2Fmirror&action=edit&summary=Create+sandbox+version+of+%5B%5BTemplate%3ANon-existent+template+sajdfasd%5D%5D mirror])</span> and testcases <span class="documentation-toolbar">([https://en.wikisource.org/w/index.php?title=Template:Non-existent_template_sajdfasd/testcases&action=edit&preload=Template%3ADocumentation%2Fpreload-testcases create])</span> pages." | ||
| testMakeCategoriesBlurb | |||
| testMakeSubpagesBlurbTemplate | |||
| testMakeSubpagesBlurbModule | |||
| testMakeSubpagesBlurbOther | |||
| testAddTrackingCategoriesTemplatePage | |||
| testAddTrackingCategoriesDocPage | [[Category:Wikipedia pages with strange ((documentation)) usage]] | [[Category:Pages with strange documentation template usage]] | |
| testAddTrackingCategoriesTestcasesPage | [[Category:Wikipedia pages with strange ((documentation)) usage]] | [[Category:Pages with strange documentation template usage]] | |
| testAddTrackingCategoriesModuleDoc | [[Category:Wikipedia pages with strange ((documentation)) usage]] | [[Category:Pages with strange documentation template usage]] | |
| testAddTrackingCategoriesModuleTestcases | |||
| testAddTrackingCategoriesInvalidTitle | |||
| testNoTrailingWhitespace | |||
Start a discussion about Module:Documentation/testcases
Talk pages are where people discuss how to make content on Wikisource the best that it can be. You can use this page to start a discussion with others about how to improve Module:Documentation/testcases.