Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Message box: Difference between revisions

Content added Content deleted
(finish ambox and split the config functions out to Module:Message box/data)
(better error message)
Line 89: Line 89:
table.insert(boxTypes, mw.ustring.format('"%s"', k))
table.insert(boxTypes, mw.ustring.format('"%s"', k))
end
end
error(mw.ustring.format('Invalid message box type. Valid types are %s.', mw.text.listToText(boxTypes)))
error(mw.ustring.format('invalid message box type "%s"; valid types are %s', tostring(boxType), mw.text.listToText(boxTypes)), 2)
end
end


Cookies help us deliver our services. By using our services, you agree to our use of cookies.