45,647
edits
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
function export.getLink(frame) | function export.getLink(frame) | ||
local a = | local a = 2 | ||
local params = { | local params = { | ||
[1] = nil, | |||
[a] = {list = true}, -- Wascotl | [a] = {list = true}, -- Wascotl | ||
} | } | ||
Line 38: | Line 39: | ||
if item:find("<") and not item:find("^[^<]*<[a-z]*[^a-z:]") then | if item:find("<") and not item:find("^[^<]*<[a-z]*[^a-z:]") then | ||
local run = m_iut.parse_balanced_segment_run(item, "<", ">") | local run = m_iut.parse_balanced_segment_run(item, "<", ">") | ||
local orig_param = i | local orig_param = i + 1 | ||
local function parse_err(msg) | local function parse_err(msg) | ||
error(msg .. ": " .. orig_param .. "= " .. table.concat(run)) | error(msg .. ": " .. orig_param .. "= " .. table.concat(run)) |