Module:In lang/sandbox: Difference between revisions

Content deleted Content added
No edit summary
m Removed protection from "Module:In lang/sandbox": No longer necessary: Requested at RfPP with one transclusion
 
(4 intermediate revisions by 3 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
Line 202:
 
return {
in_lang = in_lang, -- module entry from {{#invoke:}}
native_name_lang = native_name_lang, -- experimental code; may not be retained
_in_lang = _in_lang, -- module entry from another module
 
cat_test = cat_test, -- temporary test code to be deleted