10,731
edits
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 27: | Line 27: | ||
local cats = "" | local cats = "" | ||
local skip_comma = false | local skip_comma = false | ||
for i, l_id in ipairs(labels) do | for i, l_id in ipairs(labels) do | ||
if mw.ustring.sub(l_id, 1, 1) == "_" then | |||
skip_comma = true | |||
l_id = mw.ustring.sub(l_id, 2) | |||
end | |||
l_id = l_data.aliases[l_id] or l_id | l_id = l_data.aliases[l_id] or l_id | ||
local label = l_data.labels[l_id] | local label = l_data.labels[l_id] |