Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| wiki:namespaces [Le 11/09/2022, 13:15] – Suppression des espaces en fin de ligne (détecté et corrigé via le bot wiki-corrector (https://forum.ubuntu-fr.org/viewtopic.php?id=2067892) moths-art | wiki:namespaces [Le 21/09/2026, 21:17] (Version actuelle) – supprimée krodelabestiole | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== Namespaces ====== | ||
| - | Namespace => régle de nommage, espace de nommage [[regles de nommage]] | ||
| - | |||
| - | [[DokuWiki]] supports so called // | ||
| - | |||
| - | If there is no colon in a linked pagename the current namespace is assumed. You can escape to the default namespace by prepending a colon to the pagename. Here are some examples: | ||
| - | |||
| - | * [[wiki: | ||
| - | * [[start]] links to '' | ||
| - | * [[:start]] links to '' | ||
| - | |||
| - | < | ||
| - | * [[wiki: | ||
| - | * [[start]] links to '' | ||
| - | * [[:start]] links to '' | ||
| - | </ | ||
| - | |||
| - | Sometimes you may want to link to a subnamespace without giving the full namespace. You can start the link with a dot ('' | ||
| - | |||
| - | * [[discussion]] links to '' | ||
| - | * [[discussion: | ||
| - | * [[.discussion: | ||
| - | |||
| - | < | ||
| - | * [[discussion]] links to '' | ||
| - | * [[discussion: | ||
| - | * [[.discussion: | ||
| - | </ | ||
| - | |||
| - | Namespaces are helpful to categorize or structure the content.. | ||
| - | |||
| - | One can use them to split content about the same subject from other unrelated content. This split occurs at two levels: storage and linking. | ||
| - | |||
| - | * storage - namespaces are stored as folders (directories) on the host file system. This helps keeping content about the same subject inside one folder, where all raw text files from the documents with that content are contained. Very handy to administrators, | ||
| - | * linking - namespaces are the prefix < | ||
| - | |||
| - | Note: pages and documents are the same entity: document with content = HTML page. | ||
