Versioned product documentation on XWiki: when a single wiki space stops working
XWiki can publish documentation for several product versions and languages through Book Versions, and most of the effort is in planning the version model before any content is moved. Product teams usually reach this point after maintaining one documentation space per release, or after leaving Scroll Versions, where versions were handled as copies of pages. Copies drift apart over time: a fix lands in one release and is missed in the others, and translators cannot tell which source text is current. The question to answer first is not how to install the feature, but which releases, languages and audiences the documentation must serve, and how far apart those releases really are.
The feature covers four ideas that shape the model. Version inheritance lets a newer version start from the content of an older one, so only the changed pages need new work. Variants hold differences that apply to a subset of products, editions or platforms. Statuses mark whether a version is in development, published or retired, which controls what readers see. Reusable content lets shared procedures, warnings and parameter descriptions appear in several versions without being copied. Teams need this structure once they support more than two or three active releases, publish in more than one language, or repeat the same material across editions. A single space still works for one current release with little translation.
Before you build, confirm three things with the XWiki version you plan to run and with your own release calendar. Check how Book Versions behaves in the XWiki line you select, since the official Docker images are published for stable and LTS lines (XWiki Docker image documentation lists the variants). Decide who owns each version's status changes, because a retired version still needs redirects and search coverage. Finally, test the migration from your existing Scroll Versions or Confluence content on a copy, and record how many versions and languages you expect to carry, so the quote follows a written scope rather than an estimate.
Which version model fits your product documentation
This table compares four ways to arrange versions and languages in a Book Versions setup, with the situation each one fits and its main cost for maintenance and reader navigation. Read it by matching your release pattern first, then checking the trade-off column before you commit to a structure.
| Model | Best fit | Main trade-off |
|---|---|---|
| One book, linear versions | One product line where each release replaces the last and readers mostly need the current version | Older versions are harder to keep accurate, and readers on legacy releases may land on content that no longer applies |
| Branching from a maintenance line | Several supported releases receive fixes at the same time, such as a stable line plus an older branch still under support | Fixes must be copied between versions, so maintenance effort grows with each supported branch |
| Separate books per product line | Distinct products or editions with different audiences, release cycles and owners | Shared topics are duplicated or need reuse links, and cross-product search becomes less direct |
| Language variants within each version | Products sold in several languages where translators work from a fixed source version | Each translation adds review and sync work, and untranslated pages can confuse readers if fallback is not planned |
| Inherited versions with reusable content | Many releases that share most of their text, with small differences per version | Inheritance rules need careful design and testing, and a wrong parent link can silently change content in several versions |
Reusable content and statuses that keep releases accurate
Versioned documentation fails quietly when one edit reaches more versions, languages or readers than anyone intended. The cards below are the decisions a team should settle before building the version tree, shared content and publication workflow, so that each release shows the text it was meant to show.
Inheritance that changes older versions
Book Versions lets a newer version inherit pages from an older one. An edit to a shared parent page can therefore change the text customers still read in a supported older release. Decide which versions inherit, which pages are pinned or overridden per version, and who approves a change to a parent. Check on a test instance that an edit to a parent appears only where you intend, before any customer-facing version goes live.
Shared snippets and their owners
Reusable content such as warnings, installation prerequisites and product names is written once and included in many pages. Each shared snippet needs a named owner, a list of the pages and versions that include it, and a rule for when a change needs a new version of the snippet rather than an edit in place. Without this list, a small wording change can alter procedures across several products at once.
Status workflow before publication
Decide which statuses a page can hold, such as draft, in review, approved and published, and who may move a page between them. Only approved content should reach a released version. Define who reviews technical accuracy and who reviews language, and whether a reviewer can also be the author. Confirm in the XWiki version you run how statuses and their permissions are configured, since this differs from Confluence and must be tested.
Translation drift between languages
When an English page is corrected, its translations do not update themselves. Decide which language is the source of truth, how translators are told that a source page changed, and whether a translated version may show older content than the source. Agree on a visible marker for pages that lag behind, so readers in another language are not given steps that no longer match the product.
Retiring stale version pages
Every version eventually reaches end of support, and its pages then need a planned exit: archive, redirect to a successor, or remove from navigation with a notice. Decide the support end date for each version and who signs off the retirement. Also decide how shared snippets used only by retired versions are handled, so that a retired page does not keep an active snippet alive.
How to set up versioned documentation on XWiki
This sequence takes a team from a chosen XWiki line and database variant to a tested versioned documentation set, with a pilot product proven before the model is applied to the rest of the catalog. The output is a documentation site that shows the right content for each version and language, with statuses and roles that match how releases are actually shipped.
Confirm the XWiki line and database variant
Decide which XWiki line the documentation platform will run on before anything else is installed. The official Docker images are published as stable, long term support (LTS) and intermediate LTS lines, and each line comes in MySQL, PostgreSQL and MariaDB variants running on Tomcat. Check the current tags in the official image documentation and library file, then record the line, tag, database and architecture (amd64 or arm64v8) in the design document. Done when the platform team and the documentation owner have signed off on that choice and the test instance starts from the chosen image.
Install the Book Versions extension
Install Book Versions from the XWiki Store on the test instance, not on production. Confirm that the extension version is compatible with the XWiki line you recorded in the previous step, because extension compatibility is tied to the platform version. Create a scratch wiki or space, add a small set of test pages, and confirm the extension's book configuration screens load for an administrator. Done when a test book can be created and a second version of it can be added without errors in the logs.
Define the version and language model on paper
Write down the model before building it in XWiki. List every product and major or minor version that needs documentation, which versions inherit content from a parent version, which content is a variant for a specific edition or platform, and which languages are required for each. Decide which pages are reused across versions and which must differ. Agree the naming rules for versions and language codes with the product owners. Done when a reviewer who has not been involved can read the model and predict where a given page will live for any version and language.
Migrate a pilot product
Choose one product with a small, representative set of versions and languages and build it in full. Import or recreate its current content in the test instance, then apply the inheritance, variant and reusable content rules from the model. Where content already lives in another wiki or in Confluence, plan the move using the existing migration path and record any content that needs manual rework. Done when the pilot product shows the expected content for each version and language, and the documentation owner has listed every page that needed rework and why.
Set up statuses and roles
Define the statuses a version can carry, such as draft, current, supported and retired, and map each one to what readers see and who may change it. Assign roles for authors, reviewers, translators and publishers, and set page and space rights so that only the intended roles can move a version to a public status. Test each role with a separate test account to confirm that the rights work as written. Done when every status change has a named owner, and the test accounts can perform only the actions their role allows.
Verify navigation and inheritance
Walk the pilot product across each version and language and check that navigation, breadcrumbs and table of contents match the model. Confirm that inherited pages show the parent content unless a version overrides it, and that overrides appear only where intended. Make a deliberate change to a parent page and confirm the change flows to child versions as the model expects. Done when each version and language has been opened, and the inheritance results match the list written in the model.
Verify search and run the release checklist
Test search for each version and language, including terms that appear only in one version, and confirm that results do not surface retired or draft content to general readers. Then run a written release checklist covering the items above: platform line and extension versions, statuses, roles, navigation, inheritance, search, backups and the rollback steps. Record the results and the names of the people who signed off. Done when the checklist is complete with no open items, and the pilot is accepted as the template for the remaining products.
Moving from Scroll Versions without copying every version by hand
The first decision in a Scroll Versions move is which versions deserve to exist in XWiki at all. Most documentation sets carry many releases that customers no longer run, and copying each one as a separate space multiplies the content you must review, translate and maintain. Before any import, list the versions still under support, the ones customers still read, and the ones you only need as archived history. Model the supported versions as branches of one Book Versions book, and decide which older releases stay in a read-only archive or in the Confluence source. Ask who signs off on that list, since it defines the scope of the whole project.
Inheritance is where most of the copying effort disappears. Book Versions lets a newer version inherit pages from its parent, so a page that is identical across releases is written once and overridden only where a release differs. Run a comparison of the Confluence pages you plan to migrate and group pages that differ in a few paragraphs rather than in their whole structure. Pilot one book with two or three versions and check that inherited content, variants and statuses display as you expect before you scale. Treat the pilot as a test of your modeling choices, not only of the import.
Attachments and page history need explicit answers before the bulk run. Confirm with the importer's documentation whether it preserves page history, attachment history, attachment binaries, and the users and permissions that protect each version, because the answers differ by tool and by version of the source. Confluence-specific migration tooling is a separate question from the Book Versions design, so verify what the chosen importer keeps for your source and your Confluence release, and record any gaps as accepted risks. A pilot book also gives you a clean rollback point: if the importer drops something you need, you have lost one book, not the whole documentation set.
Access, publication and audit controls for versioned docs
Versioned documentation mixes public readers, customers and internal authors, and each group needs different access to draft and released content. The cards below cover the controls that decide who sees which version, who can publish it, how changes are traced and how the content is recovered after a failure.
Rights per space and book
Set view, edit and admin rights on the space or book that holds each product's documentation, not only on individual pages, so new pages inherit the right model. Decide whether authors can edit every version or only the version they own. Check that rights set on the book do not conflict with rights on the parent space, because XWiki evaluates rights through its hierarchy and group membership. Confirm the rule in your own instance with a test user in each group.
XWiki ProWho can publish a version
Publishing a version is a decision separate from editing its content. Name a small group of release owners who can move a version from draft to released, and keep product managers and writers out of that group unless they are meant to approve their own work. Record this as a written step in your release procedure, since the platform will not enforce the business sign-off by itself. Confirm how your chosen book setup exposes the status change and who can make it.
Guest and customer reader limits
Customers and guests should see only released versions of a product, never drafts or the next release in progress. Plan this with separate groups for external readers, view-only rights on released content, and no edit rights on any version. Test the boundary by logging in as an external account and browsing version selectors, search results and direct URLs to draft pages. Confirm the behavior with your XWiki version, since guest and external access rules depend on how the wiki is configured.
Audit history for published pages
XWiki keeps a version history for each page, which records who changed content and when. For published documentation, use that history to answer which text a customer read on a given date and who approved a change. Decide how long history is kept and whether any changes need a separate change log outside the wiki. Check that history survives your planned upgrades and backup restores, and confirm what the history records for attachments and moved pages in your version.
Database and attachment backups
Page content lives in the database, while uploaded files such as images, PDFs and downloadable manuals are stored as attachments, so a backup must capture both together. Take them at the same point in time so that a restored page does not point to a missing file or an older attachment. Schedule restore tests into a separate environment and record how long a restore takes. Confirm the backup method against the database variant and storage location your deployment uses.
XWiki Docker image docsLimits to confirm in your environment before committing to a version model
How many versions and languages can one XWiki instance handle before performance drops?
No limit is published for this combination, so you need to measure it in your own environment. Performance depends on how many pages each version duplicates, how many translations exist per page, how many attachments are stored, and how heavily readers search and browse. Build a test copy with a realistic page count for your largest product, add the planned versions and languages, then run page loads, saves and searches at expected concurrency. Ask XWiki SAS whether a separate search server is advisable at your size, and ask your DeployOpen scoping contact to include this load test in the written scope so the results are recorded before rollout.
Does search in XWiki return results from every version and language?
Confirm this with a test before assuming it, because the default search scope may not match how readers expect to filter by version or language. Create a term that exists only in an older version and a term that exists only in a translation, then check whether each query returns the right pages, whether results show the version they belong to, and whether readers can narrow results to one product line. Also check how search handles pages that are superseded or retired. Put the results in your acceptance criteria, and confirm the behavior with the extension maintainers and XWiki SAS support if the defaults do not fit.
Will the version book extension work with my chosen XWiki line?
Compatibility is set by the extension release and the XWiki line, so check both together. XWiki publishes a stable line, a long term support line and an intermediate LTS line, and the official Docker tags at the time of research were 18.8.0 for stable, 17.10.14 for LTS and 18.4.7 for the intermediate LTS. Read the compatibility statement for each extension version in the XWiki Store, then pin one tested combination of XWiki image and extension versions. Ask the extension maintainers or XWiki SAS to confirm support for your target line in writing, and note which combinations your test environment has actually run.
How does an XWiki upgrade affect book structure and version inheritance?
An upgrade can change how the extension stores version relationships, variants and reused content, so verify these before the production upgrade. Take a backup, restore it to a separate environment, run the upgrade there, and compare a sample of books across every version. Check that inherited pages still resolve to their parent version, that variant pages keep their conditions, and that reused content still renders in each language. Review the extension release notes for data migration steps, and ask whether any step needs a downtime window. Keep the restored copy until the upgraded system has passed your checks.
Do the available page statuses match our documentation publishing workflow?
Map each step your team uses, such as draft, technical review, approval, publication and retirement, to a status the extension provides, and record any step that has no direct match. Gaps are common when a team has a legal review or a translation sign-off that the default statuses do not model. For each gap, decide whether a tag, a page field or a separate approval process is acceptable, and who will enforce it. Walk the mapping with the people who approve releases and the people who translate, because they will notice missing steps that engineers miss. Confirm the final status model with the extension maintainers before you write the publishing guide.
Can we limit access to unreleased versions and keep them away from external readers?
Test this directly, because read rights for a version are often set at the space or page level and can be inherited in ways that expose drafts. Create an unreleased version, then sign in as an internal writer, an internal reader, a guest and an external user, and confirm what each can see in navigation, search results, page history and direct links. Check attachments and translations separately, since they can have their own rights. If your organization has a partner extranet, confirm that no version is visible there until its status allows it. Record the results and repeat the test after every upgrade.
What does a version model cost to run, and which parts recur?
The costs fall into three groups: the one-time build and testing, the hosting and storage that grow with each version and language, and the support subscription that recurs. XWiki SAS publishes subscription tiers by user count, Starter for up to 25 users on XWiki Cloud only, Basic for up to 1,000 users, Business for up to 10,000 users and Enterprise for unlimited users, and it states that cloud and on-premises pricing is the same (xwiki.com pricing). It also lists consulting at 1200 EUR per day, which requires a Business or Enterprise support plan. Ask for the build, test and upgrade effort as separate line items in any quote.
Who should confirm these limits, and what should we ask for in writing?
Split the questions by owner. XWiki SAS or the extension maintainers should confirm version support, search behavior and upgrade notes. Your documentation owner should confirm the publishing statuses and approval steps, and your security team should confirm reader rights and external access. Ask each owner for a written answer tied to a specific XWiki line and extension version, because general statements drift as releases change. If you engage DeployOpen, the written scope should name the load test, the search and permission checks, the upgrade rehearsal and the status mapping as deliverables, with each one's acceptance criteria listed before work starts.
How versions, variants and publication fit together
The diagram starts in the editor area, where a product book holds one version tree. Each version inherits pages from the version before it, so only changed pages need new content. Language variants and reusable content feed into those pages. Each page moves through statuses from draft to approved, and only approved pages reach the reader-facing release. The trust boundary sits at publication: editors work in the wiki, while readers see only what was released. Check that draft content cannot be reached through links, search or attachments.
Editors build and approve versioned pages; only released content reaches readers.
How DeployOpen scopes and delivers versioned documentation on XWiki
DeployOpen approaches versioned product documentation on XWiki as a written, fixed-scope piece of work inside infrastructure you control. We agree which product versions, languages and content reuse rules the Book Versions setup must cover, then build, test and document the publishing workflow so your documentation team can run it after handover.
How we scope
- Inventory the product versions, languages and release branches the documentation must cover today
- Agree in writing how version inheritance, variants and statuses map to your release model
- Confirm which content will be reused across versions and which must stay version-specific
- Define the hosting target, XWiki edition and database choice before any build starts
- Set the deliverables, timeline and acceptance criteria in a fixed-scope document you approve
How we build
- Install XWiki in your environment with the Book Versions extension configured for your structure
- Model books, versions and languages so each product release inherits the right pages
- Build templates and macros for reusable content, status labels and version-specific notices
- Test publishing, navigation and search across at least two product versions and languages
- Document the content model and the steps to add a new version or translation
How we hand over
- Deliver a runbook covering version creation, branching, status changes and content reuse rules
- Train authors and reviewers on the workflow with your own product documentation as examples
- Provide the configuration, deployment notes and backup steps for the wiki instance
- Walk through open questions with your documentation and platform owners before sign-off
- Confirm the handover checklist against the written scope and record any agreed exceptions
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after handover
- Plan XWiki upgrades and extension updates so version-specific publishing keeps working
- Review new product releases and advise on when to create a version or retire an old one
- Ask for a quote that separates one-time build work from recurring retainer support
- Confirm support terms, response expectations and upgrade scope in writing before work starts

