Changes

m
no edit summary
Line 55: Line 55:  
local getArgs = require("Module:GetArgs")
 
local getArgs = require("Module:GetArgs")
   −
function Utils.context(frame)
+
function Utils.getContext(frame)
 
     local parentFrame = frame:getParent()
 
     local parentFrame = frame:getParent()
 
     local args = getArgs{frame = parentFrame}
 
     local args = getArgs{frame = parentFrame}
Line 63: Line 63:     
function Utils.test_context(frame)
 
function Utils.test_context(frame)
     local context = Utils.context(frame)
+
     local context = Utils.getContext(frame)
 
     return "arg = " .. (context.arg or "?") .. " @ " .. (context.pagename or "?")
 
     return "arg = " .. (context.arg or "?") .. " @ " .. (context.pagename or "?")
 
end
 
end
    
return Utils
 
return Utils
cssedit, gkautomate
7,064

edits