عرض مصدر وحدة: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.getCurrentFrame():callParserFunction('PENDINGCHANGELEVEL', pagename)
if level == 'review' then
return 'reviewer'
elseif level ~= '' then
return level
000
1:0
القوالب المستخدمة في هذه الصفحة:
- قالب:Module other (عرض المصدر)
- قالب:Module rating (عرض المصدر)
- قالب:Ombox (عرض المصدر)
- قالب:Ombox/core (عرض المصدر)
- قالب:Tlinv (عرض المصدر)
- قالب:صندوق رسالة أخرى (عرض المصدر)
- قالب:صندوق رسالة أخرى/لب (عرض المصدر)
- وحدة:Effective protection level (عرض المصدر)
- وحدة:Effective protection level/doc (عرض المصدر)
ارجع إلى وحدة:Effective protection level.