Wiki source code of Page History

Last modified by Eleni Cojocariu on 2026/11/24 18:37

Show last authors
1 In XWiki everything is historized: each time a Page is saved the wiki keeps the previous state as a version, so earlier states of the content stay available. The versions of a Page are listed in its [["History" tab>>doc:documentation.xs.user.page-history.history-tab.WebHome]] at the bottom of the Page, which is where you [[view the history of a Page>>doc:documentation.xs.user.page-history.view-history.WebHome]].
2
3 == Version Numbers ==
4
5 A version number is two numbers separated by a dot, ##<Major>.<Minor>##. Saving a [[major version>>doc:documentation.xs.user.page-history.major-minor-versions.WebHome]] increases the first number and resets the second to ##1##; saving a [[minor edit>>doc:documentation.xs.user.page-history.minor-edits.WebHome]] only increases the second. You choose between the two when you save, so the history records not only what changed but how much the author judged it mattered.
6
7 That choice reaches beyond the number: a minor edit is left out of notifications, of activity streams and of RSS feeds by default.
8
9 == Reading the History ==
10
11 From the history of a Page you can:
12
13 * [[open a previous version>>doc:documentation.xs.user.page-history.previous-versions.WebHome]] and read the Page as it was;
14 * [[compare two versions>>doc:documentation.xs.user.page-history.compare-page-versions.WebHome]] and see what changed between them, in the [[comparison view>>doc:documentation.xs.user.page-history.compare-page-versions.compare-versions-view.WebHome]].

Get Connected