Difference between revisions of "Module:Extension"

93 bytes added ,  23:57, 22 October 2017
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/',
Anonymous user