模块讨论:Protection banner/testcases
添加话题外观
27 tests failed.
Name | Expected | Actual | |
---|---|---|---|
testBannerNew | |||
testBannerTemplateNewCfg | |||
testBannerTemplateNewImageDefault | |||
testBannerTemplateNewImageIndefTemplateOrModule | |||
testBannerTemplateNewImageUsesIndefReason | |||
testBannerTemplateRenderImageAlt | |||
testBannerTemplateRenderImageCaption | |||
testBannerTemplateRenderImageCustomWidth | |||
testBannerTemplateRenderImageDefault | |||
testBannerTemplateRenderImageDefaultNoConfig | |||
testBannerTemplateRenderImageDefaultWidth | |||
testBannerTemplateRenderImageFilename | |||
testBannerTemplateRenderImageLink | |||
testBannerToString | |||
testBannerToStringError | |||
testBlurbFormatDateCustom | 1970 1970 January January 1 | 1970 1970 1月 1月 1 | |
testBlurbFormatDateError | |||
testBlurbFormatDateStandard | 1 January 1970 | 1 1月 1970 | |
testBlurbGetExpandedMessage | |||
testBlurbMakeBannerTextBadFunction | |||
testBlurbMakeBannerTextBadInput | |||
testBlurbMakeBannerTextGoodFunction | |||
testBlurbMakeBannerTextGoodInput | |||
testBlurbMakeBannerTextString | |||
testBlurbMakeCurrentVersionParameterEdit | [//en.wikipedia.org/w/index.php?title=User%3AExample&action=history edit display] | [//zh.wikisource.org/w/index.php?title=User%3AExample&action=history edit display] | |
testBlurbMakeCurrentVersionParameterMove | [//en.wikipedia.org/w/index.php?title=Special%3ALog&page=User%3AExample&type=move move display] | [//zh.wikisource.org/w/index.php?title=Special%3ALog&page=User%3AExample&type=move move display] | |
testBlurbMakeEditRequestParameterLevels | Lua error -- Module:Protection_banner/testcases:1208: attempt to call method '_makeEditRequestParameter' (a nil value) | ||
testBlurbMakeEditRequestParameterLink | Lua error -- Module:Protection_banner/testcases:1223: attempt to call method '_makeEditRequestParameter' (a nil value) | ||
testBlurbMakeExpiryParameterOther | |||
testBlurbMakeExpiryParameterTemp | |||
testBlurbMakeExplanationBlurbParameter | |||
testBlurbMakeExplanationBlurbParameterSpecialCases | |||
testBlurbMakeImageLinkParameter | |||
testBlurbMakeIntroBlurbParameter | |||
testBlurbMakeIntroFragmentParameter | |||
testBlurbMakeProtectionBlurbParameter | |||
testBlurbMakeProtectionDateParameter | |||
testBlurbMakeProtectionLevelParameter | |||
testBlurbMakeProtectionLogParameterPC | Module:Protection_banner/testcases:1566: Failed to find pattern "^%[//en%.wikipedia%.org/w/index%.php?" in string "[//zh.wikisource.org/w/index.php?title=Special%3ALog&page=User%3AExample&type=stable the key is pc-log-display]" | ||
testBlurbMakeProtectionLogParameterProtection | Module:Protection_banner/testcases:1599: Failed to find pattern "^%[//en%.wikipedia%.org/w/index%.php?" in string "[//zh.wikisource.org/w/index.php?title=Special%3ALog&page=User%3AExample&type=protect the key is protection-log-display]" | ||
testBlurbMakeTalkPageParameter | |||
testBlurbMakeTooltipBlurbParameter | |||
testBlurbMakeTooltipFragmentParameter | |||
testBlurbMakeVandalTemplateParameter | Lua error -- package.lua:80: module 'Module:Vandal-m' not found | ||
testBlurbNew | |||
testBlurbSubstituteParameters | |||
testMainHasOutput | |||
testMainNoWrapper | |||
testMainWrapper | |||
testMainWrapperOverride | |||
testMainWrapperSandbox | |||
testPadlockNew | |||
testPadlockNewIndicators | |||
testPadlockToString | Module:Protection_banner/testcases:198: Failed to find pattern "^%cUNIQ.-QINU%c$" in string "'"`UNIQ--nowiki-00000000-QINU`"''"`UNIQ--indicator-00000001-QINU`"'" | ||
testPagetypeParameter | |||
testProtectionActionAutoreview | Lua error -- Module:Effective_protection_level:16: attempt to index field 'FlaggedRevs' (a nil value) | ||
testProtectionActionEdit | |||
testProtectionActionError | |||
testProtectionActionMove | |||
testProtectionActionUpload | |||
testProtectionBadExpiry | Module:Protection_banner/testcases:44: Failed to find plain string "invalid expiry date: foobar" in string "Module:Effective_protection_level:16: attempt to index field 'FlaggedRevs' (a nil value)" | ||
testProtectionBadProtectionDate | |||
testProtectionBadReason | |||
testProtectionCategoryAllAlls | |||
testProtectionCategoryExpiryIndef | |||
testProtectionCategoryExpiryTemp | |||
testProtectionCategoryNamespaceFragment | |||
testProtectionCategoryNoExpiry | |||
testProtectionCategoryNoFalseMatches | |||
testProtectionCategoryNoMatch | |||
testProtectionCategoryNotProtected | |||
testProtectionCategoryPrecedence1 | |||
testProtectionCategoryPrecedence10 | |||
testProtectionCategoryPrecedence2 | |||
testProtectionCategoryPrecedence3 | |||
testProtectionCategoryPrecedence4 | |||
testProtectionCategoryPrecedence5 | |||
testProtectionCategoryPrecedence6 | |||
testProtectionCategoryPrecedence7 | |||
testProtectionCategoryPrecedence8 | |||
testProtectionCategoryPrecedence9 | |||
testProtectionCategoryProtected | |||
testProtectionCategoryTalk | |||
testProtectionExpiryIndef | |||
testProtectionExpiryTemp | Lua error -- Module:Effective_protection_level:16: attempt to index field 'FlaggedRevs' (a nil value) | ||
testProtectionFull | |||
testProtectionIsIncorrectFalse1 | |||
testProtectionIsIncorrectFalse2 | |||
testProtectionIsIncorrectTrue1 | |||
testProtectionIsIncorrectTrue2 | |||
testProtectionIsProtectedFalse | |||
testProtectionIsProtectedFalse1 | |||
testProtectionIsProtectedFalse2 | |||
testProtectionIsProtectedTrue | |||
testProtectionIsTemplateProtectedNonTemplateFalse1 | |||
testProtectionIsTemplateProtectedNonTemplateFalse2 | |||
testProtectionIsTemplateProtectedNonTemplateFalse3 | |||
testProtectionIsTemplateProtectedNonTemplateFalse4 | |||
testProtectionIsTemplateProtectedNonTemplateFalse5 | |||
testProtectionIsTemplateProtectedNonTemplateTrue1 | |||
testProtectionIsTemplateProtectedNonTemplateTrue2 | |||
testProtectionMakeCategoryLinksAllAbsent | |||
testProtectionMakeCategoryLinksAllPresent | [[Category:Protection category|Example]][[Category:Expiry category|Example]][[Category:Incorrect category|Example]][[Category:Template category|Example]] | [[Category:Protection category|Example]][[Category:Incorrect category|Example]][[Category:Template category|Example]] | |
testProtectionMasterBannerConfigFields | |||
testProtectionMasterBannerConfigPrecedence1 | |||
testProtectionMasterBannerConfigPrecedence2 | |||
testProtectionMasterBannerConfigPrecedence3 | |||
testProtectionMasterBannerConfigPrecedence4 | |||
testProtectionNeedsExpiryFalse1 | Lua error -- Module:Protection_banner/testcases:880: attempt to call method 'needsExpiry' (a nil value) | ||
testProtectionNeedsExpiryFalse2 | Lua error -- Module:Protection_banner/testcases:891: attempt to call method 'needsExpiry' (a nil value) | ||
testProtectionNeedsExpiryFalse3 | Lua error -- Module:Protection_banner/testcases:903: attempt to call method 'needsExpiry' (a nil value) | ||
testProtectionNeedsExpiryFalse4 | Lua error -- Module:Protection_banner/testcases:916: attempt to call method 'needsExpiry' (a nil value) | ||
testProtectionNeedsExpiryTrue1 | Lua error -- Module:Protection_banner/testcases:927: attempt to call method 'needsExpiry' (a nil value) | ||
testProtectionNeedsExpiryTrue2 | Lua error -- Module:Protection_banner/testcases:940: attempt to call method 'needsExpiry' (a nil value) | ||
testProtectionNoAction | |||
testProtectionNoExpiry | Lua error -- Module:Effective_protection_level:16: attempt to index field 'FlaggedRevs' (a nil value) | ||
testProtectionNoProtectionDate | |||
testProtectionNoReason | |||
testProtectionPastExpiry | Lua error -- Module:Effective_protection_level:16: attempt to index field 'FlaggedRevs' (a nil value) | ||
testProtectionProtectionDateIndef | |||
testProtectionProtectionDateTemp | |||
testProtectionReason | |||
testProtectionReasonLowerCase | |||
testProtectionSemi | |||
testProtectionSemiMove | |||
testProtectionTemplate | |||
testProtectionTitleBlacklist | templateeditor | * | |
testProtectionUnprotected | |||
test_mainCategories | |||
test_mainError | invalid expiry date: foo | Module:Effective_protection_level:16: attempt to index field 'FlaggedRevs' (a nil value) | |
test_mainLarge1 | |||
test_mainLarge2 | |||
test_mainLarge3 | |||
test_mainLarge4 | |||
test_mainNoBanner | |||
test_mainSmall1 | Module:Protection_banner/testcases:198: Failed to find pattern "^%cUNIQ.-QINU%c$" in string "'"`UNIQ--nowiki-00000002-QINU`"''"`UNIQ--indicator-00000003-QINU`"'" | ||
test_mainSmall2 | Module:Protection_banner/testcases:198: Failed to find pattern "^%cUNIQ.-QINU%c$" in string "'"`UNIQ--nowiki-00000004-QINU`"''"`UNIQ--indicator-00000005-QINU`"'" | ||
test_mainSmall3 | Module:Protection_banner/testcases:198: Failed to find pattern "^%cUNIQ.-QINU%c$" in string "'"`UNIQ--nowiki-00000006-QINU`"''"`UNIQ--indicator-00000007-QINU`"'" |
发起有关Module:Protection banner/testcases的讨论
讨论页是人们讨论如何改善Wikisource上的内容的地方。您可以使用此页面发起有关如何改进Module:Protection banner/testcases的讨论。