Nicht angemeldeter Benutzer - Bearbeiten von Seiten ist nur als angemeldeter Benutzer möglich.
Änderungen
Zur Navigation springen
Zur Suche springen
Zeile 1:
Zeile 1:
− +
Zeile 547:
Zeile 547:
− +
+
Zeile 657:
Zeile 658:
+
− table.insert( codes, mw.text.trim( k:lower() ) ) +
+
+
− +
− for k, v in pairs( available ) do+
− if type( k ) == "string" and+
− mw.text.trim( k:lower() ) == slang then+
− r1 = mw.text.trim( v )+
− if r1 == "" then+
− r1 = false+
− else
− r2 = slang
− end
− end
−
−
2019-06-01
local Multilingual = { suite = "Multilingual",
local Multilingual = { suite = "Multilingual",
serial = "2019-05-24",
serial = "2019-06-01",
item = 47541920 }
item = 47541920 }
local User = { sniffer = "showpreview" }
local User = { sniffer = "showpreview" }
if not r.legal then
if not r.legal then
local cnf = fetch( "Multilingual/config", true, true )
local cnf = fetch( "Multilingual/config", true, true )
if type( cnf ) == "table" and 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
if type( available ) == "table" then
if type( available ) == "table" then
local codes = { }
local codes = { }
local trsl = { }
local slang
local slang
for k, v in pairs( available ) do
for k, v in pairs( available ) do
if type( k ) == "string" and
if type( k ) == "string" and
type( v ) == "string" then
type( v ) == "string" then
slang = mw.text.trim( k:lower() )
table.insert( codes, slang )
trsl[ slang ] = v
end
end
end -- for k, v
end -- for k, v
slang = Multilingual.userLang( codes, frame )
slang = Multilingual.userLang( codes, frame )
if slang then
if slang and trsl[ slang ] then
r1 = mw.text.trim( trsl[ slang ] )
if r1 == "" then
r1 = false
else
r2 = slang
end
end -- for k, v
end
end
end
end