Module:Hatnote: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(fix error category logic)
(fix function name)
Line 56: Line 56:
local ret = {}
local ret = {}
for i, page in ipairs(pages) do
for i, page in ipairs(pages) do
ret[i] = p.formatLink(page)
ret[i] = p._formatLink(page)
end
end
return ret
return ret
Line 70: Line 70:
local link = t[1]
local link = t[1]
local display = t[2]
local display = t[2]
links[i] = p.formatLink(link, display)
links[i] = p._formatLink(link, display)
end
end
return links
return links