DokuWiki

It's better when it's simple

User Tools

Site Tools


namespaces

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
namespaces [2017-07-27 07:59] – old revision restored (2017-07-26 11:01) werner.flammenamespaces [2018-09-28 10:30] – [Creating Namespaces] Michaelsy
Line 5: Line 5:
    
 A default DokuWiki installation comes with the built-in namespaces: //wiki// and //playground//. A default DokuWiki installation comes with the built-in namespaces: //wiki// and //playground//.
 +
 ===== Creating Namespaces ===== ===== Creating Namespaces =====
  
Line 11: Line 12:
 All namespaces used in your pagename that don't exist already will be created by DokuWiki automatically. All namespaces used in your pagename that don't exist already will be created by DokuWiki automatically.
  
-A namespace can be created in the media manager after having selected a file on the local computer and adding a ''name:'' (of namespace wanted) just before the media file name and then clicking  ''upload''. This will create on the fly the namespace (folder) for the file media, visible after a refresh of the windows. +A namespace can be created in the media manager after having selected a file on the local computer and adding a ''name:'' (of namespace wanted) just before the media file name and then clicking ''upload''. This will create on the fly the namespace (folder) for the file media, visible after a refresh of the windows.
  
 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 [[.:page#create_a_page|Adding pages]]. 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 [[.:page#create_a_page|Adding pages]].
Line 32: Line 33:
  
 Links relative to the current namespace may also begin with either "." or ".:" (".." or "..:" for parent namespace). Links relative to the current namespace may also begin with either "." or ".:" (".." or "..:" for parent namespace).
 +
 +===== 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:
 +<code>
 +{{image.jpg}}
 +</code>
 +
 +
  
 ===== Deleting namespaces ===== ===== Deleting namespaces =====
Line 85: Line 95:
 The pages are checked in that order and whatever page is found first will be linked to. [[config:autoplural|Autoplural]] linking is not done for those links. The pages are checked in that order and whatever page is found first will be linked to. [[config:autoplural|Autoplural]] linking is not done for those links.
  
 +===== Interwiki Links =====
  
-DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis. +DokuWiki supports Interwiki links. These are quick links to other Wikis. 
-For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]].+For example: [[wp>Wiki]] is a link to Wikipedia's page about Wikis. → Main article: [[doku>Interwiki]]
namespaces.txt · Last modified: 2024-02-26 13:38 by bartv

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki