Template:WikimediaDownload

From MediaWiki.org
Jump to: navigation, search

Download snapshot
Subversion [Help]
Browse source code
View code changes

[edit] [purge] Template documentation

[edit] Usage

Transclude the template inside an Extension article to create Wikimedia Subversion links. It is specifically designed to provide links for the download argument used in Template:Extension and categorizes into Category:Extensions in Wikimedia version control.

e.g. {{WikimediaDownload|SyntaxHighlight_GeSHi}}

  • Note: Spaces must be padded with '_' underscores.

To change where the download is in Subversion (e.g. if you want to point them to a branched version), you can specify a second parameter with that path

e.g. {{WikimediaDownload|SyntaxHighlight_GeSHi|branches/REL1_16}}

To hide the link to Special:ExtensionDistributor, add the nosnapshot=1 parameter. 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 trunk

e.g. {{WikimediaDownload|SyntaxHighlight_GeSHi|branches/REL1_16|nosnapshot=1}}

[edit] See also

The above documentation is transcluded from Template:WikimediaDownload/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.
Language: English  • Deutsch • Español • Français • 日本語 • 한국어 • मराठी • Polski • Português • Português do Brasil • Русский • Tiếng Việt • 中文 • ‪中文(简体)‬
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Toolbox