Module:Message box/div: Difference between revisions

Content deleted Content added
remove
move the exportDiv
Line 610:
 
function MessageBox:export()
-- DIV MIGRATION CONDITIONAL
if self.cfg.div_structure then
return MessageBox:exportDiv()
end
-- END DIV MIGRATION CONDITIONAL
 
local root = mw.html.create()
Line 769 ⟶ 764:
box:setParameters()
box:setCategories()
-- DIV MIGRATION CONDITIONAL
if selfbox.cfg.div_structure then
return MessageBoxbox:exportDiv()
end
-- END DIV MIGRATION CONDITIONAL
return box:export()
end