Changes
better error message
table.insert(boxTypes, mw.ustring.format('"%s"', k))
end
error(mw.ustring.format('Invalid invalid message box type. Valid "%s"; valid types are %s.', tostring(boxType), mw.text.listToText(boxTypes)), 2)
end