Module:Effective protection level का स्रोत देखें
नेविगेशन पर जाएँ
खोज पर जाएँ
आपको इस पृष्ठ को सम्पादित करने की अनुमति नहीं हैं, निम्नलिखित कारण की वजह से:
आप इस पृष्ठ का स्रोत देख सकते हैं और उसकी नकल उतार सकते हैं:
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 == 'autoreview' then
local level = mw.ext.FlaggedRevs.getStabilitySettings(title)
level = level and level.autoreview
if level == 'review' then
return 'reviewer'
elseif level ~= '' then
000
1:0
इस पृष्ठ पर प्रयुक्त साँचे:
Module:Effective protection level को लौटें।