Content deleted Content added
see if we can just fetch the frame, rather than having to keep passing it |
now we can just pass the args to assembleoutput() |
||
Line 555:
-- assembleoutput takes the sequence table containing the property values
-- and formats it according to switches given
local function assembleoutput(out,
--local args = frame.args
-- sorted is a boolean passed to enable sorting of the values returned
Line 621:
local out = propertyvalueandquals(props, frame.args, filter)
-- format the table of values and return it as a string:
return assembleoutput(out, frame.args, entity.id, propertyID)
end
Line 630:
local function _getvalueandquals(frame, entity, props, filter, propertyID, qualID)
local out = propertyvalueandquals(props, frame.args, filter, qualID)
return assembleoutput(out, frame.args, entity.id, propertyID)
end
Line 853:
end -- of check for wikibase entity
end -- of loop through values of propertyID
return assembleoutput(out, frame.args, entity.id, propertyID)
else
return errorOrEntity
|