Modul:Protection banner: Unterschied zwischen den Versionen
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) |
||
Zeile 114: | Zeile 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 |