Anonymous user
Module:Effective protection level: Difference between revisions
Module:Effective protection level (view source)
Revision as of 18:39, 21 December 2014
, 9 years agohandle SALTed pages correctly
(fix semi-create-protected pages) |
(handle SALTed pages correctly) |
||
Line 31:
end
local level = title.protectionLevels[action] and title.protectionLevels[action][1]
if level == 'sysop' or level == 'editprotected' then
return 'sysop'
elseif title.cascadingProtection.restrictions[action] and title.cascadingProtection.restrictions[action][1] then -- used by a cascading-protected page
|