How to contribute/ru: Difference between revisions

What to contribute?: Translated on ~90% | Переведено на ~90%
Zig (talk | contribs)
Translated 'How to create a video' and translated some other bits on the page
Line 3: Line 3:


== What to contribute? ==
== What to contribute? ==
Мы поощаряем любой вид контрибуции. Здесь показаны несколько примеров того, что вы можете сделать:
Мы поощряем любой вид контрибуции. Здесь показаны несколько примеров того, что вы можете сделать:


* Вы всегда можете исправлять проблемы, поправлять грамматику, make sure wording is accurate, и т.д. (See Editing Pages)
* Вы всегда можете исправлять проблемы, поправлять грамматику, make sure формулировка верна, и т.д. (See Editing Pages)
* Можете расширить статью, добавив в неё дополнительные разделы по теме статьи
* Можете расширить статью, добавив в неё дополнительные разделы по теме статьи
* Создавать видео для статей ([[#How_to_create_a_video|How to create videos]])
* Создавать видео для статей ([[#How_to_create_a_video|How to create videos]])
* Написать статью. A variety of topics are yet to be covered Множество тем ещё не раскрыто
* Написать статью. Множество тем ещё не раскрыто
* Здесь вы найдёте статьи, которым нужно добавить контент: [[:Category:Needs Content/ru]]
* Здесь вы найдёте статьи, которым нужно добавить контент: [[:Category:Needs Content/ru]]


Line 16: Line 16:
Here are our practices we follow when moderating content, which the extension itself recommends:
Here are our practices we follow when moderating content, which the extension itself recommends:


=== Recommended use / good practices when moderating ===
=== Рекомендации при модерации ===
The following good-practices are advised:
The following good-practices are advised:


Line 29: Line 29:


==== Вариант 1: Использовать готовую карту ====
==== Вариант 1: Использовать готовую карту ====
To use maps from videos in the wiki:


# Right-click the video and click ‘Open Video in New Tab’. Now you can find the name of the video in the URL
# Go [https://gitlab.com/ddnet-wiki/ddnet-wiki.gitlab.io/-/tree/master/static/videosherehere here] and download the correct demo
# Open the demo in your client (you need to move the demo into your <code>data/demos</code> folder)
# While you have the demo open, go into the editor, click <code>File</code>, and select <code>Load Current Map</code>


Now you can edit and use the map for the demo.
Использовать карты с видео на wiki:
 
# Нажмите правой кнопкой мыши на видео 'Открыть видео в новой вкладке'. Теперь найдите название видео в ссылке.
# Идите [https://gitlab.com/ddnet-wiki/ddnet-wiki.gitlab.io/-/tree/master/static/videosherehere сюда] и скачайте верное демо
# Откройте демо в клиенте (переместите демо в вашу <code>data/demos</code> папку)
# При открытом демо, откройте редактор, нажмите <code>File</code>, и выберите <code>Load Current Map</code>
 
Теперь мы можете редактировать и использовать карту из демо.


==== Вариант 2: Создать новую карту ====
==== Вариант 2: Создать новую карту ====


# Create a new map in the editor
# Создайте новую карту в редактотре
# Set the background color to <code>#5E84AE</code>
# Поменяйте цвет фона на <code>#5E84AE</code>
## Click on the <code>quads</code> layer
## Нажмите на слой <code>quads</code>
## Right-click the corners of the rectangle
## Правой кнопкой нажмите на угол прямоугольника
## Insert the color value <code>#5E84AE</code> into the third to last field each each
## Вставьте цвет <code>#5E84AE</code> в каждое третье с конца поле
# The main focus should be that it is comprehensible
# Самое главное, что оно должно быть понятно
# Keep the style simple and similar to the other videos
# Сохраняйте простой стиль, похожий на другие видео
#* Use simple textures (preferably <code>grass_main</code>, combined with <code>generic_unhookable</code> and <code>font_teeworlds</code>)
#* Используйте простые текстуры (предпочтительно <code>grass_main</code>, вместе с <code>generic_unhookable</code> и<code>font_teeworlds</code>)
#* Make it loopable, you can get creative with that :)
#* Сделайте его зацикливающимся, можете подойти к этому творчески :)
#* Insert a scale if suited
#* При необходимости добавьте масштаб


==== Step 2.1: Recording the demo ====
==== Шаг 2.1: Запись видео ====


# Turn demo recording on
# Включите запись демо
#* I suggest <code>Settings -> General -> Automatically record demos</code>
#* Я предлагаю <code>Settings -> General -> Automatically record demos</code>
# Load the map on a server
# Загрузите карту на сервере
#* Start your own DDNet server or use the [https://trashmap.timakro.de/ Trashmap] hosting service
#* Запустите свой сервер DDNet или используйте сервис хостинга [https://trashmap.timakro.de/ Trashmap]
# Join it with your client, try the trick until you are satisfied with the result and keep loopability in mind
# Зайдите на него со своего клиента, делайте трюк, пока не будете довольны результатом. И не забывайте про зацикливание.


==== Настройки записи ====
==== Настройки записи ====
Set consistent skin:
Выберите подходящий скин:


* Hammer: brownbear
* Молоток: brownbear
* Pistol: coala
* Пистолет: coala
* Shotgun: cammo
* Дробовик: cammo
* Grenade: redstripe
* Граната: redstripe
* Laser: bluestripe
* Лазер: bluestripe
* Hook: default
* Хук: default
* Jump: bluekitty
* Прыжок: bluekitty


==== Step 2.2: Cutting the demo ====
==== Шаг 2.2: Обрезка демо ====


# In your client, go to <code>Demos -> auto/</code>
# В вашем клиенту, откройте <code>Demos -> auto/</code>
# Open the demo you recorded
# Выберите демо которое вы записали
#* Tip: Click on <code>Date</code> to sort by date
#* Подсказка: Нажмите на <code>Date</code> для сортировки по дате
# Press <code>Escape</code> for demo functions
# Нажмите <code>Escape</code> для функций демо
# Use the 2 buttons on the left of the camera icons to select a starting and end point
# Используйте 2 кнопки справа от иконок камер, чтобы выбрать стартовую и конечную точку
# Use the camera icon to save the shortened demo
# Используйте иконку камеры, чтобы сохранить укороченное демо


Tip: you can repeat these steps multiple times to be able to cut the demo more precisely
Подсказка: вы можете повторять эти шаги множество раз, чтобы точнее обрезать демо


==== Step 2.3: Converting the demo to a video ====
==== Шаг 2.3: Конвертирование демо в видео ====
Once you have the client, converting a demo is as simple as:
Чтобы конвертировать демо:


* Open the client (with the converting functionality)
* Откройте клиент (with the converting functionality)
* Set zoom to 10: <code>cl_default_zoom 10</code>
* Поставьте приближение 10: <code>cl_default_zoom 10</code>
* Go to the <code>Demos</code> tab
* Откройте панель <code>Demos</code>
* Select the correct demo
* Выберите ваше демо
* Click <code>Render</code> at the bottom
* Нажмите <code>Render</code> снизу


=== Step 3: Getting the video into the wiki ===
=== Шаг 3: Помещение видео на вики ===
Some of the following steps might be a little overwhelming. You can simply ask one of the wiki admins to do the remaining steps.
Некоторые из шагов могут быть немного тяжелы. Можете просто попросить одного из админов вики доделать оставшиеся шаги.


==== Step 3.1: Cropping the video ====
==== Шаг 3.1: Обрезка видео ====
Using your preferred video editor, crop the video, so that only the relevant cutout of the video remains. You can look at other videos from the wiki to get a feel for how much you should crop.
Используя ваш предпочитаемый видео-редактор, обрежьте видео, так чтобы остались только главные части видео. Вы можете посмотреть на другие видео с вики, чтобы понять как вам необходимо обрезать.


==== Step 3.2: Uploading the video to the wiki ====
==== Шаг 3.2: Загрузка видео на вики ====
To upload a video to the wiki first you need permissions, if you are considered a trustworthy contributor you will get them, if you consider yourself trustworthy you can ask an administrator to consider giving you the permission to upload files.
Чтобы загрузить видео на вики, вам нужны права. Если вы считаетесь доверенным участником, вы их получите. Если вы считаете, что заслуживаете доверие, попросите администора рассмотреть получение вами разрешения на загрузку файлов.


To upload a file you can go to [[Special:Upload|Upload file]] link on the sidebar.
Чтобы загрузить файл, перейдите по ссылке [[Special:Upload|Upload file]] на боковой панели.


==== Step 3.3: Inserting the video into an article ====
==== Шаг 3.3: Вставка видео в статью ====
To insert a video into an article, first you have to choose whether it fits in the text or on a side.
Чтобы вставить видео в статью, сначала вы должны определить, подходит ли оно к тексту или вставить его на стороне.


Usually, if the text mentions some steps to take or the video is directly related to a text, it's better to put it there like this:
Обычно, если текст включает в себя какие-то шаги или видео напрямую относится к тексту, лучше поставить его так:


<nowiki>[[File:myvideo.mp4|gif]]</nowiki>
<nowiki>[[File:myvideo.mp4|gif]]</nowiki>


If you consider it better to be floating on the right side, you can do this
Если думаете, что лучше пусть висит на правой стороне, можете сделать так:


<nowiki>[[File:myvideo.mp4|right|gif]]</nowiki>
<nowiki>[[File:myvideo.mp4|right|gif]]</nowiki>


Or with a thumb and a label:
Или с миниатюрой и подписью:


<nowiki>[[File:myvideo.mp4|thumb|This video shows this!|gif]]</nowiki>
<nowiki>[[File:myvideo.mp4|thumb|This video shows this!|gif]]</nowiki>


If you think the video is too small, you can specify a size:
Если думаете, что видео слишком мало, можете задать размер:


<nowiki>[[File:myvideo.mp4|gif|400px]]</nowiki>
<nowiki>[[File:myvideo.mp4|gif|400px]]</nowiki>


You can learn more in detail about media placement here: https://www.mediawiki.org/wiki/Help:Images
Вы можете узнать о размещении медиа подробнее здесь: https://www.mediawiki.org/wiki/Help:Images/ru


== Templates ==
== Шаблоны ==
If you identify a common occurrence, such as weapon info boxes, you can automate it creating templates, more info [[mediawikiwiki:Help:Templates|here]].
Если заметите что какие-то элементы часто повторяются, такие как блоки информации об оружии, можете автоматизировать их, создавая шаблоны, подробнее [[mediawikiwiki:Help:Templates|здесь]].


List of created templates:
Список созданных шаблонов:


[[:Category:Templates|Category:Templates]]
[[:Category:Templates|Category:Templates]]