Modul:Vorlage:lang/config

Aus FreeWiki
< Modul:Vorlage:lang
Version vom 15. Januar 2020, 15:10 Uhr von mo>PerfektesChaos (+Tale)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

local Serial = "2020-01-15" --[=[ dewiki-Konfiguration Lua-Fehler: Der Prozess konnte nicht erstellt werden: proc_open(/dev/null): failed to open stream: Operation not permitted Vorlage:lang/config mw.loadData() ]=] local Config = {

   classScript = { Arab = "arabic spanAr",
                   Hebr = "hebrew" },
   errCat      = "Wikipedia:Vorlagenfehler/Vorlage:lang",
   errHide     = true,
   site        = "Latn",
   tmplAudio   = { title   = "Audio",
                   filepar = 1,
                   textpar = 2 },
   tmplLang    = { namePat = "%sS" },
   tmplStyles  = { },
   transys     =
       { ["ALA-LC"]    = { show    = "ALA-LC",
                           support = "ALA-LC-Transkription" },
         BAHAI         = { support = "Bahai-Transkription",
                           show    = "Bahai" },
         ["BGN-PCGN"]  = { show    = "BGN/PCGN",
                           support = "BGN/PCGN-Transkription" },
         DIN1460       = { support = "DIN 1460" },
         ["DIN1460-2"] = { show    = "DIN 1460-2",
                           support = "DIN 1460" },
         DIN32706      = { show    = "DIN 32706",
                           support = "Armenisches Alphabet#Buchstaben" },
         DIN32707      = { show    = "DIN 32707",
                           support = "Georgisches Alphabet#Umschrift" },
         DMG           = { show    = "DMG",
                           support = "DIN 31635" },
         ["DE-WISS"]   = { show    = "wissenschaftliche Transliteration",
                           support = "Kyrillisches Alphabet#Wiedergabe mit lateinischen Buchstaben" },
         IA            = { show    = "İA",
                           support = "İslâm Ansiklopedisi" },
         IAST          = { class   = "IAST",
                           show    = "IAST",
                           support = "International Alphabet of Sanskrit Transliteration" },
         ISO9          = { support = "ISO 9" },
         ISO233        = { support = "ISO 233" },
         ISO259        = { support = "DIN 31636" },
         ["ISO259-1"]  = { support = "DIN 31636" },
         ["ISO259-2"]  = { support = "DIN 31636" },
         ["ISO259-3"]  = { support = "DIN 31636" },
         ISO9984       = { show    = "ISO 9984",
                           support = "Georgisches Alphabet#Umschrift" },
         ISO15919      = { support = "ISO 15919" },
         MCR           = { support = "McCune-Reischauer",
                           show    = "MCR" },
         RR            = { support = "Revidierte Romanisierung",
                           show    = "RR" },
         RTGS          = { support = "Thailändisches Umschriftsystem",
                           show    = "RTGS" },
         RUYI          = { show    = "Transkription" },
         THL           = { show    = "THL",
                           support = "THDL-Transkription" },
         WYLIE         = { show    = "Wylie",
                           support = "Umschrift nach Wylie" },
         YIVO          = { support = "YIVO" },
         ZWPY          = { show    = "ZWPY",
                           support = "Offizielle Transkription der Volksrepublik China für das Tibetische" }
   },
   failsafe    = Serial

} local TemplateStyles = { "Arab",

                         "Armi",
                         "Beng",
                         "Bopo",
                         "Copt",
                         "Deva",
                         "Geok",
                         "Hanb",
                         "Glag",
                         "Hani",
                         "Hano",
                         "Hans",
                         "Hant",
                         "Hebr",
                         "Hira",
                         "Kana",
                         "Khmr",
                         "Laoo",
                         "Latn",
                         "Linb",
                         "Phli",
                         "Runr",
                         "Sinh",
                         "Syrc",
                         "Tale",
                         "Thaa",
                         "Thai",
                         "Tibt",
                         "Ugar",
                         "Xpeo",
                         "Xsux" }

for k, v in pairs( TemplateStyles ) do

   Config.tmplStyles[ v ] = string.format( "%s/styles.css", v )

end -- for k, v


return Config


--[=[ enwiki

   tmplLang = { namePat = "lang-%s" }

]=]