יחידה:Navbar: הבדלים בין גרסאות בדף
remove obnoxious pcall-and-rethrow behavior, now that real script errors include details |
less misleading error message |
||
| שורה 42: | שורה 42: | ||
end | end | ||
local titleText = args[titleArg] or (':' .. mw.getCurrentFrame():getParent():getTitle()) | |||
title, talk_title = getTitle(titleText); | |||
if not title then | if not title then | ||
error(' | error('Invalid title ' .. titleText) | ||
end | end | ||