"मोड्युल:Effective protection level" का संशोधनहरू बिचको अन्तर

Content deleted Content added
नयाँ पृष्ठ: 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 us...
handle SALTed pages correctly
पङ्क्ति ३१:
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