Модуль:Submit an edit request/config

Материал из Тептар
Перейти к навигации Перейти к поиску
Документация

Подстраница конфигурации для модуля Submit an edit request

Код

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

return {
--------------------------------------------------------------------------------
-- Messages
--------------------------------------------------------------------------------
	-- The default display value for edit requests.
	['default-display-value'] = 'Запросить изменения',

	-- The template that stores the edit request preload text
	['preload-template'] = 'Шаблон:Submit an edit request/preload',

	-- 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.
	['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.
	['preload-title-date-format'] = 'j xg Y',

	-- The name of the Main Page for this wiki.
	['main-page'] = 'Заглавная страница',

	-- The page used to request changes to things on the Main Page.
	['main-page-request-page'] = 'Обсуждение:Заглавная страница',

	-- The page used to request edits to protected talk pages.
	['protected-talk-page-request-page'] = 'Тептар:Технические запросы',

	-- 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]].
	['link-wrapper-template'] = 'Шаблон:Submit an edit request/link', -- не создан
	['button-wrapper-template'] = 'Шаблон:Submit an edit request',

--------------------------------------------------------------------------------
-- Protection level config
--------------------------------------------------------------------------------
	protectionLevels = {
		--[[
		-- 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
		semi = {
			editintro = 'Шаблон:Edit semi-protected/editintro', -- не создан
			requestTemplate = 'edit semi-protected',
			levelText = 'полузащищённой',
		},

		-- Extended-confirmed-protection
		extended = {
			editintro = 'Шаблон:Edit extended-protected/editintro', -- не создан
			requestTemplate = 'edit extended-protected',
			levelText = 'Extended-confirmed-protected',
		},

		-- Template-protection
		template = {
			editintro = 'Шаблон:Edit template-protected/editintro', -- не создан
			requestTemplate = 'edit template-protected',
			levelText = 'Template-protected',
		},

		-- Full protection
		full = {
			editintro = 'Шаблон:Edit protected/editintro', -- не создан
			requestTemplate = 'edit protected',
			levelText = 'защищённой',
		},

		-- Interface-protection
		interface = {
			editintro = 'Шаблон:Edit interface-protected/editintro', -- не создан
			requestTemplate = 'edit interface-protected',
			levelText = 'Interface-protected',
		}
	}
}