namespaces
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
namespaces [2017-12-05 01:07] – 2a02:a03f:1e23:f800:9120:e686:999a:544d | namespaces [2019-03-07 00:12] – c()rb1n | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Namespaces ====== | ||
- | A namespace is similar to a directory or folder, while pages are similar to files. | + | |
- | In [[DokuWiki]] | + | ===== Creating Namespaces |
- | + | ||
- | A default DokuWiki installation comes with the built-in namespaces: //wiki// and // | + | |
- | ===== | + | |
You don't need to create namespaces separately; simply create pages with colons in the [[pagename]]. | You don't need to create namespaces separately; simply create pages with colons in the [[pagename]]. | ||
Line 13: | Line 9: | ||
A namespace can be created in the media manager after having selected a file on the local computer and adding a '' | A namespace can be created in the media manager after having selected a file on the local computer and adding a '' | ||
- | In DokuWiki pages are created as in every other wiki. Simply create a link to a non existing page, follow this link, and click on Create this page. See also [[.: | + | In DokuWiki, pages are created as in every other wiki. Simply create a link to a non existing page, follow this link, and click on Create this page. See also [[.: |
^ Examples: | ^ Examples: | ||
Line 32: | Line 28: | ||
Links relative to the current namespace may also begin with either " | Links relative to the current namespace may also begin with either " | ||
+ | |||
+ | ===== Referring Images ===== | ||
+ | |||
+ | Regarding referring of namespaces, images and other media files are handled like wiki pages. That means, the following refers to an image that belongs to the current namespace: | ||
+ | < | ||
+ | {{image.jpg}} | ||
+ | </ | ||
+ | |||
+ | |||
===== Deleting namespaces ===== | ===== Deleting namespaces ===== | ||
Line 85: | Line 90: | ||
The pages are checked in that order and whatever page is found first will be linked to. [[config: | The pages are checked in that order and whatever page is found first will be linked to. [[config: | ||
- | DokuWiki supports | + | ===== Interwiki Links ===== |
- | For example | + | |
+ | DokuWiki supports Interwiki links. These are quick links to other Wikis. | ||
+ | For example: [[wp> |
namespaces.txt · Last modified: 2024-04-15 08:07 by saggi