Template:WikimediaGitCheckout
The extension can be retrieved directly from Git [?]:
- Browse code
- Some extensions have tags for stable releases.
- Browse tags
- Select the tag
- Click "snapshot"
- Each branch is associated with a past MediaWiki release. There is also a "master" branch containing the latest alpha version (might require an alpha version of MediaWiki).
- Browse branches
- Select a branch name
- Click "⧼extdist-submit-version⧽"
Extract the snapshot and place it in the extensions/WikimediaGitCheckout/ directory of your MediaWiki installation.
If you are familiar with Git and have shell access to your server, you can also obtain the extension as follows:
cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WikimediaGitCheckout.git
Template for the download section of extensions that are in the WMF Git repo.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Git name | 1 | Extension name as in the Git repo
| Line | optional |
directory name | 2 | Extension directory as in a MediaWiki install
| Line | optional |
Examples
Defaults
{{WikimediaGitCheckout|Collection}}
<translate> The extension can be retrieved directly from Git</translate> [?]:
- <translate> Browse code</translate>
- <translate> Some extensions have tags for stable releases.</translate>
- <translate> Browse tags</translate>
- <translate> Select the tag</translate>
- <translate> Click "snapshot"</translate>
- <translate> Each branch is associated with a past MediaWiki release.</translate> <translate> There is also a "master" branch containing the latest alpha version (might require an alpha version of MediaWiki).</translate>
- <translate> Browse branches</translate>
- <translate> Select a branch name</translate>
- <translate> Click "<tvar name=1>⧼extdist-submit-version⧽</tvar>"</translate>
<translate> Extract the snapshot and place it in the <tvar name=name>extensions/Collection/</tvar> directory of your MediaWiki installation.
If you are familiar with Git and have shell access to your server, you can also obtain the extension as follows: </translate>
cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Collection.git
Specific parameters
{{WikimediaGitCheckout|Collection|ExampleTitle}}
<translate> The extension can be retrieved directly from Git</translate> [?]:
- <translate> Browse code</translate>
- <translate> Some extensions have tags for stable releases.</translate>
- <translate> Browse tags</translate>
- <translate> Select the tag</translate>
- <translate> Click "snapshot"</translate>
- <translate> Each branch is associated with a past MediaWiki release.</translate> <translate> There is also a "master" branch containing the latest alpha version (might require an alpha version of MediaWiki).</translate>
- <translate> Browse branches</translate>
- <translate> Select a branch name</translate>
- <translate> Click "<tvar name=1>⧼extdist-submit-version⧽</tvar>"</translate>
<translate> Extract the snapshot and place it in the <tvar name=name>extensions/ExampleTitle/</tvar> directory of your MediaWiki installation.
If you are familiar with Git and have shell access to your server, you can also obtain the extension as follows: </translate>
cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Collection.git ExampleTitle
See also
- {{WikimediaDownload}} — Use this in the {{Extension}} infobox
- {{ExtensionInstall}} — Use this in the Install section on your documentation page