Module:Protection banner: Difference between revisions
Content added Content deleted
Enwikipedia>Mr. Stradivarius (various category updates) |
Enwikipedia>Mr. Stradivarius (allow the first positional parameter to be used for the reason) |
||
Line 142: | Line 142: | ||
-- Set reason |
-- Set reason |
||
do |
|||
⚫ | |||
local reason = args.reason or args[1] |
|||
⚫ | |||
self._reason = reason:lower() |
|||
end |
|||
end |
end |
||