Wiki source code of Download XWiki

Last modified by Simon Urli on 2026/01/08 17:19

Show last authors
1 {{include reference="Download.Versions"/}}
2
3 {{velocity}}
4 #set ($showChangeRequestTab = false)
5 ## ##########################################################################################################
6 ## $versionDetails = TypeID: Name (0) - Button Style (1) - Notes (2)
7 #set ($versionDetails = {
8 'LTS': ['Long Term Support', 'primary', 'This version is the latest stable version from the last XWiki cycle. This is the most stable version and is what we recommend to use in production.'],
9 'midLTS': ['Intermediate Long Term Support', 'info', 'This version is the latest stable version of the mid-cycle. This is a very stable version that we recommend if you want a stable version with new features. We recommend it for new production installations.'],
10 'stable': ['Stable', 'success', 'This version is the latest stable version from the current XWiki cycle. This is the version recommended if you wish to try out the newest features from the cycle.'],
11 'development': ['Development', 'default', 'This version is the latest development version from the current XWiki cycle. This is the version to use if you want to test the really latest feature and provide feedback. Not for production.']
12 })
13 ## ################################################################
14 ## Generate the versions layout
15 ## ################################################################
16 #macro(downloadVersionsLayout $versions $versionDetails)
17 (% class='download-options' %)(((
18 #foreach($version in $versions)
19 (% class='col-xs-12 download-container download-option version-option border-$version.get(2)' %)
20 (((
21 (% class="download-version fill-$version.get(2)"%)$version.get(0)(% class='noitems pull-right'%)$datetool.format('dd MMMM yyyy', $version[1])
22 === $versionDetails.get(${version.get(2)})[0] ===
23
24 $version.get(4)
25
26 (% class='noitems' %)$versionDetails.get(${version.get(2)})[2]
27 (% class='version-footer' %)((([[Download>>.DownloadVersion||class="btn btn-${versionDetails.get(${version.get(2)})[1]}" queryString="projectVersion=${version.get(0)}"]][[Release Notes>>$version.get(3)||class='btn btn-link']])))
28 #if ($version.size() >= 6)
29 (% class="noitems version-warning" %)
30 $version.get(5)
31 #end
32 )))
33 #end
34 )))
35 #end
36 #downloadVersionsLayout($versions, $versionDetails)
37 {{/velocity}}
38
39 (% class="noitems" %)Interested in testing the latest snapshots builds or older versions? See [[more versions>>Download.DownloadOther]]. You can also use a [[Hosted version of XWiki>>Hosted]] instead of installing it yourself.
40
41 (% class="noitems" %)If you're interested to know the XWiki versioning and support strategies, please check: [[Versioning Strategy>>doc:dev:Community.VersioningAndReleasePractices.WebHome]] & [[Support Strategy>>xwiki:Main.Support||anchor="HSupportedVersions"]].

Get Connected