[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Dit is een oude revisie van het document!


Wiki Handleiding en Richtlijnen

Aan vertaling van deze pagina wordt gewerkt (Eric Hameleers)

Namespaces

Het is een goed idee om vertrouwd te geraken met het concept van namespaces in DokuWiki - het geeft de structuur aan de inhoud: https://www.dokuwiki.org/namespaces

Eenvoudige artikelen

Als het je bedoeling is om een eenvoudige enkele pagina te schrijven dan is het aan te raden om een van onze bestaande namespaces te gebruiken:

  • Nederlandstalige howtos:
    The meest logische plaats voor al je artikelen
  • slackware:
    Artikelen die een directe relatie hebben tot de distro (dit vereist medewerking van een wiki admin om de pagina uiteindelijk hier naar toe te kopiëren)
  • wiki:user:
    Waar iedere Wiki gebruiker zijn eigen “home page” kan opzetten
  • Of een van de gelokaliseerde namespaces (zoals nl: de: fr: enzovoort) die ieder op zich weer een vertaalde kopie hebben van de sub-namespaces die eerder genoemd werden

Complexe artikelen

Indien je nieuwe handleidingen, HOWTOs of iets dergelijks wilt toevoegen die onderverdeeld zijn in meerdere pagina's, screenshots bevatten etc, dan is het aan te raden om je artikelen en screenshots in een eigen sub-namespace te zetten. Anders “overspoel” je de huidige namespace en ook wordt het beheer van ge-uploade bestanden moeilijker voor auteurs en admins door de chaos aan bestanden.

Wanneer je een verwijzing toevoegt in een van je bestaande pagina's naar een van je andere pagina's in een sub-namespace, dan moet de naam van die sub-namespace ook in de verwijzing terecht komen.

Dat doe je door gebruik te maken van de dubbele punt, en als je je “namespacing” start met een punt '.' dan maak je je sub-namespace relatief ten opzichte van de huidige namespace (dit is overigens het standaard gedrag van de wiki dus de punt is niet noodzakelijk).

Een voorbeeld. Stel jezelf voor dat je je in de hoofdpagina van de HOWTOs sectie bevindt, en je wilt je eigen HOWTO toevoegen genaamd “icecast streams”. Je wilt hiervoor meerdere met elkaar verbonden pagina's gebruiken met plaatjes. In dat geval zou je een interne wiki verwijzing moeten toevoegen in de HOWTOS startpagina die wijst naar de pagina-naam “.icecast_streams:start”.
Een dergelijke naam (gebruikt in een interne wiki doorverwijzing) resulteert in een pagina in de howtos:icecast_streams: namespace. Je kunt dan al je ge-uploade bestanden in diezelfde namespace plaatsen.
Let op: de spatie in “icecast streams” is in de bovengenoemde namespace vervangen door een liggend streepje (underscore). Vermijd spaties in de pagina-namen en namespaces!
In deze Wiki wordt de HOWTOs index pagina automatisch actueel gehouden omdat alle pagina's de tag “howtos” horen te bevatten.

Probeer de namespace structuur opgeruimd te houden (dwz creëer een nieuwe namespace alleen indien noodzakelijk), en gebruik alleen relatieve doorverwijzingen. Anders wordt het een erg arbeidsintensief werk om alle interne verwijzingen handmatig te corrigeren wanneer we moeten besluiten om wijzigingen aan te brengen in pagina lokaties en namespaces.

Syntax and Formatting

First make yourself familiar with the DokuWiki syntax. It is not the same as MediaWiki syntax.

Try to keep the page formatting as clean as possible:

  • A page's main title heading should be in H1, the headings under that H2, headings under H2 should be H3 etcetera.
  • Don't use horizontal rulers unless necessary (for instance they are not necessary if there is a heading right above or beneath where you want to mark a “new section”).
  • Surround text strings containing example commands, filenames and computer text with a “code text” markup. For example: man rc.inet1.conf. There is a “TT” button in the button bar above which will insert exactly that markup.

Here is an example of what a small page could look like, using namespaces for sub pages etc:

====== This is the page ======

You would write a description of your article here.
Remember that you can use sub-pages (sub-namespaces), where appropriate.

===== The First Section =====

Some bla bla

[[.subpage:start | My in depth article]]

===== The Second Section =====

More text

[[.another_subpage:start | More information with screenshots]]

<!-- You can leave comments in your page - they will not be visible in the resulting Wiki article -->
<!-- Tags are essential for creating a Table Of Contents (TOC) -->
{{tag>howtos software}}

Images

You might want to include rather big screenshots within your articles, but having them displayed full size directly inside the article can make things look bad. Fortunately you can resize the image directly within the article. You can also set the alignment of the picture, some examples will show more than words:

Resize to given width:

{{wiki:dokuwiki-128.png?50}}

And left/center/right alignment like this:

{{ wiki:dokuwiki-128.png}}
{{wiki:dokuwiki-128.png }}
{{ wiki:dokuwiki-128.png }}

See DokuWiki information about images and other files for more info.

Code

You can insert code using the code tag, like this:

<code c> float a; </code>
float a; 
float b;
a = b * 10 + 2 * sin1(x);

Like this example shows, the readability is enhanced a lot if you apply code syntax highlighting when documenting shell scripts and such.

Spell Check

Please spell check your work, either with UK or USA English; many visitors do not have English as their primary language. Grammar checks in particular are hard for non-english authors, so do not hesitate to contact one of our site Editors to assist you in creating legible and fluent english texts.

Text Template

You will notice that whenever you create a new page, you will already have some text pre-filled. This text comes from one of our templates- every namespace has a slightly different template text.
The most important aspect of the template is that it adds default tags to your page. These tags will allow us to populate our Table Of Contents automatically.

An example of a template text:

<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). -->


