How to contribute: Difference between revisions

By (talk | contribs)
mNo edit summary
By (talk | contribs)
same meaning as 'The following good-practices are advised:'
Line 29: Line 29:
Changes made to the wiki go to a moderation queue, where moderators will check if the change you made is vandalism.
Changes made to the wiki go to a moderation queue, where moderators will check if the change you made is vandalism.


<!--T:10-->
=== Recommended use / good practices for moderators === <!--T:10-->
Here are our practices we follow when moderating content, which the extension itself recommends:


=== Recommended use / good practices for moderators === <!--T:11-->
<!--T:11-->
The following good-practices are advised:


<!--T:12-->
<!--T:12-->
The following good-practices are advised:
<!--T:13-->
# Only vandalism should be Rejected. Not-so-good edits with good intentions (e.g. adding excessive plot details into the Wikipedia article about film) are better made Approved and then reverted as usual. This way the author is not offended and the text is saved in page history, viewable by anyone.
# Only vandalism should be Rejected. Not-so-good edits with good intentions (e.g. adding excessive plot details into the Wikipedia article about film) are better made Approved and then reverted as usual. This way the author is not offended and the text is saved in page history, viewable by anyone.
# Any user that is deemed legitimate (does N good edits) should be added into <code>automoderated</code> group.
# Any user that is deemed legitimate (does N good edits) should be added into <code>automoderated</code> group.
Line 44: Line 41:
# Allow the full rehabilitation of users with a bad history of editing. Their useful edits to the articles should be allowed, no matter how many times they were blocked. At the same time, trolling on talk pages should be rejected, so are the purposely-low-quality edits.
# Allow the full rehabilitation of users with a bad history of editing. Their useful edits to the articles should be allowed, no matter how many times they were blocked. At the same time, trolling on talk pages should be rejected, so are the purposely-low-quality edits.


== How to create a video == <!--T:14-->
== How to create a video == <!--T:13-->


=== Step 1: Getting a Map === <!--T:15-->
=== Step 1: Getting a Map === <!--T:14-->


==== Variant 1: Using an existing map ==== <!--T:16-->
==== Variant 1: Using an existing map ==== <!--T:15-->


<!--T:17-->
<!--T:16-->
To use maps from videos in the wiki:
To use maps from videos in the wiki:


<!--T:18-->
<!--T:17-->
# Right-click the video and click ‘Open Video in New Tab’. Now you can find the name of the video in the URL
# 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
# Go [https://gitlab.com/ddnet-wiki/ddnet-wiki.gitlab.io/-/tree/master/static/videosherehere here] and download the correct demo
Line 59: Line 56:
# While you have the demo open, go into the editor, click <code>File</code>, and select <code>Load Current Map</code>
# While you have the demo open, go into the editor, click <code>File</code>, and select <code>Load Current Map</code>


<!--T:19-->
<!--T:18-->
Now you can edit and use the map for the demo.
Now you can edit and use the map for the demo.


==== Variant 2: Creating a new map ==== <!--T:20-->
==== Variant 2: Creating a new map ==== <!--T:19-->


<!--T:21-->
<!--T:20-->
# Create a new map in the editor
# Create a new map in the editor
# Set the background color to <code>#5E84AE</code>
# Set the background color to <code>#5E84AE</code>
Line 76: Line 73:
#* Insert a scale if suited
#* Insert a scale if suited


==== Step 2.1: Recording the demo ==== <!--T:22-->
==== Step 2.1: Recording the demo ==== <!--T:21-->


<!--T:23-->
<!--T:22-->
# Turn demo recording on
# Turn demo recording on
#* I suggest <code>Settings -> General -> Automatically record demos</code>
#* I suggest <code>Settings -> General -> Automatically record demos</code>
Line 85: Line 82:
# Join it with your client, try the trick until you are satisfied with the result and keep loopability in mind
# Join it with your client, try the trick until you are satisfied with the result and keep loopability in mind


==== Recording Settings ==== <!--T:24-->
==== Recording Settings ==== <!--T:23-->


<!--T:25-->
<!--T:24-->
Set consistent skin:
Set consistent skin:


<!--T:26-->
<!--T:25-->
* Hammer: brownbear
* Hammer: brownbear
* Pistol: coala
* Pistol: coala
Line 99: Line 96:
* Jump: bluekitty
* Jump: bluekitty


==== Step 2.2: Cutting the demo ==== <!--T:27-->
==== Step 2.2: Cutting the demo ==== <!--T:26-->


<!--T:28-->
<!--T:27-->
# In your client, go to <code>Demos -> auto/</code>
# In your client, go to <code>Demos -> auto/</code>
# Open the demo you recorded
# Open the demo you recorded
Line 109: Line 106:
# Use the camera icon to save the shortened demo
# Use the camera icon to save the shortened demo


