Spaces
- AdminGuide
- ColorThemes
- Dev
- DevGuide
- Features
- Localization
- Main
- MultiPageExport
- Panels
- SavedList
- Scheduler
- Stats
- XWiki
A space is a container for pages. It is made of all the pages in that space. 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 name and its space name. For XWiki.org for instance, the content is organized within the spaces listed on the right (they are the spaces for this sub-wiki).
This type of organization helps in creating a taxonomy whereby you have the ability to create subdivisions (e.g., server.name/Wiki/XWiki) to better organize information and manage rights more easily on your XWiki.
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.
On your wiki's homepage you will see a list of all available spaces:
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.
You can also create spaces straight from the homepage by clicking the "Create a new space" link as presented below:
Starting with the Colibri skin there is a "Create" menu at the top of the page. Hover over the menu and click on "Space".
Fill in the Space homepage name and click "Create".
Deleting a space
In order to delete a space you will need to delete all pages in that space.
Snippets for spaces
- If you want to list all the spaces in your wiki, check out the "List All Spaces" code snippet.
- You can also use the Space deletion snippet to delete all pages in a space (hence the space itself) at once.
- If you want to rename a full space, see the Space Rename Snippet.