Anonymous user
Module:Effective protection level: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Module:Effective protection level (view source)
Revision as of 19:44, January 16, 2014
, 10 years agodetect cascading protection
(don't bother checking our own frame) |
(detect cascading protection) |
||
Line 20:
return 'sysop'
else
if level == 'sysop' then
return 'sysop'
elseif frame:callParserFunction('CASCADINGSOURCES', pagename) ~= '' then -- used by a cascading-protected page
return 'sysop'
end
return level
end
end
|