Module:Protection banner: Difference between revisions

Content deleted Content added
Enwikipedia>Mr. Stradivarius
move the image name function to its proper place and rename it
Enwikipedia>Mr. Stradivarius
fix variable typo
Line 258:
and cfg.banners[obj.action][args.reason]
then
data = cfg.banners[obj.action][objargs.reason]
elseif cfg.defaultBanners[obj.action] then
data = cfg.defaultBanners[obj.action]