Module:Protection banner: Difference between revisions

Content added Content deleted
Enwikipedia>Mr. Stradivarius
(use the config to set the padlock "right" propery, and remove the Padlock:setRight method)
Enwikipedia>Mr. Stradivarius
(fix variable name)
Line 793: Line 793:
self._imageAlt = blurbObj:makeAltText()
self._imageAlt = blurbObj:makeAltText()
self._imageLink = blurbObj:makeLinkText()
self._imageLink = blurbObj:makeLinkText()
self._right = cfg.padlockPositions[action]
self._right = cfg.padlockPositions[protectionObj.action]
or cfg.padlockPositions.default
or cfg.padlockPositions.default
or '55px'
or '55px'