Module:Protection banner: Difference between revisions

allow the first positional parameter to be used for the reason
Enwikipedia>Mr. Stradivarius
(various category updates)
Enwikipedia>Mr. Stradivarius
(allow the first positional parameter to be used for the reason)
Line 142:
 
-- Set reason
do
if args.reason then
self._reasonlocal reason = args.reason:lower() or args[1]
if args.reason then
self._reason = reason:lower()
end
end