config

Aus Fahrradmonteur
Zur Navigation springenZur Suche springen

Die Dokumentation für dieses Modul kann unter Modul:Multilingual/config/Doku erstellt werden

local Serial = "2016-10-10"
local Site = "dewiki"
--[=[
Multilingual/config
]=]



-- Export
local p = { }

p.serial = Serial

p.site = Site

p.stopMinusculization = " af ak chm ckb de-ch dv eo fa fr-ch gn gv it-ch la lg km kn kv lg ml mr qu rom sa sn st sw ta te tet th tl tn ur wo "

p.getLink = function ( access, frame )
    -- Retrieve link to language article
    -- Precondition:
    --     access  -- string with language code
    --     frame   -- frame object
    local r
    local title = mw.title.makeTitle( 10, access .. "S" )
    if title.exists then
        r = frame:expandTemplate{ title = title }
    else
        r = false
    end
    return r
end -- p.getLink

return p