Модуль:Submit an edit request/config
Зовнішній вигляд
| Цей модуль позначений як К:реліз, готовий до загального вжитку (272). Він досягнув стадії готовності й вважається, що вільний від помилок і може використовуватись всюди, де знадобиться. Його можна згадувати на довідкових сторінках та інших сторінках Вікіпедії як можливість для навчання новачків. Аби зменшити навантаження на сервери та некоректний показ сторінок, його потрібно вдосконалювати через тестування у пісочниці[en], а не через застосування спроб і помилок. |
| Цей модуль позначено як К:такий, що потребує захищеного статусу (128). Завершені модулі використовуються в дуже великій кількості статей, або часто використовуються як підстановки. Позаяк акти вандалізму або помилки можуть вплинути на багато сторінок і навіть незначне редагування призведе до істотного навантаження на сервери, вони підлягають захисту від редагувань. |
| Цей модуль Lua використовується в системних повідомленнях. Його зміни можуть призвести до миттєвих змін у користувацькому інтерфейсі Вікіпедія. Для уникнення великомасштабних збоїв, будь-які зміни спочатку потрібно перевірити на підсторінках /пісочниці та /тестів цього модуля, або у вашій пісочниці модуля. Потім перевірені зміни можуть бути впроваджені на цій сторінці єдиним редагуванням. Будь ласка, обговорюйте будь-які зміни на сторінці обговорення перед їхнім впровадженням. |
Цей модуль забезпечує конфігураційні дані для Модуль:Submit an edit request. Щодо опису, що робить кожне повідомлення, будь ласка, дивіться коментарі в модулі.
Документація вище включена з Модуль:Submit an edit request/config/документація. (ред. | історія)
Дописувачі можуть експериментувати на підсторінках пісочниця (створити | дзеркало) та тести (створити) цього модуля.
Будь ласка, додавайте категорії до підсторінки /config/документація. Підсторінки цієї сторінки.
Дописувачі можуть експериментувати на підсторінках пісочниця (створити | дзеркало) та тести (створити) цього модуля.
Будь ласка, додавайте категорії до підсторінки /config/документація. Підсторінки цієї сторінки.
-- 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'] = 'Шаблон:Зробити запит на редагування/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',
-- What do do with the generated section header if another header with the same section already exists
-- $1 is the original section header. $2 is an automatically generated number, starting at 2 and increasing
-- by one until a unique header is found.
['preload-title-dedup-suffix'] = '$1 ($2)',
-- The names of pages (and their subpages) that make up the content of the main page for this wiki
['main-page-content'] = {
-- ['Wikipedia:Today\'s featured article'] = true,
-- ['Template:In the news'] = true,
-- ['Template:Did you know'] = true,
-- ['Wikipedia:Selected anniversaries'] = true,
-- ['Template:POTD protected'] = true,
-- ['Wikipedia:Today\'s featured list'] = true
},
-- 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'] = 'Шаблон:Зробити запит на редагування/посилання',
['button-wrapper-template'] = 'Шаблон:Зробити запит на редагування',
--------------------------------------------------------------------------------
-- 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 = 'Шаблон:Editsemiprotected/editintro',
requestTemplate = 'Editsemiprotected',
levelText = 'частково захищеної сторінки',
},
-- Extended-confirmed-protection
--extended = {
-- editintro = 'Template:Edit extended-protected/editintro',
-- requestTemplate = 'edit extended-protected',
-- levelText = 'Extended-confirmed-protected',
--},
-- Template-protection
--template = {
-- editintro = 'Template:Edit template-protected/editintro',
-- requestTemplate = 'edit template-protected',
-- levelText = 'Template-protected',
--},
-- Full protection
full = {
editintro = 'Шаблон:Editprotected/editintro',
requestTemplate = 'Editprotected',
levelText = 'захищеної сторінки',
},
-- Interface-protection
interface = {
editintro = 'Template:Edit interface-protected/editintro',
requestTemplate = 'Editprotected',
levelText = 'сторінки інтерфейсу',
},
}
}