[ocultar]
Atención docentes de preprimaria. Ya pueden consultar la Dosificación del aprendizaje de la primera unidad del Nivel de Educación Preprimaria.
Ver el código de «Módulo:Effective protection level»
Ir a la navegación
Ir a la búsqueda
No tienes permiso para modificar esta página, por el siguiente motivo:
Puedes ver y copiar el código fuente de esta 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 ~= 'edit' and action ~= 'move' and action ~= 'create' and action ~= 'upload' then
error( 'First parameter must be one of edit, move, create, upload', 2 )
end
if title.namespace == 8 then -- MediaWiki namespace
if title.contentModel == 'javascript' or title.contentModel == 'css' then -- site JS or CSS page
return 'interfaceadmin'
else -- any non-JS/CSS MediaWiki page
000
1:0
Plantilla usada en esta página:
Volver a Módulo:Effective protection level.