"ഘടകം:Effective protection level" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

Content deleted Content added
mw.ext.FlaggedRevs.getStabilitySettings can return nil, so avoid trying to index it when this happens
handle extendedconfirmed
വരി 44:
elseif title.namespace == 6 then
return 'filemover'
elseif level == 'extendedconfirmed' then
return 'extendedconfirmed'
else
return 'autoconfirmed'
Line 50 ⟶ 52:
local blacklistentry = mw.ext.TitleBlacklist.test(action, pagename)
if blacklistentry then
returnif not blacklistentry.params.autoconfirmed and 'autoconfirmed' or 'templateeditor'then
return 'templateeditor'
elseif level == 'extendedconfirmed' then
return 'extendedconfirmed'
else
return 'autoconfirmed'
end
elseif level == 'editsemiprotected' then -- create-semiprotected pages return this for some reason
return 'autoconfirmed'
"https://ml.wikipedia.org/wiki/ഘടകം:Effective_protection_level" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്