Thảo luận Mô đun:Protection banner/testcases

Nội dung trang không được hỗ trợ ở ngôn ngữ khác.
Bách khoa toàn thư mở Wikipedia

KhôngN 41 tests failed.

Name Expected Actual
☑Y testBannerNew
☑Y testBannerTemplateNewCfg
☑Y testBannerTemplateNewImageDefault
☑Y testBannerTemplateNewImageIndefTemplateOrModule
☑Y testBannerTemplateNewImageUsesIndefReason
☑Y testBannerTemplateRenderImageAlt
☑Y testBannerTemplateRenderImageCaption
☑Y testBannerTemplateRenderImageCustomWidth
☑Y testBannerTemplateRenderImageDefault
☑Y testBannerTemplateRenderImageDefaultNoConfig
☑Y testBannerTemplateRenderImageDefaultWidth
☑Y testBannerTemplateRenderImageFilename
☑Y testBannerTemplateRenderImageLink
☑Y testBannerToString
KhôngN 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"
KhôngN testBlurbFormatDateCustom 1970 1970 January January 1 1970 1970 tháng 1 tháng 1 1
☑Y testBlurbFormatDateError
KhôngN testBlurbFormatDateStandard 1 January 1970 tháng 1 1 1970
☑Y testBlurbGetExpandedMessage
KhôngN 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)"
KhôngN 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ệ"
☑Y testBlurbMakeBannerTextGoodFunction
☑Y testBlurbMakeBannerTextGoodInput
☑Y testBlurbMakeBannerTextString
KhôngN 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]
KhôngN 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]
☑Y testBlurbMakeEditRequestParameterLevels
KhôngN 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&section=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>"
☑Y testBlurbMakeExpiryParameterOther
☑Y testBlurbMakeExpiryParameterTemp
KhôngN 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""
☑Y testBlurbMakeExplanationBlurbParameterSpecialCases
☑Y testBlurbMakeImageLinkParameter
☑Y testBlurbMakeIntroBlurbParameter
☑Y testBlurbMakeIntroFragmentParameter
KhôngN 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"
☑Y testBlurbMakeProtectionDateParameter
KhôngN 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"
KhôngN 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]"
KhôngN 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]"
KhôngN 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]]
☑Y testBlurbMakeTooltipBlurbParameter
☑Y testBlurbMakeTooltipFragmentParameter
☑Y testBlurbMakeVandalTemplateParameter
☑Y testBlurbNew
☑Y testBlurbSubstituteParameters
☑Y testMainHasOutput
☑Y testMainNoWrapper
KhôngN testMainWrapper Mô_đun:Protection_banner/testcases:2128: Failed to find pattern "%[%[Category:.-%]%]" in string "[[Thể loại:Incorrect|Protection banner/testcases]]"
☑Y testMainWrapperOverride
☑Y testMainWrapperSandbox
☑Y testPadlockNew
☑Y testPadlockNewIndicators
KhôngN testPadlockToString Mô_đun:Protection_banner/testcases:198: Failed to find pattern "^%cUNIQ.-QINU%c$" in string "'"`UNIQ--nowiki-00000000-QINU`"''"`UNIQ--indicator-00000001-QINU`"'"
KhôngN 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"
KhôngN testProtectionActionAutoreview Lua error -- Mô_đun:Effective_protection_level:16: attempt to index field 'FlaggedRevs' (a nil value)
☑Y testProtectionActionEdit
KhôngN 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"
☑Y testProtectionActionMove
☑Y testProtectionActionUpload
KhôngN 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)"
KhôngN 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"
KhôngN 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 ("|")"
☑Y testProtectionCategoryAllAlls
☑Y testProtectionCategoryExpiryIndef
☑Y testProtectionCategoryExpiryTemp
☑Y testProtectionCategoryNamespaceFragment
☑Y testProtectionCategoryNoExpiry
☑Y testProtectionCategoryNoFalseMatches
☑Y testProtectionCategoryNoMatch
☑Y testProtectionCategoryNotProtected
☑Y testProtectionCategoryPrecedence1
☑Y testProtectionCategoryPrecedence10
☑Y testProtectionCategoryPrecedence2
☑Y testProtectionCategoryPrecedence3
☑Y testProtectionCategoryPrecedence4
☑Y testProtectionCategoryPrecedence5
☑Y testProtectionCategoryPrecedence6
☑Y testProtectionCategoryPrecedence7
☑Y testProtectionCategoryPrecedence8
☑Y testProtectionCategoryPrecedence9
KhôngN testProtectionCategoryProtected Mô_đun:Protection_banner/testcases:780: Failed to find pattern "^%[%[Category:.*%]%]$" in string "[[Thể loại:no keys|Ví dụ]]"
☑Y testProtectionCategoryTalk
☑Y testProtectionExpiryIndef
KhôngN testProtectionExpiryTemp Lua error -- Mô_đun:Effective_protection_level:16: attempt to index field 'FlaggedRevs' (a nil value)
☑Y testProtectionFull
☑Y testProtectionIsIncorrectFalse1
☑Y testProtectionIsIncorrectFalse2
☑Y testProtectionIsIncorrectTrue1
☑Y testProtectionIsIncorrectTrue2
☑Y testProtectionIsProtectedFalse
☑Y testProtectionIsProtectedFalse1
☑Y testProtectionIsProtectedFalse2
☑Y testProtectionIsProtectedTrue
☑Y testProtectionIsTemplateProtectedNonTemplateFalse1
☑Y testProtectionIsTemplateProtectedNonTemplateFalse2
☑Y testProtectionIsTemplateProtectedNonTemplateFalse3
☑Y testProtectionIsTemplateProtectedNonTemplateFalse4
☑Y testProtectionIsTemplateProtectedNonTemplateFalse5
☑Y testProtectionIsTemplateProtectedNonTemplateTrue1
☑Y testProtectionIsTemplateProtectedNonTemplateTrue2
☑Y testProtectionMakeCategoryLinksAllAbsent
KhôngN 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ụ]]
☑Y testProtectionMasterBannerConfigFields
☑Y testProtectionMasterBannerConfigPrecedence1
☑Y testProtectionMasterBannerConfigPrecedence2
☑Y testProtectionMasterBannerConfigPrecedence3
☑Y testProtectionMasterBannerConfigPrecedence4
KhôngN testProtectionNeedsExpiryFalse1 Lua error -- Mô_đun:Protection_banner/testcases:880: attempt to call method 'needsExpiry' (a nil value)
KhôngN testProtectionNeedsExpiryFalse2 Lua error -- Mô_đun:Protection_banner/testcases:891: attempt to call method 'needsExpiry' (a nil value)
KhôngN testProtectionNeedsExpiryFalse3 Lua error -- Mô_đun:Protection_banner/testcases:903: attempt to call method 'needsExpiry' (a nil value)
KhôngN testProtectionNeedsExpiryFalse4 Lua error -- Mô_đun:Protection_banner/testcases:916: attempt to call method 'needsExpiry' (a nil value)
KhôngN testProtectionNeedsExpiryTrue1 Lua error -- Mô_đun:Protection_banner/testcases:927: attempt to call method 'needsExpiry' (a nil value)
KhôngN testProtectionNeedsExpiryTrue2 Lua error -- Mô_đun:Protection_banner/testcases:940: attempt to call method 'needsExpiry' (a nil value)
☑Y testProtectionNoAction
KhôngN testProtectionNoExpiry Lua error -- Mô_đun:Effective_protection_level:16: attempt to index field 'FlaggedRevs' (a nil value)
☑Y testProtectionNoProtectionDate
☑Y testProtectionNoReason
KhôngN testProtectionPastExpiry Lua error -- Mô_đun:Effective_protection_level:16: attempt to index field 'FlaggedRevs' (a nil value)
KhôngN 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"
KhôngN testProtectionProtectionDateTemp Lua error -- sai protection date: 1 tháng 1 2000
☑Y testProtectionReason
☑Y testProtectionReasonLowerCase
☑Y testProtectionSemi
☑Y testProtectionSemiMove
☑Y testProtectionTemplate
KhôngN testProtectionTitleBlacklist templateeditor *
☑Y testProtectionUnprotected
KhôngN 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ụ]]"

KhôngN test_mainError invalid expiry date: foo Mô_đun:Effective_protection_level:16: attempt to index field 'FlaggedRevs' (a nil value)
☑Y test_mainLarge1
☑Y test_mainLarge2
☑Y test_mainLarge3
☑Y test_mainLarge4
☑Y test_mainNoBanner
KhôngN 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`"'"
KhôngN 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`"'"
KhôngN 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`"'"