「モジュール:Autotranslate」の版間の差分

1版 をインポートしました
(1版 をインポートしました)
(1版 をインポートしました)
 
(他の1人の利用者による、間の1版が非表示)
59行目: 59行目:
assert(base and  #base>0, 'Base page not provided for autotranslate' )
assert(base and  #base>0, 'Base page not provided for autotranslate' )
if not mw.ustring.find(base,':') then  -- if base page does not indicate namespace
if not mw.ustring.find(base,':') then  -- if base page does not indicate namespace
base = 'Template:' .. base          -- than assume it is a template  
base = 'Template:' .. base          -- then assume it is a template  
end
end