Content deleted Content added
per Talk request, silently return empty list |
check for "empty_list_error" |
||
Line 3:
local getArgs = require ('Module:Arguments').getArgs;
local lang_module = require ('Module:Lang');
local yes_no = require('Module:Yesno')
local defined_values = {
Line 219 ⟶ 220:
return out; -- to avoid replacement count contaminating the output
end
elseif args_t['empty_list_error'] == nil
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 '' -- if
end
|