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

Content deleted Content added
switch to <indicator> tags again - the previous error was because the config module needs to be updated at the same time
add hack to prevent indicator tags producing whitespace at the top of articles
୮୩୨ କ ଧାଡ଼ି:
 
function Padlock:__tostring()
returnlocal frame = mw.getCurrentFrame():extensionTag{
-- The nowiki tag helps prevent whitespace at the top of articles.
local nowiki = frame:extensionTag{name = 'nowiki'}
local indicator = frame:extensionTag{
name = 'indicator',
args = {name = self._indicatorName},
content = self:renderImage()
}
return nowiki .. indicator
end