Difference between pages "Module:Util" and "Module:Util/sandbox"

(Difference between pages)
Jump to: navigation, search
Page 1
Page 2
m
 
 
Line 827: Line 827:
 
function util.misc.maybe_sandbox(frame)
 
function util.misc.maybe_sandbox(frame)
 
-- Did {{#invoke:}} call sandbox version?
 
-- Did {{#invoke:}} call sandbox version?
frame = util.misc.get_frame(frame)
+
frame = util.misc.get_frame()
 
if string.find(frame:getTitle(), 'sandbox', 1, true) then
 
if string.find(frame:getTitle(), 'sandbox', 1, true) then
 
return true
 
return true