10,731
edits
TheNightAvl (talk | contribs) No edit summary Tag: Manual revert |
TheNightAvl (talk | contribs) No edit summary |
||
Line 409: | Line 409: | ||
for i, term in ipairs(args[2]) do | for i, term in ipairs(args[2]) do | ||
local i_term, i_args = m_inline.parse(term) | local i_term, i_args = m_inline.parse(term) | ||
if plaenk_alt[i_term] then i_term = plaenk_alt[cite_term] end | |||
n_parts = n_parts + 1 | n_parts = n_parts + 1 | ||
local language_from = nil | local language_from = nil | ||
if args["l"][i] or i_args["l"] then language_from = m_languages.get_by_code(args["l"][i] or i_args["l"]) end | if args["l"][i] or i_args["l"] then language_from = m_languages.get_by_code(args["l"][i] or i_args["l"]) end | ||
local cite_term = i_term | local cite_term = i_term | ||
if (language_from and language_from.proto) or ((not language_from) and language_to.proto) then cite_term = "*" .. cite_term end | if (language_from and language_from.proto) or ((not language_from) and language_to.proto) then cite_term = "*" .. cite_term end | ||
if not args["nocat"] then | if not args["nocat"] then |