Module:Protection banner: Difference between revisions
Jump to navigation
Jump to search
use mw.ustring.lower to convert the reason to lower case, for the benefit of other-language wikis
>Jackmcbarn (rm stuff only useful for pp-create and other things deprecated in favor of salting) |
>Mr. Stradivarius (use mw.ustring.lower to convert the reason to lower case, for the benefit of other-language wikis) |
||
Line 114: | Line 114: | ||
local reason = args.reason or args[1] | local reason = args.reason or args[1] | ||
if reason then | if reason then | ||
self.reason = | self.reason = mw.ustring.lower(reason) | ||
end | end | ||
end | end |