Difference between revisions of "Module:Template translation"

Jump to navigation Jump to search
m
no edit summary
en>Verdy p
m
en>Verdy p
m
Line 37: Line 37:
     local titleparts = mw.text.split(mw.title.getCurrentTitle().fullText, '/')
     local titleparts = mw.text.split(mw.title.getCurrentTitle().fullText, '/')
     local subpage = titleparts[#titleparts]
     local subpage = titleparts[#titleparts]
     return this.checkLanguage(subpage, mw.language.getContentLanguage():getCode())
     return this.checkLanguage(subpage, '')
end
end


Anonymous user

Navigation menu