Difference between revisions of "Template:Dl"

From CRIU
Jump to navigation Jump to search
(fixed to use github.com/checkpoint-restore/criu/archive/vXXX/criu-XXX.tar.gz instead of codeload. This fixes the file name when using wget.)
(fixed link to criu 2.x)
 
Line 11: Line 11:
 
! Wiki code !! Result
 
! Wiki code !! Result
 
|-
 
|-
| <code><nowiki>{{Dl|2.3.1}}</nowiki></code> || {{Dl|2.3.1}}
+
| <code><nowiki>{{Dl|2.3}}</nowiki></code> || {{Dl|2.3}}
 
|-
 
|-
 
| <code><nowiki>{{Dl|3.14}}</nowiki></code> || {{Dl|3.14}}
 
| <code><nowiki>{{Dl|3.14}}</nowiki></code> || {{Dl|3.14}}

Latest revision as of 16:41, 23 September 2021


This produces a download link for a given version.

  • for releases < 3, it links to download.openvz.org (interwiki dl:), and uses tar.bz2.
  • for releases >= 3, it links to github.org (interwiki github:), and uses tar.gz.

Examples[edit]

Wiki code Result
{{Dl|2.3}} criu-2.3.tar.bz2
{{Dl|3.14}} criu-3.14.tar.gz