Template:WikimediaDownload/doc

From MediaWiki.org
Jump to: navigation, search

[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

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Toolbox