- VW3
- Namespace Manager
Return to current revision
Current Revision
January 6, 2015, 1:51 PM
General Differences
made the following changes
- changed the title prefix from 'Help' to 'VW3'
- changed the meta description
-
-
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 bu... -
+
The Namespace Manager, accessible via VaultWiki > Namespace Manager, is where you will do the majority of namespace management. When you enter this section, you will be presented with a table where each row is a namespace in th
-
Differences in Content
-
-
A [b]namespace[/b] is the largest article container in NuWiki apart from NuWiki itself. The namespace functionality was added in the [help]CES NuWiki Special Pages[/help] 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 [help]Forum Mode[/help], 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 [help]Island[/help]. Every namespace has a unique BB-Code for linking from any article to an article in the BB-Code's namespace.
[h=2]Basic Namespaces[/h]
[h=3]Main Namespace[/h]
The main namespace is the default namespace, specified by the following values:
[php]$vbulletin->options['nuwiki_default_forumid']
$vbulletin->options['nuwiki_default_namespace'][/php]
Articles in the main namespace can be accessed without prefixing the namespace title in the URL. However, the main namespace is variable in [help]Multidomain Wiki[/help]s, allowing different domains to use different defaults.
[h=3]Special Namespace[/h]
The Special namespace contains dynamic articles with statistical information about the rest of NuWiki, called [help]Special Page[/help]s. In general, the Special namespace is for administrative and statistical use only.
[h=3]Template Namespace[/h]
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 [help]template[/help] will update the content of each other article that makes use of the template. -
+
The Namespace Manager, accessible via [COLOR="DimGray"]VaultWiki > Namespace Manager[/COLOR], is where you will do the majority of namespace management. When you enter this section, you will be presented with a table where each row is a namespace in the database. -
-
-
[h=3]Help Namespace[/h]
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]Help:Contents[/help]. -
+
In the first column, [I]#[/I], you will see the ID of the namespace. -
-
-
[h=2]Managing Namespaces[/h]
Namespaces can be added manually or by installing further modifications to NuWiki. To manually add a namespace, simply set a forum's NuWiki Forum Mode to 1 or 2 and make sure it does not have a Parent Forum. A namespace should ideally be open for posting, i.e. not a vBulletin Category. When saving the namespace Forum, all child threads are automatically updated with the NuWiki Parent information. Although the NuWiki Parent should be available in the thread's nuwiki_parent key, the thread's namespace ID can also be retrieved by backtracing the forum's parent list using this function:
[php]$thread['nuwiki_parent'] = fetch_nuwiki_parent($thread['forumid']);[/php] -
+
The second column, [I]Title[/I], shows the name of the namespace. Sometimes an alternative Title may appear below this in bold-face. -
-
-
Once a namespace has been created, avoid changing it to a Child Forum. This will corrupt some cached data, breaking statistics and making some articles completely inaccessible. If this occurs you should rebuild the NuWiki [help]Article List[/help] to fix the access problems, as well as the [help]Link Cache[/help] to fix statistics. -
+
[image]namespace.jpg|center[/image]
The third column, [I]BB-Code Tag Name[/I], shows the BB-Code tag that can be used to link to articles stored in that namespace. -
-
-
In order to facilitate proper article linking among namespaces, or if the default namespace would be modified by a multi-domain setup, the [help]Tag Map[/help] correlates namespaces to their respective BB-Code tags. -
+
The fourth column, [I]Display Order[/I], allows you to define the order that the namespaces appear in the forum list. This setting overrides the forum setting for the main forum in the namespace. You can make changes to the Display Order here and click 'Save Display Order' to apply those changes. -
-
-
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]$namespace_array = fetch_namespace_array();[/php] -
+
The fifth column, [I]Controls[/I], allows you to:
[list][*][I]Edit[/I] - this takes you to a page where you can edit each of the namespace's general settings
[*][I]Forum[/I] - this takes you to a page where you can edit each of the namespace's forum settings
[*][I]Rebuild[/I] - this will attempt to fix articles in the namespace that may be broken
[*][I]Delete[/I] - this allows you to remove the namespace from the database. The corresponding forums will not be removed.[/list]