Modul:TemplUtl: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
2017-11-11
(2017-04-28) |
de>PerfektesChaos (2017-11-11) |
||
Zeile 1: | Zeile 1: | ||
local TemplUtl = { suite = "TemplUtl", | local TemplUtl = { suite = "TemplUtl", | ||
serial = "2017- | serial = "2017-11-11" }; | ||
Zeile 573: | Zeile 573: | ||
frame.args[ 2 ] ) and "1" | frame.args[ 2 ] ) and "1" | ||
or ""; | or ""; | ||
end -- p.faculty | end -- p.faculty | ||
function p.failure( frame ) | function p.failure( frame ) | ||
Zeile 586: | Zeile 586: | ||
end | end | ||
return TemplUtl.failure( scream, loud, select, frame ); | return TemplUtl.failure( scream, loud, select, frame ); | ||
end -- p.failure() | end -- p.failure | ||
function p.isRedirect() | |||
return mw.title.getCurrentTitle().isRedirect and "1" or ""; | |||
end -- p.isRedirect | |||
function p.failsafe() | function p.failsafe() |