Module:Lang: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 508:
]]
 
local function render_maint(nocat)
local maint = {};
Line 519:
end
if (0 < #maint_cats) and (0 == namespace) and not is_set (args.nocat) then
for _, cat in ipairs (maint_cats) do
table.insert (maint, table.concat ({'[[Category:', cat, ']]'}));
Line 603:
table.insert (out, make_text_span (args.code, args.text, args.rtl, args.italic, args.size));
table.insert (out, make_category (code, language_name, args.nocat));
table.insert (out, render_maint(args.nocat)); -- maintenance messages and categories
 
return table.concat (out); -- put it all together and done
Line 774:
table.insert (out, make_category (code, language_name, args.nocat));
table.insert (out, render_maint(args.nocat)); -- maintenance messages and categories
 
return table.concat (out); -- put it all together and done
Anonymous user