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 181:
Zeile 181:
− +
Zeile 281:
Zeile 281:
− +
Zeile 331:
Zeile 331:
− +
− +
− +
Zeile 500:
Zeile 500:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Zeile 612:
Zeile 629:
− function p.failsafe()+
− +
+
+
+
+
+
+
+
2016-06-17
local Multilingual = { suite = "Multilingual",
local Multilingual = { suite = "Multilingual",
serial = "2016-06-12" };
serial = "2016-06-17" }
-- ahead -- string to prepend first element, if any
-- ahead -- string to prepend first element, if any
-- Postcondition:
-- Postcondition:
-- Returns string, or false
-- Returns string, or false if apply empty
local r = false
local r = false
if apply then
if apply then
end
end
end
end
if lapsus then
if lapsus and alert then
r = string.format( "%s[[Category:%s]]", r, alert )
r = string.format( "%s[[Category:%s]]", r, alert )
end
end
if slang then
if slang then
if slang == "*" then
if slang == "*" then
slang = ask:lower()
slang = fair( ask )
elseif slang == "!" then
elseif slang == "!" then
slang = favorite()
slang = favorite()
else
else
slang = slang:lower()
slang = fair( slang )
end
end
else
else
slang = ask:lower()
slang = fair( ask )
end
end
tLang = fetch( support, true )
tLang = fetch( support, true )
return r
return r
end -- Multilingual.userLang()
end -- Multilingual.userLang()
function Multilingual.failsafe( assert )
-- Retrieve versioning and check for compliance
-- Precondition:
-- assert -- string, with required version, or false
-- Postcondition:
-- Returns string with appropriate version, or false
local r
if assert and assert > Multilingual.serial then
r = false
else
r = Multilingual.serial
end
return r
end -- Multilingual.failsafe()
p.failsafe = function ( frame )
return Multilingual.serial
local since = frame.args[ 1 ]
if since then
since = mw.text.trim( since )
if since == "" then
since = false
end
end
return Multilingual.failsafe( since ) or ""
end
end