17,370
edits
(Amend various functions for AoD support) |
(getPurchaseContents: Fix for page names including apostrophes) |
||
Line 238: | Line 238: | ||
function p.getPurchaseContents(frame) | function p.getPurchaseContents(frame) | ||
local args = frame.args ~= nil and frame.args or frame | local args = frame.args ~= nil and frame.args or frame | ||
local purchaseName = args[1] | local purchaseName = Shared.fixPagename(args[1]) | ||
local asList = (args[2] ~= nil and string.upper(args[2]) == 'TRUE') | local asList = (args[2] ~= nil and string.upper(args[2]) == 'TRUE') | ||
local purchase = p.getPurchase(purchaseName) | local purchase = p.getPurchase(purchaseName) |