Modul:Message box: Unterschied zwischen den Versionen
better error message
(finish ambox and split the config functions out to Module:Message box/data) |
(better error message) |
||
| Zeile 89: | Zeile 89: | ||
table.insert(boxTypes, mw.ustring.format('"%s"', k)) | table.insert(boxTypes, mw.ustring.format('"%s"', k)) | ||
end | end | ||
error(mw.ustring.format(' | error(mw.ustring.format('invalid message box type "%s"; valid types are %s', tostring(boxType), mw.text.listToText(boxTypes)), 2) | ||
end | end | ||