Content deleted Content added
to consolidate common function to Module:LuaCall, for ease to maintain bug fix and improvement. Some bug fixes and improvements has been done there but not yet here. One of common functions like tostringOrNumber() will also be shared there. This is not proxying, but to share common code with other modules. |
Undid revision 886758119 by Ans (talk) The thing is, though, that Module:Ustring is the only module on all of Wikipedia that calls Module:LuaCall, so no "common code" argument can be made with p.import, which is in any case out of scope of the module |
||
Line 1:
local p = {}
for k, v in pairs(
p[k] = function(frame)
local args = frame.args
if args.tag then
local tag = {name = args.tag, content =
for x, y in pairs(args) do
if type(x)~='number' and x~='tag' then tag.args[x] = y end
Line 14:
return frame:extensionTag(tag)
end
return (
end
end
|