Loading...
 

 Note

This page is to document "what Tiki should do". For feature documentation (what Tiki does), please see corresponding page on doc site

Namespaces

For Tiki10: adding native support for namespaces.


The problem:
We have Categories, Perspectives, Permissions to make Workspaces but we don't have a smart way to have the same page name in two workspaces. Ex.: project A:intro and project B:intro


We want this for group names and wiki page names (at least!) but perhaps trackers and forums.

We would like pref override per namespace (like we have for perspectives). So we can override site title, logo, domain name, etc.

There needs to be a manager group per namespace. Manager decides of categories and permissions in the namespace. And also of group membership with Group Transitions

Breakdown

The primary purpose of a namespace is disambiguation in page names, allowing for common page names to be used in multiple projects or workspaces. Other features may be attached to them, but this may complexify implementation.

Tiki already has some ways to deal with namespaces in some limited ways. Users often use prefixes or sufixes. There is even a feature to hide the suffix after a certain identifier.

A complete implementation would need to take these hacks a step further.

  • Displaying the page name must be reduced to the base name, potentially displaying the namespace as a secondary attribute or tooltip.
  • Links within a wiki page must first lookup pages within the same namespace.
  • Page creation from a link must create a page in the same namespace by default.
  • The Create/Edit page module must also consider the current page's namespace.
  • Search functionalities would also need to be adjusted, but the cases need to be analysed with more details.


The use of namespaces for non-wiki features may simply be cosmetic as unicity is rarely a constraint.

Namespaces are closely related to category hierarchies. The primary difference is that there can be a single namespace for a wiki page while there can be multiple categories. Given a matching category structure with the namespace structure, automatic assignment of the category would simplify permission management.

Perspectives are a central part of workspaces. A preference could be created to specify the default namespace. The automatic categories provided by the category jail would no longer be required for wiki pages.

For consistency, the concept of primary category could be introduced to all features, allowing automatic permission assignment to work in a predictable manner. A primary category would allow to simplify the idea of looking up a perspective based on the object, which was not reliable due to the multiple possible categories.

Related links

http://meta.wikimedia.org/wiki/Help:Namespace
http://www.wikimatrix.org/wiki/Tiki+Wiki+CMS+Groupware:Namespaces

Questions and Comments

  • "There needs to be a manager group per namespace". Why is this a requirement? If the system policy is to have many small namespaces, e.g. 1 namespace per student workgroup in a class, this requirement will lead to an excessive amount of manager groups.
  • Should namespaces be freely defined by the user? E.g. naming a page: myspace:thepage creates the namespace "myspace" if it doesn't exist, or should the use of namespaces by confined to a defined set. Thus the creation of myspace:thepage would fail, unless a namespace "myspace" is already explicitly defined. Having attached elements, e.g. a dedicated Manager group implies only predefined namespaces can be used
  • Namespaces (and wiki page names) should not include leading and trailing whitespace. The entered page name "a:page" is the same name as " a : page ".

Thoughts


link to UserTorsten-Namespaces



alias

Page last modified on Monday 19 November, 2012 14:25:29 GMT-0000

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

Accessibility (WAI & 508)
Accounting
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Group
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags
Task
Tell a Friend, alert + Social Bookmarking
Terms and Conditions
Theme
TikiTests
Timesheet
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools