Difference between revisions of "Module:Int"
Undid revision 3407669 by Sunny00217 (talk)
>Sunny00217 (test) |
>Sunny00217 (Undid revision 3407669 by Sunny00217 (talk)) |
||
Line 16: | Line 16: | ||
local msg = mw.message.new(mw.text.trim(args[1]), arguments) | local msg = mw.message.new(mw.text.trim(args[1]), arguments) | ||
local lang = templateTranslation.getLanguage() | local lang = templateTranslation.getLanguage() | ||
if (msg:exists() and not msg:isDisabled()) then | if (msg:exists() and not msg:isDisabled()) then | ||
local msgstr = msg:inLanguage(lang):plain() | local msgstr = msg:inLanguage(lang):plain() |