Module:Sandbox/Chlod/sandbox: Difference between revisions

imported>Chlod
No edit summary
 
(No difference)

Latest revision as of 04:39, 5 February 2022

Lua error at line 10: attempt to index field 'getArgs' (a nil value).


local p = {}

function p._main(input)
	mw.log("test2")
	mw.log(input)
end

function p.main(frame)
	mw.log("test")
	p._main( frame.args[1] or frame:getParent().getArgs[1] or "no_input" )
end

return p