Module:Lang: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
(enable lang-xx promotion messaging;) |
||
Line 753: | Line 753: | ||
table.insert (out, make_category (code, language_name, args.nocat)); |
table.insert (out, make_category (code, language_name, args.nocat)); |
||
if 0 < #maint_msgs then |
|||
table.insert (out, table.concat ({'<span class="lang-comment" style="font-style:normal; display:none; color:#33aa33; margin-left:0.3em">'})); |
|||
for _, msg in ipairs (maint_msgs) do |
|||
table.insert (out, table.concat ({msg, ' '})); |
|||
end |
|||
table.insert (out, '</span>'); |
|||
end |
|||
if (0 < #maint_cats) and (0 == namespace) and not is_set (args.nocat) then |
|||
for _, cat in ipairs (maint_cats) do |
|||
table.insert (out, table.concat ({'[[Category:', cat, ']]'})); |
|||
end |
|||
end |
|||
return table.concat (out); -- put it all together and done |
return table.concat (out); -- put it all together and done |
||
end |
end |