10,731
edits
No edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 68: | Line 68: | ||
end | end | ||
l_id = l_data.aliases[l_id] or mw.ustring.gsub(l_id, "(\")([^\"]+)(\")", "</i>[[%2#" .. language.name .. "|%2]]<i>") -- replaces "word" with [[word#LANG|word]] | l_id = l_data.aliases[l_id] or mw.ustring.gsub(l_id, "([\"\*])([^\"\*]+)([\"\*])", "</i>[[%2#" .. language.name .. "|%2]]<i>") -- replaces "word" or *word* with [[word#LANG|word]] | ||
local label = l_data.labels[l_id] | local label = l_data.labels[l_id] |