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 |