Anonymous user
Module:Protection banner: Difference between revisions
now reason
Enwikipedia>Jackmcbarn (now level) |
Enwikipedia>Jackmcbarn (now reason) |
||
Line 82:
local reason = args.reason or args[1]
if reason then
self.
end
end
Line 103:
local configTables = {}
if cfg.banners[self.action] then
configTables[#configTables + 1] = cfg.banners[self.action][self.
end
if cfg.defaultBanners[self.action] then
Line 728:
-- Get the other inputs.
local reason = protectionObj
local action = protectionObj.action
local level = protectionObj.level
Line 868:
local expiry = protectionObj:getExpiry()
local action = protectionObj.action
local reason = protectionObj
if not expiry
|