Difference between revisions of "Module:Template translation"

m
test unprocessed output
>Guillom
m (bleh, forgot the one that matterq)
>Guillom
m (test unprocessed output)
Line 34: Line 34:


function p.debug (frame)
function p.debug (frame)
     return 'subpage is valid lang code: '..tostring(mw.language.isKnownLanguageTag(mw.title.getCurrentTitle().subpageText))
     return frame:expandTemplate{ title = template, args = frame.args }
end
end


return p
return p
Anonymous user