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 [2022-03-15 04:45] – [Creating Namespaces] 174.215.172.63namespaces [2022-08-21 08:46] – old revision restored (2022-06-04 20:30) 99.74.181.38
Line 1: Line 1:
- 
- 
 ===== Creating Namespaces ===== ===== Creating Namespaces =====
  
Line 7: Line 5:
 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 computer and adding a ''name:'' (of name 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 13: Line 11:
 ^  Examples:  ^^ ^  Examples:  ^^
 |example\\ .example\\ .:example|refers to the page "example" in the **current** namespace.| |example\\ .example\\ .:example|refers to the page "example" in the **current** namespace.|
-|:example|refers to the page "example" in the **root** name.| +|:example|refers to the page "example" in the **root** namespace.| 
-|..example\\ ..:example\\ .:..:example|refers to the page "example" in the **root** namespace| +|..example\\ ..:example\\ .:..:example|refers to the page "example" in the **parent** namespace| 
-|wiki:example|refers to the page "example" in the name "wiki". The namespace "wiki" is located **beneath the root** name.| +|wiki:example|refers to the page "example" in the namespace "wiki". The namespace "wiki" is located **beneath the root** namespace.| 
-|ns1:ns2:example\\ :ns1:ns2:example|refers to the page "example" in the namens2. The namespace ns2 is located beneath the namespace ns1; the namespace ns1 is located **beneath the root** namespace.|+|ns1:ns2:example\\ :ns1:ns2:example|refers to the page "example" in the namespace ns2. The namespace ns2 is located beneath the namespace ns1; the namespace ns1 is located **beneath the root** namespace.|
 |.ns1:ns2:example\\ .:ns1:ns2:example|refers to the page "example" in the namespace ns2. The namespace ns2 is located beneath the namespace ns1; the namespace ns1 is located **beneath the current** namespace.| |.ns1:ns2:example\\ .:ns1:ns2:example|refers to the page "example" in the namespace ns2. The namespace ns2 is located beneath the namespace ns1; the namespace ns1 is located **beneath the current** namespace.|
 |..ns1:ns2:example\\ ..:ns1:ns2:example|refers to the page "example" in the namespace ns2. The namespace ns2 is located beneath the namespace ns1; the namespace ns1 is located **beside the current** namespace (i.e. both ns1 and the current namespace are beneath the same parent namespace, wherever according to the root namespace this parent may be located itself).| |..ns1:ns2:example\\ ..:ns1:ns2:example|refers to the page "example" in the namespace ns2. The namespace ns2 is located beneath the namespace ns1; the namespace ns1 is located **beside the current** namespace (i.e. both ns1 and the current namespace are beneath the same parent namespace, wherever according to the root namespace this parent may be located itself).|
namespaces.txt · Last modified: 2024-04-15 08:07 by saggi

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