Content deleted Content added
Mdaniels5757 (talk | contribs) fix some tests |
SilverLocust (talk | contribs) fix one |
||
(14 intermediate revisions by 5 users not shown) | |||
Line 54:
d.dispute = 'dispute'
d.pc1 = 'autoconfirmed'
d.vand = 'vandalism'
d.blp = 'blp'
Line 142 ⟶ 141:
--------------------------------------------------------------------------------
function suite:
self:assertProtectionCategoryEquals('Wikipedia pages move-protected due to dispute', d.move, d.full, 0, d.dispute, nil)
end
Line 263 ⟶ 262:
function suite:testCategory_edit_full_file_vandalism_all()
self:assertProtectionCategoryEquals('Wikipedia fully
end
function suite:testCategory_edit_full_wikipedia_vandalism_all()
self:assertProtectionCategoryEquals('Wikipedia fully
end
function suite:testCategory_edit_full_help_vandalism_all()
self:assertProtectionCategoryEquals('Wikipedia fully
end
Line 283 ⟶ 282:
function suite:testCategory_edit_full_talk_vandalism_all()
self:assertProtectionCategoryEquals('Wikipedia fully
end
Line 299 ⟶ 298:
function suite:testCategory_edit_full_file_vandalism_temp()
self:assertProtectionCategoryEquals('Wikipedia fully
end
function suite:testCategory_edit_full_wikipedia_vandalism_temp()
self:assertProtectionCategoryEquals('Wikipedia fully
end
function suite:testCategory_edit_full_help_vandalism_temp()
self:assertProtectionCategoryEquals('Wikipedia fully
end
Line 319 ⟶ 318:
function suite:testCategory_edit_full_talk_vandalism_temp()
self:assertProtectionCategoryEquals('Wikipedia fully
end
Line 428 ⟶ 427:
function suite:testCategory_edit_template_template_all_temp()
self:assertProtectionCategoryEquals('Wikipedia template-protected templates', d.edit, d.template, 10, nil, d.temp)
end▼
function suite:testCategory_edit_extended_template_all_all()
self:assertProtectionCategoryEquals('Wikipedia
end
Line 440 ⟶ 443:
function suite:testCategory_edit_full_template_all_temp()
self:assertProtectionCategoryEquals('Wikipedia move-protected templates', d.move, d.full, 10, nil, d.temp)
end▼
function suite:testCategory_edit_template_templatetalk_all_all()
self:assertProtectionCategoryEquals('Wikipedia
end
Line 455 ⟶ 462:
function suite:testCategory_edit_full_module_all_all()
self:assertProtectionCategoryEquals('Wikipedia fully
end
function suite:testCategory_edit_full_module_all_temp()
self:assertProtectionCategoryEquals('Wikipedia fully
end
Line 712 ⟶ 719:
function suite:testCategory_edit_semi_main_all_indef()
self:assertProtectionCategoryEquals('Wikipedia indefinitely semi-protected pages', d.edit, d.semi, 0, nil, d.indef)
end▼
function suite:testCategory_edit_semi_main_all_all()
self:assertProtectionCategoryEquals('Wikipedia
end
Line 752 ⟶ 763:
function suite:testCategory_move_full_main_all_indef()
self:assertProtectionCategoryEquals('Wikipedia indefinitely move-protected pages', d.move, d.full, 0, nil, d.indef)
end▼
function suite:testCategory_move_full_main_all_all()
self:assertProtectionCategoryEquals('Wikipedia
end
Line 794 ⟶ 809:
end
function suite:
self:assertProtectionCategoryEquals('Wikipedia semi-protected pages', d.edit, d.semi, 0, nil,
end
Line 811 ⟶ 826:
function suite:testCategory_edit_full_file_all_all()
self:assertProtectionCategoryEquals('Wikipedia fully
end
function suite:testCategory_edit_full_wikipedia_all_all()
self:assertProtectionCategoryEquals('Wikipedia fully
end
function suite:testCategory_edit_full_help_all_all()
self:assertProtectionCategoryEquals('Wikipedia fully
end
Line 835 ⟶ 850:
function suite:testCategory_edit_full_talk_all_all()
self:assertProtectionCategoryEquals('Wikipedia fully
end
Line 882 ⟶ 897:
end
function suite:
self:assertProtectionCategoryEquals('Wikipedia move-protected pages', d.move, d.full, 0, nil,
end▼
function suite:testCategory_move_extended_main_all_all()
self:assertProtectionCategoryEquals('Wikipedia
end▼
function suite:testCategory_move_extended_template_all_all()
self:assertProtectionCategoryEquals('Wikipedia
end
Line 923 ⟶ 946:
function suite:testCategory_pc_pc1_user_all_all()
self:assertProtectionCategoryEquals('Wikipedia pending changes protected pages
end
function suite:testCategory_pc_pc1_usertalk_all_all()
self:assertProtectionCategoryEquals('Wikipedia pending changes protected pages
end
function suite:testCategory_pc_pc1_file_all_all()
self:assertProtectionCategoryEquals('Wikipedia pending changes protected pages
end
function suite:testCategory_pc_pc1_wikipedia_all_all()
self:assertProtectionCategoryEquals('Wikipedia pending changes protected pages
end
function suite:testCategory_pc_pc1_help_all_all()
self:assertProtectionCategoryEquals('Wikipedia pending changes protected pages
end
function suite:testCategory_pc_pc1_portal_all_all()
self:assertProtectionCategoryEquals('Wikipedia pending changes protected pages
end
function suite:testCategory_pc_pc1_template_all_all()
self:assertProtectionCategoryEquals('Wikipedia pending changes protected pages
end
function suite:testCategory_pc_pc1_category_all_all()
self:assertProtectionCategoryEquals('Wikipedia pending changes protected pages
end
function suite:testCategory_pc_pc1_talk_all_all()
self:assertProtectionCategoryEquals('Wikipedia pending changes protected pages
end
function suite:testCategory_pc_pc1_main_all_all()
self:assertProtectionCategoryEquals('Wikipedia pending changes protected pages
▲end
▲ self:assertProtectionCategoryEquals('Wikipedia pending changes protected pages (level 2)', d.pc, d.pc2, 2, nil, nil)
▲end
▲ self:assertProtectionCategoryEquals('Wikipedia pending changes protected pages (level 2)', d.pc, d.pc2, 3, nil, nil)
▲end
▲ self:assertProtectionCategoryEquals('Wikipedia pending changes protected pages (level 2)', d.pc, d.pc2, 6, nil, nil)
▲end
▲ self:assertProtectionCategoryEquals('Wikipedia pending changes protected pages (level 2)', d.pc, d.pc2, 4, nil, nil)
▲end
▲end
▲ self:assertProtectionCategoryEquals('Wikipedia pending changes protected pages (level 2)', d.pc, d.pc2, 10, nil, nil)
▲ self:assertProtectionCategoryEquals('Wikipedia pending changes protected pages (level 2)', d.pc, d.pc2, 0, nil, nil)
end
|