Modul:Protection banner: Unterschied zwischen den Versionen
allow the first positional parameter to be used for the reason
(various category updates) |
(allow the first positional parameter to be used for the reason) |
||
Zeile 142: | Zeile 142: | ||
-- Set reason | -- Set reason | ||
do | |||
local reason = args.reason or args[1] | |||
if reason then | |||
self._reason = reason:lower() | |||
end | |||
end | end | ||