Template:DownloadGitSnapshot: Difference between revisions

From Bonkipedia
[[mw:]]>Shirayuki
(use translation aware transclusion)
 
m (1 revision imported: Template documentation pages)
 
(No difference)

Latest revision as of 18:04, 12 November 2022


Download DownloadGitSnapshot

Template documentation

Usage

We now use GitHub for our download's which means for example mediawiki/extensions/ becomes mediawiki-extensions same goes for skins and names of repos for a slash.

Transclude the template inside an Extension page to create useful links to download snapshot from repository hosted by Wikimedia. It is specifically designed for usage in the section Download instructions.

  • Note: Spaces must be padded with '_' underscores.
Code Preview
{{DownloadGitSnapshot|Interwiki}}
<translate> Download <tvar
{{DownloadGitSnapshot|Interwiki|head=REL1_17}}
<translate> Download <tvar
{{DownloadGitSnapshot|1=Interwiki|2=-= Get latest snapshot =-}}
-= Get latest snapshot =-
{{DownloadGitSnapshot|erudite|base=mediawiki/skins}}
<translate> Download <tvar
{{DownloadGitSnapshot|erudite|Download Erudite 1.6|base=mediawiki/skins|commit=v1.6}}
Download Erudite 1.6