Module:MOS genchain: Difference between revisions

Ganaram inukshuk (talk | contribs)
Do not move TODOs out of the comments!
ArrowHead294 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 125: Line 125:
mos_abbrev = tamnams.verify_abbrev(input_mos, mos_abbrev)
mos_abbrev = tamnams.verify_abbrev(input_mos, mos_abbrev)
local out_str = p._mos_genchain(input_mos, mos_prefix, mos_abbrev, collapsed)
local result = p._mos_genchain(input_mos, mos_prefix, mos_abbrev, collapsed)
return frame:preprocess(debugg == true and "<pre>" .. out_str .. "</pre>" or out_str)
-- Debugger option
if debugg == true then
result = "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>"
end
return frame:preprocess(result)
end
end


return p
return p