Book Versions Application
| Application for managing and publishing documentation (a collection of pages) that is versioned (with inheritance of content or not), described by a status, that can be conditioned by variants, and using libraries of keywords/rich content dynamically filled in. |
| Type | XAR |
| Category | Application |
| Developed by | Anca Luca, Raluca Stavro, Mathieu Pace, Paul Pantiru, Josué Tille |
| Rating | |
| License | GNU Lesser General Public License 2.1 |
Table of contents
Description
Application for managing and publishing documentation (a collection of pages) that is versioned (with inheritance of content or not), described by a status, that can be conditioned by variants, and using libraries of keywords/rich content dynamically filled in.
Installation
- Install the extension on your main wiki (or on farm to skip step 2),
- Install the extension the wikis where Books and Libraries will be created (master wikis),
- Install the extension's publication elements on the wikis where Books and Libraries will be published,
- Go to the wiki's administration > Extensions,
- Click More, then Advanced search on the right,
- In the Extension ID field, enter org.xwiki.contrib:application-book-versions-publish-ui,
- In the Version field, enter the same version number as the installed extension,
- Click Search
- Select Install, then Continue.

Configuration
The following configurations are for the master wikis.
Rights
No rights are set by default on any of the managing sections, or the book definition, or the book pages. This means that by default, all users having edit rights on the book will also have edit rights on its versions, variants and languages.
Read the documentation about how to set rights in XWiki.
Publication Rights
To be able to publish a Book or Library, custom publishing rights must be given.
- Go to the wiki's administration > Users & Rights > Extension Rights
- Check the box in the Publish Books column for each local/global user/group required

Navigation Panel
The extension provides a navigation panel which makes navigating in a Book or Library easier. It is displayed only when the user displays pages part of one of these.
- Go to the wiki's administration > Look & Feel > Panels
- Add BookVersions.Code.BookNavigationPanel to the list of the panel side appropriate to your needs

Objects to remove at publication
It is possible to configure which type of objects are removed from pages at publication. It prevents replacing existing metadata on the published space page, or publishing internal data from the master space.
- Go to the page BookVersions.Code.ConfigurationObjectsToRemove
- Edit the objects of the page (requires to be an Advanced User).
- Add an object of the type to be removed, no need to set any configuration to the object.
- Save the page.
Default configuration is:
- XWiki.XWikiComments, to avoid publishing internal comments and replacing comments on the already published page
- XWiki.XWikiGlobalRights, to avoid replacing rights in the publishing space
- XWiki.XWikiRights, to avoid replacing rights in the publishing space
Prerequisites & Installation Instructions
We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.
You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:
- Log in the wiki with a user having Administration rights
- Go to the Administration page and select the Import category
- Follow the on-screen instructions to upload the downloaded XAR
- Click on the uploaded XAR and follow the instructions
- You'll also need to install all dependent Extensions that are not already installed in your wiki
Versions
Dependencies
Dependencies for this extension (org.xwiki.contrib:application-book-versions-ui 1.30):
- org.xwiki.contrib:application-book-versions-common-ui 1.30
- org.xwiki.contrib:macro-job 2.2.0