Module:Tour history: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 48: Line 48:


function p.is_tour_page(frame)
function p.is_tour_page(frame)
local title = frame.args[1]
local title = frame.args[1] or frame:getTitle()
return p._is_tour_page(frame)
return p._is_tour_page(title)
end
end


return p
return p