Thảo luận Mô đun:Protection banner/testcases
41 tests failed.
Name | Expected | Actual | |
---|---|---|---|
testBannerNew | |||
testBannerTemplateNewCfg | |||
testBannerTemplateNewImageDefault | |||
testBannerTemplateNewImageIndefTemplateOrModule | |||
testBannerTemplateNewImageUsesIndefReason | |||
testBannerTemplateRenderImageAlt | |||
testBannerTemplateRenderImageCaption | |||
testBannerTemplateRenderImageCustomWidth | |||
testBannerTemplateRenderImageDefault | |||
testBannerTemplateRenderImageDefaultNoConfig | |||
testBannerTemplateRenderImageDefaultWidth | |||
testBannerTemplateRenderImageFilename | |||
testBannerTemplateRenderImageLink | |||
testBannerToString | |||
testBannerToStringError | Mô_đun:Protection_banner/testcases:44: Failed to find plain string "no reason text set" in string "không có đặt văn bản lý do" | ||
testBlurbFormatDateCustom | 1970 1970 January January 1 | 1970 1970 tháng 1 tháng 1 1 | |
testBlurbFormatDateError | |||
testBlurbFormatDateStandard | 1 January 1970 | tháng 1 1 1970 | |
testBlurbGetExpandedMessage | |||
testBlurbMakeBannerTextBadFunction | Mô_đun:Protection_banner/testcases:44: Failed to find plain string "bad output from banner config function with key "text" (expected string, got number)" in string "Mô_đun:Protection_banner/testcases:1766: đầu ra xấu từ chức năng cấu hình banner với key "text" (chuỗi thiếu, có number)" | ||
testBlurbMakeBannerTextBadInput | Mô_đun:Protection_banner/testcases:44: Failed to find plain string ""foo" is not a valid banner config field" in string ""foo" không phải là trường cấu hình biểu ngữ hợp lệ" | ||
testBlurbMakeBannerTextGoodFunction | |||
testBlurbMakeBannerTextGoodInput | |||
testBlurbMakeBannerTextString | |||
testBlurbMakeCurrentVersionParameterEdit | [//en.wikipedia.org/w/index.php?title=Th%C3%A0nh+vi%C3%AAn%3AV%C3%AD+d%E1%BB%A5&action=history edit display] | [//vi.wikipedia.org/w/index.php?title=Th%C3%A0nh_vi%C3%AAn%3AV%C3%AD_d%E1%BB%A5&action=history edit display] | |
testBlurbMakeCurrentVersionParameterMove | [//en.wikipedia.org/w/index.php?title=Special%3ALog&page=Th%C3%A0nh+vi%C3%AAn%3AV%C3%AD+d%E1%BB%A5&type=move move display] | [//vi.wikipedia.org/w/index.php?title=%C4%90%E1%BA%B7c_bi%E1%BB%87t%3ALog&page=Th%C3%A0nh+vi%C3%AAn%3AV%C3%AD+d%E1%BB%A5&type=move move display] | |
testBlurbMakeEditRequestParameterLevels | |||
testBlurbMakeEditRequestParameterLink | Mô_đun:Protection_banner/testcases:1221: Failed to find plain string "//en.wikipedia.org/w/index.php?" in string "<span class="plainlinks">[//vi.wikipedia.org/w/index.php?title=Th%E1%BA%A3o_lu%E1%BA%ADn_M%C3%B4_%C4%91un%3AProtection_banner%2Ftestcases&preload=B%E1%BA%A3n+m%E1%BA%ABu%3AY%C3%AAu+c%E1%BA%A7u+s%E1%BB%ADa+trang+kh%C3%B3a%2Fpreload&action=edit§ion=new&editintro=B%E1%BA%A3n+m%E1%BA%ABu%3AS%E1%BB%ADa+trang+h%E1%BA%A1n+ch%E1%BA%BF+s%E1%BB%ADa+%C4%91%E1%BB%95i%2Feditintro&preloadtitle=Y%C3%AAu+c%E1%BA%A7u+s%E1%BB%ADa+trang+b%E1%BB%8B+kh%C3%B3a+h%E1%BA%A1n+ch%E1%BA%BF+s%E1%BB%ADa+%C4%91%E1%BB%95i+ng%C3%A0y+21+th%C3%A1ng+4+n%C4%83m+2024&preloadparams%5B%5D=S%E1%BB%ADa+trang+h%E1%BA%A1n+ch%E1%BA%BF+s%E1%BB%ADa+%C4%91%E1%BB%95i&preloadparams%5B%5D=Th%E1%BA%A3o+lu%E1%BA%ADn+M%C3%B4+%C4%91un%3AProtection+banner%2Ftestcases the edit request display]</span>" | ||
testBlurbMakeExpiryParameterOther | |||
testBlurbMakeExpiryParameterTemp | |||
testBlurbMakeExplanationBlurbParameter | Mô_đun:Protection_banner/testcases:44: Failed to find plain string "could not find explanation blurb for action "edit", level "autoconfirmed" and talk key "talk"" in string "Mô_đun:ScribuntoUnit:480: không thể tìm thấy lời giải thích cho hành động "edit", cấp độ "autoconfirmed" và key thảo luận "talk"" | ||
testBlurbMakeExplanationBlurbParameterSpecialCases | |||
testBlurbMakeImageLinkParameter | |||
testBlurbMakeIntroBlurbParameter | |||
testBlurbMakeIntroFragmentParameter | |||
testBlurbMakeProtectionBlurbParameter | Mô_đun:Protection_banner/testcases:44: Failed to find plain string "no protection blurb defined for protectionBlurbs.edit.default" in string "Mô_đun:ScribuntoUnit:480: không có blurb khóa được định nghĩa cho protectionBlurbs.edit.default" | ||
testBlurbMakeProtectionDateParameter | |||
testBlurbMakeProtectionLevelParameter | Mô_đun:Protection_banner/testcases:44: Failed to find plain string "no protection level defined for protectionLevels.edit.default" in string "Mô_đun:ScribuntoUnit:480: không có cấp độ khóa được định nghĩa cho protectionLevels.edit.default" | ||
testBlurbMakeProtectionLogParameterPC | Mô_đun:Protection_banner/testcases:1566: Failed to find pattern "^%[//en%.wikipedia%.org/w/index%.php?" in string "[//vi.wikipedia.org/w/index.php?title=%C4%90%E1%BA%B7c_bi%E1%BB%87t%3ANh%E1%BA%ADt_tr%C3%ACnh&page=Th%C3%A0nh+vi%C3%AAn%3AV%C3%AD+d%E1%BB%A5&type=stable the key is pc-log-display]" | ||
testBlurbMakeProtectionLogParameterProtection | Mô_đun:Protection_banner/testcases:1599: Failed to find pattern "^%[//en%.wikipedia%.org/w/index%.php?" in string "[//vi.wikipedia.org/w/index.php?title=%C4%90%E1%BA%B7c_bi%E1%BB%87t%3ANh%E1%BA%ADt_tr%C3%ACnh&page=Th%C3%A0nh+vi%C3%AAn%3AV%C3%AD+d%E1%BB%A5&type=protect the key is protection-log-display]" | ||
testBlurbMakeTalkPageParameter | [[Thảo luận thành viên:Ví dụ#top|the key is talk-page-link-display]] | [[Thảo luận Thành viên:Ví dụ#top|the key is talk-page-link-display]] | |
testBlurbMakeTooltipBlurbParameter | |||
testBlurbMakeTooltipFragmentParameter | |||
testBlurbMakeVandalTemplateParameter | |||
testBlurbNew | |||
testBlurbSubstituteParameters | |||
testMainHasOutput | |||
testMainNoWrapper | |||
testMainWrapper | Mô_đun:Protection_banner/testcases:2128: Failed to find pattern "%[%[Category:.-%]%]" in string "[[Thể loại:Incorrect|Protection banner/testcases]]" | ||
testMainWrapperOverride | |||
testMainWrapperSandbox | |||
testPadlockNew | |||
testPadlockNewIndicators | |||
testPadlockToString | Mô_đun:Protection_banner/testcases:198: Failed to find pattern "^%cUNIQ.-QINU%c$" in string "'"`UNIQ--nowiki-00000000-QINU`"''"`UNIQ--indicator-00000001-QINU`"'" | ||
testPagetypeParameter | Mô_đun:Protection_banner/testcases:44: Failed to find plain string "no default pagetype defined" in string "Mô_đun:ScribuntoUnit:480: không có kiểu trang mặc định được định nghĩa" | ||
testProtectionActionAutoreview | Lua error -- Mô_đun:Effective_protection_level:16: attempt to index field 'FlaggedRevs' (a nil value) | ||
testProtectionActionEdit | |||
testProtectionActionError | Mô_đun:Protection_banner/testcases:44: Failed to find plain string "invalid action: foo" in string "Mô_đun:Protection_banner/testcases:41: sai hành động: foo" | ||
testProtectionActionMove | |||
testProtectionActionUpload | |||
testProtectionBadExpiry | Mô_đun:Protection_banner/testcases:44: Failed to find plain string "invalid expiry date: foobar" in string "Mô_đun:Effective_protection_level:16: attempt to index field 'FlaggedRevs' (a nil value)" | ||
testProtectionBadProtectionDate | Mô_đun:Protection_banner/testcases:44: Failed to find plain string "invalid protection date: foobar" in string "Mô_đun:Protection_banner/testcases:41: sai protection date: foobar" | ||
testProtectionBadReason | Mô_đun:Protection_banner/testcases:44: Failed to find plain string "reasons cannot contain the pipe character ("|")" in string "Mô_đun:Protection_banner/testcases:41: lý do không thể chứa ký tự cây đứng ("|")" | ||
testProtectionCategoryAllAlls | |||
testProtectionCategoryExpiryIndef | |||
testProtectionCategoryExpiryTemp | |||
testProtectionCategoryNamespaceFragment | |||
testProtectionCategoryNoExpiry | |||
testProtectionCategoryNoFalseMatches | |||
testProtectionCategoryNoMatch | |||
testProtectionCategoryNotProtected | |||
testProtectionCategoryPrecedence1 | |||
testProtectionCategoryPrecedence10 | |||
testProtectionCategoryPrecedence2 | |||
testProtectionCategoryPrecedence3 | |||
testProtectionCategoryPrecedence4 | |||
testProtectionCategoryPrecedence5 | |||
testProtectionCategoryPrecedence6 | |||
testProtectionCategoryPrecedence7 | |||
testProtectionCategoryPrecedence8 | |||
testProtectionCategoryPrecedence9 | |||
testProtectionCategoryProtected | Mô_đun:Protection_banner/testcases:780: Failed to find pattern "^%[%[Category:.*%]%]$" in string "[[Thể loại:no keys|Ví dụ]]" | ||
testProtectionCategoryTalk | |||
testProtectionExpiryIndef | |||
testProtectionExpiryTemp | Lua error -- Mô_đun: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|Ví dụ]][[Category:Expiry category|Ví dụ]][[Category:Incorrect category|Ví dụ]][[Category:Template category|Ví dụ]] | [[Category:Protection category|Ví dụ]][[Thể loại:Incorrect category|Ví dụ]][[Thể loại:Template category|Ví dụ]] | |
testProtectionMasterBannerConfigFields | |||
testProtectionMasterBannerConfigPrecedence1 | |||
testProtectionMasterBannerConfigPrecedence2 | |||
testProtectionMasterBannerConfigPrecedence3 | |||
testProtectionMasterBannerConfigPrecedence4 | |||
testProtectionNeedsExpiryFalse1 | Lua error -- Mô_đun:Protection_banner/testcases:880: attempt to call method 'needsExpiry' (a nil value) | ||
testProtectionNeedsExpiryFalse2 | Lua error -- Mô_đun:Protection_banner/testcases:891: attempt to call method 'needsExpiry' (a nil value) | ||
testProtectionNeedsExpiryFalse3 | Lua error -- Mô_đun:Protection_banner/testcases:903: attempt to call method 'needsExpiry' (a nil value) | ||
testProtectionNeedsExpiryFalse4 | Lua error -- Mô_đun:Protection_banner/testcases:916: attempt to call method 'needsExpiry' (a nil value) | ||
testProtectionNeedsExpiryTrue1 | Lua error -- Mô_đun:Protection_banner/testcases:927: attempt to call method 'needsExpiry' (a nil value) | ||
testProtectionNeedsExpiryTrue2 | Lua error -- Mô_đun:Protection_banner/testcases:940: attempt to call method 'needsExpiry' (a nil value) | ||
testProtectionNoAction | |||
testProtectionNoExpiry | Lua error -- Mô_đun:Effective_protection_level:16: attempt to index field 'FlaggedRevs' (a nil value) | ||
testProtectionNoProtectionDate | |||
testProtectionNoReason | |||
testProtectionPastExpiry | Lua error -- Mô_đun:Effective_protection_level:16: attempt to index field 'FlaggedRevs' (a nil value) | ||
testProtectionProtectionDateIndef | Mô_đun:Protection_banner/testcases:44: Failed to find plain string "invalid protection date: indefinite" in string "Mô_đun:Protection_banner/testcases:41: sai protection date: indefinite" | ||
testProtectionProtectionDateTemp | Lua error -- sai protection date: 1 tháng 1 2000 | ||
testProtectionReason | |||
testProtectionReasonLowerCase | |||
testProtectionSemi | |||
testProtectionSemiMove | |||
testProtectionTemplate | |||
testProtectionTitleBlacklist | templateeditor | * | |
testProtectionUnprotected | |||
test_mainCategories | Mô_đun:Protection_banner/testcases:2097: page unprotected
Failed to find pattern "%[%[Category:.-%]%]" in string "[[Thể loại:Trang có tham số bản mẫu khóa trang không đúng|Ví dụ]]" | ||
test_mainError | invalid expiry date: foo | Mô_đun:Effective_protection_level:16: attempt to index field 'FlaggedRevs' (a nil value) | |
test_mainLarge1 | |||
test_mainLarge2 | |||
test_mainLarge3 | |||
test_mainLarge4 | |||
test_mainNoBanner | |||
test_mainSmall1 | Mô_đun:Protection_banner/testcases:198: Failed to find pattern "^%cUNIQ.-QINU%c$" in string "'"`UNIQ--nowiki-00000002-QINU`"''"`UNIQ--indicator-00000003-QINU`"'" | ||
test_mainSmall2 | Mô_đun:Protection_banner/testcases:198: Failed to find pattern "^%cUNIQ.-QINU%c$" in string "'"`UNIQ--nowiki-00000004-QINU`"''"`UNIQ--indicator-00000005-QINU`"'" | ||
test_mainSmall3 | Mô_đun:Protection_banner/testcases:198: Failed to find pattern "^%cUNIQ.-QINU%c$" in string "'"`UNIQ--nowiki-00000006-QINU`"''"`UNIQ--indicator-00000007-QINU`"'" |