Wiki source code of Download XWiki - copy

Last modified by Thiago Krieck on 2026/09/18 15:04

Show last authors
1 {{include reference="Download-XWiki-copy.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', 'Best for production and enterprise environments prioritizing stability and long-term security fixes.'],
9 'midLTS': ['Intermediate Long Term Support', 'info', 'Stable version with new features. Recommended for new production installations.'],
10 'stable': ['Stable', 'success', 'Best for teams wanting the latest stable enhancements without waiting for an LTS cycle.'],
11 'development': ['Development', 'default', 'Builds for contributors, testers, and exploring cutting-edge features.'],
12 'cristal': ['Cristal', 'default', 'For testing the decoupled, client-side rendered UI.']
13 })
14 ## ################################################################
15 ## Generate the versions layout filtered by type
16 ## ################################################################
17 #macro(downloadVersionsFiltered $versions $versionDetails $allowedTypes)
18 (% class='download-options' %)(((
19 #foreach($version in $versions)
20 #set ($typeId = $version.get(2))
21
22 #if ($allowedTypes.contains($typeId))
23 (% class='col-xs-12 download-container download-option version-option border-$typeId' %)
24 (((
25
26 ## 1. Name of the version
27 === $versionDetails.get($typeId)[0] ===
28
29 ## 2. Description of the version (Text + Features list)
30 $versionDetails.get($typeId)[2]
31
32 ----
33 ## (Optional warnings before buttons)
34 #if ($version.size() >= 6)
35 (% class="noitems version-warning" %)
36 $version.get(5)
37 #end
38
39 (% class='version-line' %)
40 (((
41 (% class='version-badge' %)((($version.get(0))))(% class='version-date' %)((($datetool.format('dd MMMM yyyy', $version[1]))))
42 )))
43
44 $version.get(4)
45
46 ## 4. Download and release notes (same line)
47 (% class='version-footer' %)((([[Download>>.DownloadVersion||class="btn btn-${versionDetails.get($typeId)[1]}" queryString="projectVersion=${version.get(0)}"]][[Release Notes>>$version.get(3)||class='btn btn-link']])))
48 )))
49 #end
50 #end
51 )))
52 #end
53 {{/velocity}}
54
55 (% class="lead" %)
56 Deploy XWiki on your own infrastructure with our official distribution packages, WAR archives, and container images.
57
58 Select an **LTS** release for production stability, or grab a **Stable** build to try out the newest features. You can also help us test bleeding edge versions by checking our **Development** builds.
59
60 (% class="small" %)Need help getting started? Check our [[Installation Guide>>doc:documentation.xs.admin.installation.WebHome]] and review the [[System Requirements>>doc:documentation.xs.admin.installation.prerequisites.WebHome]]
61
62
63 {{velocity}}
64 ## Pass an array of stable type IDs
65 #set ($stableTypes = ['LTS'])
66 #downloadVersionsFiltered($versions, $versionDetails, $stableTypes)
67 {{/velocity}}
68
69 == Other Stable Releases ==
70
71 {{velocity}}
72 ## Pass an array of stable type IDs
73 #set ($stableTypes = ['midLTS', 'stable'])
74 #downloadVersionsFiltered($versions, $versionDetails, $stableTypes)
75 {{/velocity}}
76
77 == Development Releases ==
78
79
80 {{velocity}}
81 ## Pass an array of development type IDs
82 #set ($devTypes = ['development', 'cristal'])
83 ##set ($devTypes = ['cristal'])
84 #downloadVersionsFiltered($versions, $versionDetails, $devTypes)
85 {{/velocity}}
86
87 (% 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.
88
89 (% 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