Module:languages: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 396: Line 396:
end
end
return require((mw.ustring.match(m, "^wikt:") and "wikt:" or "") .. "Module:"
return require("Module:" .. (module_override or m)).tr(text, self:getCode(), sc and sc:getCode() or nil)
.. (module_override or mw.ustring.sub(m, 6))).tr(text, self:getCode(), sc and sc:getCode() or nil)
end
end


Navigation menu