Spaces

List of spaces on this wiki
  • AdminGuide
  • DevGuide
  • Features
  • Main
  • Panels
  • Photos
  • Scheduler
  • XWiki

A space is a container for pages. In other words it's a set of pages grouped together under the same name. You may have noticed the notation [Space.Page]. This is a link to the page named "Page" in the "Space" space. Thus a page is uniquely identified by both its space name and its name. For XWiki.org for instance, the content is organized within the spaces on the right.

This type of organizations helps in creating a taxonomy whereby you have the ability to create subdivisions (eg, server.name/Wiki/XWiki) to better organize information and manage rights more easily on your XWiki.

SpaceRights.JPG

Note that XWiki currently doesn't support nested spaces (nor nested pages) but pages can have parents, thus allowing the creation of hierarchies, as deep as you want.

Space creation

Spaces are created implicitly and automatically as soon as one page is created with its name as the page space name. For example if you create a link in a page to [NewSpace.Page], the first time you click on the link to create the page the "NewSpace" space will be created and the page will be saved inside it.

Snippets for spaces

Version 8.1 last modified by VincentMassol on 09/01/2008 at 22:36

Comments 6

GregMiller | 11.01.2007 at 12:30 AM
Is there a way to automatically create multiple pages within a space? We have hundreds of HTML files that I would like to migrate over from our old environment.

pedroatwork | 12.01.2007 at 03:51 PM
Quick question: how can I delete a Space?

GuillaumeLerouge | 05.02.2007 at 07:56 PM
To delete a space you have to delete all pages in that given space, space deletion will follow automatically. You can use the snippet listed above to do so.

RichardTerry | 27.03.2007 at 09:30 PM
Is there a simple way to move a page from one space to another? I was thinking about:
  1. Creating a page in the new space with the same page name.
2. Copying the contents of the page in the old space to the page in the new space. 3. Deleting the old page.

I'm hoping that there is a "move" snippet that I can use.


ZHANGLei | 29.03.2007 at 09:43 AM
How a space can support multilevel catalog?

ZHANGLei | 29.03.2007 at 09:43 AM
How a space can support multilevel catalog?

Attachments 1

Image
SpaceRights.JPG 1.3
PostedBy: GuillaumeLerouge on 09/01/2008 (15kb )

Creator: VincentMassol on 2007/12/09 15:43
This wiki is licensed under a Creative Commons license
1.4.1.10194