Difference between revisions of "Module:Extension"
Jump to navigation
Jump to search
m
migrate from template 'translation' to parser function #translation:
>Kghbln (oops) |
>Kaganer m (migrate from template 'translation' to parser function #translation:) |
||
Line 1: | Line 1: | ||
local lang = mw.language.getContentLanguage() | local lang = mw.language.getContentLanguage() | ||
local translation = mw.getCurrentFrame():expandTemplate{ title = 'translation' } | --local translation = mw.getCurrentFrame():expandTemplate{ title = 'translation' } | ||
local translation = mw.getCurrentFrame():callParserFunction{name='#translation', args="1"} | |||
local addr = { | local addr = { | ||
GNU = '//www.gnu.org/licenses/', | GNU = '//www.gnu.org/licenses/', |