The premier wiki for all things Blender in Oregon since noon, October 29, 2012

—-

NameSpaces

A namespace is a grouping of names that serve some similar purpose. Each name within a namespace needs to be a unique identifier, but the same name can be used in different namespaces.

In Dokuwiki, namespaces are equivalent to subdirectories or folders and pagenames are equivalent to filenames. However other wikis, such as those that use databases for storage, implement pagenames and namespaces in other ways. To be consistent with all wikis, blenderPDX wiki uses the word “pagename” instead of “filename” and “namespace” instead of “subdirectory”.

Namespaces can be nested: membr:willw:image is an example that the member WillW (me, when I'm not playing adminw) uses to store images he has uploaded.

Namespaces need to be prepended to links using colons, like so: [[parent_namespace:child_namespace:pagename]]. If a namespace does not yet exist, it will be created when the pagename file is created.

The wiki at blenderPDX uses a few conventions about namespaces that are intended to keep things from getting too messy.

Here is the expanded version:

[[ namespace : pagename | link text ]]

 |     |     |     |    |      |     |
 |     |     |     |    |      |     +--- Closing square braces
 |     |     |     |    |      |
 |     |     |     |    |      +--------- clickable text  
 |     |     |     |    |
 |     |     |     |    +---------------- pipe separator between link and text shown to reader
 |     |     |     |
 |     |     |     +--------------------- pagename
 |     |     |
 |     |     +--------------------------- colon separator between namespace(s) and pagename
 |     |
 |     +--------------------------------- namespaces. These can be nested, //eg// outermost:outer:inner:somepage
 |
 +--------------------------------------- opening square braces


Login