• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
no edit summary
Line 18: Line 18:  
--Catch a failed require
 
--Catch a failed require
 
local success, equipment_table = pcall(function () return require(mw.ustring.format('Module:%s', name)) end)
 
local success, equipment_table = pcall(function () return require(mw.ustring.format('Module:%s', name)) end)
--require failed
+
--require failed, equipment_table can be true on a wikia bug (Ticket 356218)
if not success then
+
if not success or equipment_table == true then
 
--create a EquipmentData with what we have
 
--create a EquipmentData with what we have
 
equipment_table = {_name = name}
 
equipment_table = {_name = name}
cssedit, gkautomate
7,064

edits

Navigation menu