Module:In lang/sandbox: Difference between revisions

Content deleted Content added
m Trappist the monk moved page Module:Lang/utilities/sandbox to Module:In lang/sandbox without leaving a redirect: match name of template it implements
m Removed protection from "Module:In lang/sandbox": No longer necessary: Requested at RfPP with one transclusion
 
(2 intermediate revisions by 2 users not shown)
Line 1:
require ('Module:No globalsstrict');
 
 
Line 54:
end
 
if (0 == namespace) or list_cats then -- when in article space
if lang:find ('error') then -- add error category (message provided by Module:Lang)
if not list_cats then -- don't include this cat when listin cats; TODO: right choice?
Line 85:
 
table.insert (result, ')</span>'); -- add closing ) and closing span
table.insert (result, table.concat (maint_msgs) or ''); -- add maint messages, if any
table.insert (result, table.concat (cats)); -- add categories
return table.concat (result); -- make a big string and done