Difference between revisions of "Module:Effective protection level"
Jump to navigation
Jump to search
Module:Effective protection level (view source)
Revision as of 14:20, 1 July 2014
, 14:20, 1 July 2014fix variable name
>Jackmcbarn (make the metatable work with the change coming June 5th) |
>Mr. Stradivarius (fix variable name) |
||
Line 64: | Line 64: | ||
return function(frameOrPagename) | return function(frameOrPagename) | ||
if type(frameOrPagename) == 'table' and frameOrPagename.args then | if type(frameOrPagename) == 'table' and frameOrPagename.args then | ||
return t._main(k, | return t._main(k, frameOrPagename.args[1]) | ||
else | else | ||
return t._main(k, frameOrPagename) | return t._main(k, frameOrPagename) |