Exibir código-fonte para Módulo:Nível efetivo de proteção
Ir para navegação
Ir para pesquisar
Você não possui permissão para editar esta página, pelo seguinte motivo:
Você pode ver e copiar o código desta página.
local p = {}
-- Returns the permission required to perform a given action on a given title.
-- If no title is specified, the title of the page being displayed is used.
function p._main(action, pagename)
local title
if type(pagename) == 'table' and pagename.prefixedText then
title = pagename
elseif pagename then
title = mw.title.new(pagename)
else
title = mw.title.getCurrentTitle()
end
pagename = title.prefixedText
if action == 'autoreview' then
local level = mw.ext.FlaggedRevs.getStabilitySettings(title)
level = level and level.autoreview
if level == 'review' then
return 'reviewer'
elseif level ~= '' then
return level
000
1:0
Predefinições usadas nesta página:
- Predefinição:Ambox/styles.css (ver código-fonte)
- Predefinição:Module other (ver código-fonte)
- Predefinição:Module rating (ver código-fonte)
- Predefinição:Ombox (ver código-fonte)
- Módulo:Arguments (ver código-fonte)
- Módulo:Message box (ver código-fonte)
- Módulo:Message box/configuration (ver código-fonte)
- Módulo:No globals (ver código-fonte)
- Módulo:Nível efetivo de proteção/doc (ver código-fonte)
- Módulo:Yesno (ver código-fonte)
Retornar para Módulo:Nível efetivo de proteção.