Module:LuaCall: Difference between revisions

From Test Wiki
Content deleted Content added
Implementing suggested fix (no, it doesn't savvy dots!)
m renaming.....
Line 33: Line 33:
local reserved_arraypart=_G
local reserved_arraypart=_G
while reserved_function do
while reserved_function do
reserved_call=reserved_call[mw.ustring.match(reserved_function,"^(%a[^%.]*)%.") or reserved_arraypart]
reserved_call=reserved_call[mw.ustring.match(reserved_function,"^(%a[^%.]*)%.") or reserved_call]
local reserved_function=mw.ustring.match(reserved_function,"^%a[^%.]*%.(.*)$")
local reserved_function=mw.ustring.match(reserved_function,"^%a[^%.]*%.(.*)$")
debuglog=debuglog.."->"..reserved_function.."</nowiki><br /><nowiki>"
debuglog=debuglog.."->"..reserved_function.."</nowiki><br /><nowiki>"