2,513
edits
(attempt at getting TNT work with Special:TemplateSandbox) |
m (16 revisions imported) |
||
(17 intermediate revisions by 11 users not shown) | |||
Line 253:
TemplateSandbox; mocking it with this method means templates won't be
localized but at least TemplateSandbox substitutions will work properly.
Won't work with complex uses.
]]
function this.mockTNT(frame)
Line 270 ⟶ 271:
end
end
if not pargs[1]
return frame:expandTemplate{title = args[1], args = arguments}▼
then
return ''
end
end
|