<!--T:29-->
<!--T:28-->
Tip: you can repeat these steps multiple times to be able to cut the demo more precisely
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 ==== <!--T:30-->
==== Step 2.3: Converting the demo to a video ==== <!--T:29-->


<!--T:31-->
<!--T:30-->
Once you have the client, converting a demo is as simple as:
Once you have the client, converting a demo is as simple as:


<!--T:32-->
<!--T:31-->
* Open the client (with the converting functionality)
* Open the client (with the converting functionality)
* Set zoom to 10: <code>cl_default_zoom 10</code>
* Set zoom to 10: <code>cl_default_zoom 10</code>
Line 124: Line 121:
* Click <code>Render</code> at the bottom
* Click <code>Render</code> at the bottom


=== Step 3: Getting the video into the wiki === <!--T:33-->
=== Step 3: Getting the video into the wiki === <!--T:32-->


<!--T:34-->
<!--T:33-->
Some of the following steps might be a little overwhelming. You can simply ask one of the wiki admins to do the remaining steps.
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 ==== <!--T:35-->
==== Step 3.1: Cropping the video ==== <!--T:34-->


<!--T:36-->
<!--T:35-->
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.
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 ==== <!--T:37-->
==== Step 3.2: Uploading the video to the wiki ==== <!--T:36-->


<!--T:38-->
<!--T:37-->
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 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.


<!--T:39-->
<!--T:38-->
To upload a file you can go to [[Special:MyLanguage/Special:Upload|Upload file]] link on the sidebar.
To upload a file you can go to [[Special:MyLanguage/Special:Upload|Upload file]] link on the sidebar.


==== Step 3.3: Inserting the video into an article ==== <!--T:40-->
==== Step 3.3: Inserting the video into an article ==== <!--T:39-->


<!--T:41-->
<!--T:40-->
To insert a video into an article, first you have to choose whether it fits in the text or on a side.
To insert a video into an article, first you have to choose whether it fits in the text or on a side.


<!--T:42-->
<!--T:41-->
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:
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:


<!--T:43-->
<!--T:42-->
<nowiki>[[File:myvideo.mp4|gif]]</nowiki>
<nowiki>[[File:myvideo.mp4|gif]]</nowiki>


<!--T:44-->
<!--T:43-->
If you consider it better to be floating on the right side, you can do this
If you consider it better to be floating on the right side, you can do this


<!--T:45-->
<!--T:44-->
<nowiki>[[File:myvideo.mp4|right|gif]]</nowiki>
<nowiki>[[File:myvideo.mp4|right|gif]]</nowiki>


<!--T:46-->
<!--T:45-->
Or with a thumb and a label:
Or with a thumb and a label:


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


<!--T:48-->
<!--T:47-->
If you think the video is too small, you can specify a size:
If you think the video is too small, you can specify a size:


<!--T:49-->
<!--T:48-->
<nowiki>[[File:myvideo.mp4|gif|400px]]</nowiki>
<nowiki>[[File:myvideo.mp4|gif|400px]]</nowiki>


<!--T:50-->
<!--T:49-->
You can learn more in detail about media placement here: https://www.mediawiki.org/wiki/Help:Images
You can learn more in detail about media placement here: https://www.mediawiki.org/wiki/Help:Images


== Templates == <!--T:51-->
== Templates == <!--T:50-->


<!--T:52-->
<!--T:51-->
If you identify a common occurrence, such as weapon info boxes, you can automate it creating templates, more info [[mediawikiwiki:Help:Templates|here]].
If you identify a common occurrence, such as weapon info boxes, you can automate it creating templates, more info [[mediawikiwiki:Help:Templates|here]].


<!--T:53-->
<!--T:52-->
List of created templates:
List of created templates: [[:Category:Templates|:Category:Templates]]
 
<!--T:54-->
[[:Category:Templates|Category:Templates]]


== Translation == <!--T:55-->
== Translation == <!--T:53-->


=== Title === <!--T:56-->
=== Title === <!--T:54-->


<!--T:57-->
<!--T:55-->
To translate the title you can go to "Edit source" and add <code><nowiki>{{DISPLAYTITLE:Translated title}}</nowiki></code>  to the top of the page replacing "Translated title" with the title you want displayed.
To translate the title you can go to "Edit source" and add <code><nowiki>{{DISPLAYTITLE:Translated title}}</nowiki></code>  to the top of the page replacing "Translated title" with the title you want displayed.


=== Linking === <!--T:58-->
=== Linking === <!--T:56-->


<!--T:59-->
<!--T:57-->
You can archive the same in the visual editor, by first linking the translated page: e.g. by typing <code>[[</code> to open the linking page. Enter <code>Jump/de</code> to link to the correct page and then modify the display text to the translated version.
You can archive the same in the visual editor, by first linking the translated page: e.g. by typing <code>[[</code> to open the linking page. Enter <code>Jump/de</code> to link to the correct page and then modify the display text to the translated version.
</translate>
</translate>