Module:Infobox: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(change strategy for default versions, doesn't need to duplicate SMW data to page if the versions know which is their default)
(add a parameter to the main page which lists the default version, for cases when there are multiple versions)
Line 499: Line 499:
end
end
end
end
if self.versions ~= 1 then mw.smw.set({['Default subobject']=self.version_names[self.default_version]}) end
end
end