<!-- Please do not add anything below, except additional tags.-->
<!-- However we request that you remove the tag-word "template" below. Otherwise your page will not show up in the Table of Contents -->

<!-- Do not remove this line and the tag definition below. Thanks! slackdocs@-->
{{tag>howtos template}}

Use of Discussion Pages

It is a good idea to use the “discussion” pages (linked as a tab at the top of each article) to discuss the content of the article, point out errors, clarify doubts, bring something to the attention of the author, and/or propose any major changes.

If you want to add a comment to a discussion page, take a few moments to think about what you want to write before clicking the edit this page tab. Try to keep the time during which you keep the page locked as short as possible, so that you are not an obstacle to other people who also want to comment.

When you decide to add a comment to a discussion page, there are some guidelines you should follow in order to keep discussions legible and orderly:

  • Sign all your comments by clicking the insert signature button on the top WYSIWYG editor toolbar or by using ALT+SHIFT+Y keyboard shortcut
  • Use a Level 2 Headline to add a completely new comment by clicking the blue H on the top WYSIWYG editor toolbar or by using the ALT+SHIFT+2 keyboard shortcut
  • Add all comments at the bottom of the page, unless you are replying. In that case, add your comments directly underneath the post you are replying to. Use the > characters to thread your discussions, adding as many as needed. For example:
===== Topic =====

Original Comment
> The first reply
>> The second reply
>>>The third reply

Will look somewhat like this:

You can subscribe to the talk page's changes if you want to be notified of replies by clicking on the manage subscriptions tab while on the talk page.

Language Considerations

In English, Please

English is the primary language of the Slackware Documentation Project. This seems only natural since Slackware Linux has an English-only installer and English-only documentation. The admin team wants to prevent this project from getting stuck in a Babylonian mess.

So How Are non-English Contributions Being Handled?

Afdrukken/exporteren
 nl:slackdocs:tutorial ()
Deze vertaling is ouder dan de originele pagina en kan verouderd zijn. Kijk wat er is veranderd.