Module:Protection banner: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(move the image name function to its proper place and rename it) |
(fix variable typo) |
||
Line 258: | Line 258: | ||
and cfg.banners[obj.action][args.reason] |
and cfg.banners[obj.action][args.reason] |
||
then |
then |
||
data = cfg.banners[obj.action][ |
data = cfg.banners[obj.action][args.reason] |
||
elseif cfg.defaultBanners[obj.action] then |
elseif cfg.defaultBanners[obj.action] then |
||
data = cfg.defaultBanners[obj.action] |
data = cfg.defaultBanners[obj.action] |