Changes

Jump to navigation Jump to search

Module:Protection banner

54 bytes removed, 00:07, 27 March 2015
switch to <indicator> tags again - the previous error was because the config module needs to be updated at the same time
obj._imageAlt = blurbObj:makeBannerText('alt')
obj._imageLink = blurbObj:makeBannerText('link')
obj._right _indicatorName = cfg.padlockPositionspadlockIndicatorNames[protectionObj.action] or cfg.padlockPositionspadlockIndicatorNames.default or '55pxpp-default'
return setmetatable(obj, Padlock)
end
function Padlock:__tostring()
local root = return mw.html.creategetCurrentFrame('div') root :addClass('metadata topicon nopopups')extensionTag{ :attr(name = 'idindicator', 'protected-icon') :cssargs = {display = 'none', right name = self._right_indicatorName}, :wikitext(content = self:renderImage()) return tostring(root)}
end
Anonymous user

Navigation menu