Difference between revisions of "Module:Template translation"
m
bleh, forgot the one that matterq
>Guillom (isValidCode --> isKnownLanguageTag) |
>Guillom m (bleh, forgot the one that matterq) |
||
Line 34: | Line 34: | ||
function p.debug (frame) | function p.debug (frame) | ||
return 'subpage is valid lang code: '..tostring(mw.language. | return 'subpage is valid lang code: '..tostring(mw.language.isKnownLanguageTag(mw.title.getCurrentTitle().subpageText)) | ||
end | end | ||
return p | return p |