Namespace Manager
This is an old revision of this page, as edited February 13, 2008, 12:48 AM by pegasus(contribs). It may differ significantly from the current revision.
A namespace is the largest article container in NuWiki apart from NuWiki itself. The namespace functionality was added in the CES NuWiki Special Pages modification, and is the basic component on which the rest of the modification builds. A namespace is generally equivalent to any top-level forum with a NuWiki Forum Mode, usually sharing its title and forum ID, referred to as the NuWiki Parent.
In each namespace, more than one article cannot have the same article title, with the exception of an Island. Every namespace has a unique BB-Code for linking from any article to an article in the BB-Code's namespace.
==Main Namespace==
The main namespace is the default namespace, specified by the following values:
PHP Code:$vbulletin->options['nuwiki_default_forumid']
$vbulletin->options['nuwiki_default_namespace']
Articles in the main namespace can be accessed without prefixing the namespace title in the URL. However, the main namespace is variable in Multidomain Wikis, allowing different domains to use different defaults.
==Special Namespace==
The Special namespace contains dynamic articles with statistical information about the rest of NuWiki, called Special Pages. In general, the Special namespace is for administrative and statistical use only.
==Template Namespace==
The Template namespace contains standardized text selections which can be included and modified in many articles at once quickly and easily by their authors. Editing a template will update the content of each other article that makes use of the template.
==Help Namespace==
The Help namespace contains articles describing the technical features of NuWiki and its modifications and how to properly use those features. A complete list of Help topics can be accessed in Help:Contents.
==Additional Namespaces==
Namespaces can be added manually or by installing further modifications to NuWiki. In order to facilitate proper article linking among new namespaces, or if the default namespace would be modified by a multi-domain setup, the Tag Map correlates namespaces to their respective BB-Code tags.
As of CES NuWiki Special Pages v2.0, the following function automatically searches vBulletin's forum cache for compatible forums, adding them to the namespace array:
PHP Code:$namespace_array = fetch_namespace_array();