Changes
m
why did I delete the translation existence test ??? Sorry
if (subpage ~= '')
then
local translation = mw.title.new(namespace .. template .. '/' .. subpage) if (translation.id ~= 0) then langcode = subpage end
end
-- Copy args pseudo-table to a proper table so we can feed it to expandTemplate