Module:Sandbox/Aidan9382: Difference between revisions

Content deleted Content added
m Any lint errors here are likely unintentional
why preprocess? idk (also potential traceback text layout)
Line 66:
return setmetatable(p,{
__index=function(t,k)
mw.log("Attempted to access unknown function '"..tostring(k).."'\n"..debug.traceback())
return function(frame)
local s =return "<span class=\"error\">Attempted to access unknown function '"..tostring(k).."'</span>"
return--local frame and= frame:preprocessmw.getCurrentFrame(s) or s
--local traceback = frame:extensionTag("syntaxhighlight", debug.traceback(), {lang="text"})
--return "<span class=\"error\">Attempted to access unknown function '"..tostring(k).."'</span>\n"..traceback
end
end