Difference between revisions of "Module:Template translation"
Jump to navigation
Jump to search
m
no edit summary
>Verdy p m |
>Verdy p m |
||
Line 9: | Line 9: | ||
isKnownLanguageTag function. | isKnownLanguageTag function. | ||
]] | ]] | ||
if | --if (mw.ustring.match(subpage, "'") == nil) | ||
then | --then | ||
if (mw.language.isKnownLanguageTag(subpage)) | if (mw.language.isKnownLanguageTag(subpage)) | ||
then | then | ||
return subpage | return subpage | ||
end | end | ||
end | --end | ||
return '' | return '' | ||
end | end |