Template:WikimediaDownload: Difference between revisions

From Bonkipedia
[[mw:]]>Tacsipacsi
(remove white-space:nowrap – if there is a Phabricator link, and the first column of the infobox contains the not-that-short “Database changes” (e.g. Extension:Translate), the infobox can get excessively wide)
 
m (1 revision imported: Template documentation pages)
 
(No difference)

Latest revision as of 18:03, 12 November 2022


Template documentation

Usage

Transclude the template inside an Extension page to create useful links to a Gerrit repository hosted by Wikimedia. It is specifically designed for usage in the download parameter of Template:Extension and categorizes into Category:Extensions in Wikimedia version control .

Spaces must be padded with '_' underscores.

To hide the link to Special:ExtensionDistributor, add set nosnapshot=1. This is useful when an extension only exists in a branch, since currently the ExtensionDistributor would say that the extension doesn't exist due to not being in master.

{{WikimediaDownload|SyntaxHighlight_GeSHi}}

{{WikimediaDownload|SyntaxHighlight_GeSHi|nosnapshot=1}}

{{WikimediaDownload|SyntaxHighlight_GeSHi|disabled=1}}

{{WikimediaDownload|SyntaxHighlight_GeSHi|phab=ESHG}}

See also

Maintenance: server=svn, server=gerrit, server=gerritonly,