Modul:Multilingual: Unterschied zwischen den Versionen

2019-03-01
w>PerfektesChaos
(2019-02-01)
w>PerfektesChaos
(2019-03-01)
Zeile 1: Zeile 1:
local Multilingual = { suite  = "Multilingual",
local Multilingual = { suite  = "Multilingual",
                       serial = "2019-02-01",
                       serial = "2019-03-01",
                       item  = 47541920 }
                       item  = 47541920 }
local User = { sniffer = "showpreview" }
local User = { sniffer = "showpreview" }
Zeile 109: Zeile 109:
     local r
     local r
     if type( template ) ~= "table" then
     if type( template ) ~= "table" then
         local cnf = fetch( "Multilingual/config", true, false )
         local cnf = fetch( "Multilingual/config", true, true )
         if type( cnf ) == "table" then
         if type( cnf ) == "table" then
             template = cnf.tmplLang
             template = cnf.tmplLang
Zeile 544: Zeile 544:
     end
     end
     if not r.legal then
     if not r.legal then
         local cnf = fetch( "Multilingual/config", true, false )
         local cnf = fetch( "Multilingual/config", true, true )
         if type( cnf.scream ) == "string" then
         if type( cnf ) == "table"  and  type( cnf.scream ) == "string" then
             r.scream = cnf.scream
             r.scream = cnf.scream
         end
         end
Zeile 721: Zeile 721:
     local r  = true
     local r  = true
     if ask then
     if ask then
         local cnf = fetch( "Multilingual/config", true, false )
         local cnf = fetch( "Multilingual/config", true, true )
         if cnf then
         if cnf then
             local s = string.format( " %s ", ask:lower() )
             local s = string.format( " %s ", ask:lower() )
Anonymer Benutzer