پودمان:Submit an edit request/config

از ایران پدیا
پرش به ناوبری پرش به جستجو

توضیحات این پودمان می‌تواند در پودمان:Submit an edit request/config/توضیحات قرار گیرد.

-- This module contains configuration data for [[Module:Submit an edit request]].

local cfg = {}

--------------------------------------------------------------------------------
-- General config
--------------------------------------------------------------------------------

-- The default display value for edit requests.
cfg['default-display-value'] = 'ثبت درخواست ویرایش'

-- The template that stores the edit request preload text
cfg['preload-template'] = 'الگو:ثبت درخواست ویرایش/پیش‌بارگیری'

-- The section heading that is generated when a user clicks on an edit request
-- link. $1 is the protection level text, e.g. "Semi-protected" or
-- "Template-protected". $2 is the current date, in the format specified by the
-- "preload-title-date-format" message.
cfg['preload-title-text'] = 'درخواست ویرایش %1 در $2'

-- The date format for the automatically-generated section heading. The format
-- must be valid input for the #time parser function.
cfg['preload-title-date-format'] = 'xij xiF xiY'

-- The names of the templates to be used as wrappers for the "link" and "button"
-- functions. These are passed as arguments to the "wrappers" option of
-- [[Module:Arguments]].
cfg['link-wrapper-template'] = 'الگو:ثبت درخواست ویرایش/پیوند'
cfg['button-wrapper-template'] = 'الگو:ثبت درخواست ویرایش'

--------------------------------------------------------------------------------
-- Protection level config
--------------------------------------------------------------------------------

--[[
-- These settings are for the different protection levels which the module can
-- output edit request links for.
--
-- editintro:
-- The template to use as the edit intro users see when they click on an edit
-- request link.
--
-- request-template:
-- The name of the edit request template for that protection level. Do not
-- include the "Template:" text.
--
-- protectionlevel:
-- The name of the protection level, used for formatting the automatically-
-- generated section headings.
--]]

-- Semi-protection
cfg['semi-editintro'] = 'الگو:ویرایش نیمه‌حفاظت‌شده/مقدمه ویرایش'
cfg['semi-request-template'] = 'ویرایش نیمه‌حفاظت‌شده'
cfg['semi-protectionlevel'] = 'نیمه‌حفاظت‌شده'

-- Template-protection
cfg['template-editintro'] = 'الگو:ویرایش الگوحفاظت‌شده/مقدمه ویرایش'
cfg['template-request-template'] = 'ویرایش الگوحفاظت‌شده'
cfg['template-protectionlevel'] = 'الگوحفاظت‌شده'

-- Full protection
cfg['full-editintro'] = 'الگو:ویرایش الگوحفاظت‌شده/مقدمه ویرایش'
cfg['full-request-template'] = 'ویرایش حفاظت‌شده'
cfg['full-protectionlevel'] = 'حفاظت‌شده'

return cfg