Open main menu

Changes

Module:Effective protection level

25 bytes added, 21:34, 21 August 2014
avoid calling the parser unnecessarily
if level == 'sysop' then
return 'sysop'
elseif mwtitle.getCurrentFrame():callParserFunction('CASCADINGSOURCES', pagename) ~= '' cascadingProtection.restrictions[action] and title.cascadingProtection.restrictions[action][1] then -- used by a cascading-protected page
return 'sysop'
elseif level == 'templateeditor' then
Anonymous user