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

local Serial = "2018-12-31"
local Site   = "dewiki"
local Scream = "Wikipedia:Vorlagenfehler/Parameter:Sprachcode"
--[=[
require() table Multilingual/config
]=]



-- Export
local p = { }

p.serial = Serial

p.site = Site

p.scream = Scream

p.scanMinusculization = "sch "

p.seekMinusculization = " la th "

p.stopMinusculization = " ace af ak anp arn avk ay bbc bcc bcl bh bho bi bm bpy brh cdo ceb ch chm chr ckb cps de-ch diq dtp dv dz ee eo fa ff fit fj frc gan glk gn gu gv ha hak hi hif hil ia ie ig ii ik ike ilo io iu jbo khw kiu km kn kri krj ks kv lad lg ln loz lus mai mhr mi min ml mr mrj nah nan new niu nov nso nv ny om or pa pag pam pap pi pnb ps qu qug rgn rif rmy rom sa sat sd sei sg shi sn so ss st sw ta tcy te tet ti tl tn tru ts ur ve vo vro war wo wuu xh yo za zu "

p.tmplLang = { namePat = "%sS" }
--[=[
enwiki
    p.tmplLang = { namePat = "lang-%s" }
]=]

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