Changes

Jump to: navigation, search

Module:Arguments

65 bytes added, 13:50, 10 December 2013
don't use "if frame == mw.getCurrentFrame()"
-- from another Lua module or from the debug console, so put the args in a special table so we can differentiate them.
local fargs, pargs, luaArgs
if type(frame ) == mw'table' and type(frame.getCurrentFrameargs) == 'table' and type(frame.getParent) == 'function' then
fargs = frame.args
pargs = frame:getParent().args
Anonymous user

Navigation menu