Namespaces represent the location you are in. It is similar to a directory, but can also be a page itself. It can be separated using slash / or semi-colon : (only a matter of preference)
Let's take this example:
http://www.m-privacy.de/products/tightgate
“products” is a namespace. If there is some information on the URL http://wwwm-privacy.de/products, then it is also a page.
“tightgate” is a page, and also a namespace:
I just have to create a page beneath it and this page will be in the “tightgate” namespace.
It could also be presented like this: “:products:tightgate”
or even like this
http://www.m-privacy.de/index.php?id=products:tightgate
| Examples when creating links: | |||
|---|---|---|---|
| These are examples only, please do not create the pages and namespaces linked ! | |||
| Link | Example | Real path | Explanation |
| :example | example | /example | refers to the page “example” in the root namespace. |
| example | example | example | refers to the page “example” in the current namespace. |
| wiki:example | example | /wiki/example | refers to the page “example” in the namespace “wiki”. The namespace “wiki” is located beneath the root namespace. |
| ns1:ns2:example | 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, because it is a full path |
| :ns1:ns2:example | example | /ns1/ns2/example | same as above |
| .ns1:ns2:example | 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: | ns2 | ns1/ns2 | refers to the page “start” in the namespace ns2. The namespace ns2 is located beneath the namespace ns1; the namespace ns1 is located beneath the current namespace. |