Module:Infobox: Difference between revisions

Fix smw bug for single-versioned infoboxes
m (Fix hidden bug)
(Fix smw bug for single-versioned infoboxes)
Line 444:
--]]
function Infobox:store_smw()
local versions = (self.versions > 1) and self.versions or 1 -- Grab versions, but convert 0 -> 1
for version=1, self.versions do
-- Generate a subobject name
-- Reminder - subobject name cannot have a . in the first 5 characters