「モジュール:Autotranslate」の版間の差分
ナビゲーションに移動
検索に移動
細
Fulfilling edit request by OmegaFallon. Thanks for helping!
細 (1版 をインポートしました) |
bsd>Mdaniels5757 細 (Fulfilling edit request by OmegaFallon. Thanks for helping!) |
||
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 -- | base = 'Template:' .. base -- then assume it is a template | ||
end | end | ||