Module:Protection banner: Difference between revisions
no need for args.reason
(move documentation class and export function to Module:Protection banner/documentation) |
(no need for args.reason) |
||
Line 125: | Line 125: | ||
-- Set reason | -- Set reason | ||
do | do | ||
local reason = | local reason = args[1] | ||
if reason then | if reason then | ||
self.reason = mw.ustring.lower(reason) | self.reason = mw.ustring.lower(reason) |