"ମଡ୍ୟୁଲ:Protection banner" ପୃଷ୍ଠାର ସଂସ୍କରଣ‌ଗୁଡ଼ିକ ମଧ୍ୟରେ ତଫାତ

Content deleted Content added
Undid revision 653638001 by Edokter (talk) Getting weird error!
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()
return mw.getCurrentFrame():extensionTag{
local root = mw.html.create('div')
name = 'indicator',
root
args = {name = self._indicatorName},
:addClass('metadata topicon nopopups')
:wikitext(content = self:renderImage())
:attr('id', 'protected-icon')
}
:css{display = 'none', right = self._right}
:wikitext(self:renderImage())
return tostring(root)
end