Jump to content

Module talk:Documentation/testcases

Page contents not supported in other languages.
Add topic
From Wikisource

N 24 tests failed.

Name Expected Actual
YesY testAddTrackingCategoriesDocPage
YesY testAddTrackingCategoriesInvalidTitle
YesY testAddTrackingCategoriesModuleDoc
YesY testAddTrackingCategoriesModuleTestcases
YesY testAddTrackingCategoriesTemplatePage
YesY testAddTrackingCategoriesTestcasesPage
YesY testContentArg
YesY testContentExists
YesY testContentNoContent
YesY testDocPageBlurbError
N 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 />
N 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] &#124; [//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 />
YesY testDocPageBlurbTemplateDocDoesntExist
N 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] &#124; [//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]] &#124; [[Special:PageHistory/Template:Documentation/doc|history]])</span><br />
YesY testEndBoxAlwaysShowNs
N testEndBoxCategoriesBlurb Module:Documentation/testcases:533: String type error (expected string, got nil)
N testEndBoxExperimentBlurbInvalidNs Module:Documentation/testcases:523: String type error (expected string, got nil)
YesY testEndBoxExperimentBlurbValidNs
YesY testEndBoxLinkBoxArg
YesY testEndBoxLinkBoxOff
YesY testEndBoxNoDocsOtherNs
YesY testEndBoxStyles
YesY testEnvBadTitle
N 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
YesY testEnvDocSpace
YesY testEnvDocTitle
YesY testEnvDocpageBase
N testEnvProtectionLevels Module:Documentation/testcases:110: Failed to assert that nil equals expected autoconfirmed
YesY testEnvSandboxTitle
YesY testEnvSubjectSpace
YesY testEnvTemplateTitle
YesY testEnvTestcasesTitle
N testEnvTitle Wikipedia:Sandbox wikipedia:Sandbox
YesY testExperimentBlurbModule
N 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] &#124; [//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] &#124; [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."
N 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] &#124; [//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] &#124; [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."
YesY testExperimentBlurbTemplate
N 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] &#124; [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."
N 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] &#124; [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."
YesY testMakeCategoriesBlurb
YesY testMakeCategoryLink
YesY testMakeStartBoxLinksData
YesY testMakeStartBoxLinksDataArgsPreload
N testMakeStartBoxLinksDataFilePreload Template:Documentation/preload-filespace Template:Documentation/preload
YesY testMakeStartBoxLinksDataTemplatePreload
YesY testMakeSubpagesBlurbModule
YesY testMakeSubpagesBlurbOther
YesY testMakeSubpagesBlurbTemplate
YesY testMakeToolbar
YesY testMakeUrlLink
YesY testMakeWikilink
YesY testMessage
YesY testNoTrailingWhitespace
YesY testProtectionTemplateProtectedModule
N testProtectionTemplateProtectedTemplate Module:Documentation/testcases:257: Failed to assert that nil is true
YesY testProtectionTemplateUnprotectedModule
YesY testProtectionTemplateUnprotectedTemplate
N testRenderStartBox <div class="documentation-startbox">

<span></span></div>

<div class="documentation-startbox">

<span id="documentation-heading"></span></div>

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

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

YesY testRenderStartBoxLinks
YesY testRenderStartBoxLinksClass
N testRenderStartBoxLinksDoesntExist &#91;[//en.wikipedia.org/w/index.php?title=Template:NonExistentTemplate/doc&action=edit&preload=Template%3AMyPreload create]&#93; &#91;[//en.wikipedia.org/w/index.php?title=Template:NonExistentTemplate&action=purge purge]&#93; &#91;[https://en.wikisource.org/w/index.php?title=Template:NonExistentTemplate/doc&action=edit&preload=Template%3AMyPreload create]&#93; &#91;[[Special:Purge/Template:NonExistentTemplate|purge]]&#93;
N testRenderStartBoxLinksExists &#91;[[Template:Example/doc|view]]&#93; &#91;[//en.wikipedia.org/w/index.php?title=Template:Example/doc&action=edit edit]&#93; &#91;[//en.wikipedia.org/w/index.php?title=Template:Example/doc&action=history history]&#93; &#91;[//en.wikipedia.org/w/index.php?title=Template:Example&action=purge purge]&#93; &#91;[https://en.wikisource.org/w/index.php?title=Template:Example/doc&action=edit&preload=Template%3AMyPreload create]&#93; &#91;[[Special:Purge/Template:Example|purge]]&#93;
YesY testRenderStartBoxLinksId
YesY testSandboxNoticeBlurbDiff
YesY testSandboxNoticeBlurbDiffNoBasePage
N 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-00000005-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">This is the [[w:Wikipedia:Template test cases|module sandbox]] page for [[Module:Math]].[[Category:Module sandboxes]]</td></tr></table>"
YesY testSandboxNoticeNoTestcases
YesY testSandboxNoticeNotSandbox
YesY testSandboxNoticeOtherBlurb
YesY testSandboxNoticeStaticVals
N 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-00000009-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">This is the [[w:Wikipedia:Template test cases|template sandbox]] page for [[Template:Example]].[[Category:Template sandboxes]]</td></tr></table>"
N 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-0000000A-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">This is the [[w:Wikipedia:Template test cases|template sandbox]] page for [[Template:Edit protected]].[[Category:Template sandboxes]]</td></tr></table>"
N 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>"

YesY testStartBoxDataBlankHeading
YesY testStartBoxDataHeadingFile
YesY testStartBoxDataHeadingModule
YesY testStartBoxDataHeadingOther
YesY testStartBoxDataHeadingStyle
YesY testStartBoxDataHeadingStyleOther
YesY testStartBoxDataHeadingStyleTemplate
YesY testStartBoxDataHeadingTemplate
YesY testStartBoxDataLinks
YesY testStartBoxDataNoLinks
N 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">&#91;[https://en.wikisource.org/w/index.php?title=Template:Example/doc&action=edit&preload=Template%3ADocumentation%2Fpreload create]&#93; &#91;[[Special:Purge/Template:Example|purge]]&#93;</span></div>"

Start a discussion about Module:Documentation/testcases

Start a discussion