Module:Native name/sandbox: Difference between revisions

Content deleted Content added
check for "empty_list_error"
fix parameter the way that Trappist likes
Line 220:
return out; -- to avoid replacement count contaminating the output
end
elseif yes_no(args_t['empty_list_errorsuppress_empty_list_error']) == nil then
return '' -- if empty list error is suppressed, return blank
or yes_no(args_t['empty_list_error']) then
return error_msg (messages_t.empty_list, 'native name list'); -- default return empty list error
else
return '' error_msg (messages_t.empty_list, 'native name list'); -- if empty_list_error is explicitly "no",else return blankerror
end