Jump to content

Module:Template test case: Difference between revisions

pass the config through to NowikiInvocation from TableInvocation:getInvocation
(simplify p.main a little)
(pass the config through to NowikiInvocation from TableInvocation:getInvocation)
Line 419: Line 419:
function TableInvocation:getInvocation(template)
function TableInvocation:getInvocation(template)
if self.code then
if self.code then
local nowikiObj = NowikiInvocation(self.code)
local nowikiObj = NowikiInvocation(self.code, self.cfg)
return nowikiObj:getInvocation(template)
return nowikiObj:getInvocation(template)
else
else
Cookies help us deliver our services. By using our services, you agree to our use of cookies.