Content deleted Content added
No edit summary |
some simplifications |
||
Line 118:
if args_t.nolink then
table.insert (out_t, table.concat ({'(', lang_module._name_from_tag ({args_t[1], ['template']=template}), ')'}));
else
▲ if lang_module._is_ietf_tag (args_t[1]) then
▲ table.insert (out_t, table.concat ({'(', lang_module._name_from_tag ({args_t[1], ['link'] ='yes', ['template']=template}), ')'}));
▲ table.insert (out_t, '(language?)'); -- TODO: any reason to keep this?
end
Line 270 ⟶ 268:
return table.concat ({value, error_msg (messages_t.malformed_param, 'native name checker')}, ' '); -- no {{lang}} or {{native_name}} template
end
if 1 < count
and value:find ('</div>$'))
then return table.concat ({value, error_msg (messages_t.list_markup, 'native name checker')}, ' '); end
|