Module:Template link general: Difference between revisions

add debug switch, doh
(Don't use nowiki by default -- this might be breaking, but fixes the 124 and 61 test cases)
(add debug switch, doh)
Line 124: Line 124:
span:wikitext(ret)
span:wikitext(ret)
--]]
--]]
if _ne(args.debug) then ret = ret .. '<br/><code>' .. mw.dumpObject(args) .. '</code>' end
return ret
return ret
end
end


return p
return p
Anonymous user