Template:WikimediaDownload

Category:Semi-protected templates#WikimediaDownload
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}}

TemplateData

[view · talk · edit]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

WikimediaDownload

Category:Templates using TemplateData

Standardized download links for extensions in Wikimedia version control.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Extension Name1

The name of the extension without the “Extension:” namespace prefix.

Default
{{PAGENAME}}
Lineoptional
Phabricator Repository Short Namephab

The short 4-letter name of the repository on Phabricator.

Example
ESHG
Linesuggested
No Extension Distributor?nosnapshot

Whether to hide the link to [[Special:ExtensionDistributor]].

Default
0
Auto value
1
Booleanoptional
Disable Code Review?disabled

Whether code review on Gerrit is disabled.

Default
0
Auto value
1
Booleanoptional
Template Modetemplatemode

Set to “nocats” to hide categories.

Suggested values
nocats
Stringoptional
Serverserver

no description

Suggested values
svn gerrit gerritonly
Stringoptional
Category:Link templates Category:Git Category:Extensions in Wikimedia version control#*

See also

Category:Template documentation pages

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

Category:Link templates#WikimediaDownload Category:Git Category:Extensions in Wikimedia version control#*
Category:Extensions in Wikimedia version control Category:Git Category:Link templates Category:Pages using the JsonConfig extension Category:Semi-protected templates Category:Template documentation pages Category:Templates using TemplateData