Module:Protection banner: Difference between revisions

use mw.ustring.lower to convert the reason to lower case, for the benefit of other-language wikis
(rm stuff only useful for pp-create and other things deprecated in favor of salting)
(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 = reason:lower()
self.reason = mw.ustring.lower(reason)
end
end
end
end