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
<templatedata> { "description": { "en": "Template for the download section of extensions that are in the WMF Git repo.", "cs": "Šablona pro stahování částí rozšíření, které jsou v repozitáři WMFs.", "de": "Vorlage für den Download-Abschnitt von Erweiterungen, die im Git-Repository der WMF sind.", "fr": "Modèle pour la section « Téléchargement » des extensions qui sont dans le dépôt Git de la Wikimedia Foundation", "hu": "Ez a sablon azon kiterjesztések letöltés szakaszában használandó, amik a WMF Git-tárolójában találhatók.", "id": "Templat untuk bagian pengunduhan dari ekstensi yang terdapat di repo Git WMF.", "ja": "WMF (ウィキメディア財団) の Git リポジトリにある拡張機能のダウンロード節で使用するテンプレート。", "pt-br": "Predefinição para a seção de download de extensões que estão no repositório Git do WMF.", "ru": "Шаблон для раздела загрузки расширений, который находятся на Git репозиториях WMF.", "sv": "Mall för nedladdningsavsnittet för vissa tillägg som ligger i WMF:s Git-förvar.", "tr": "WMF Git repo içindeki uzantıların indirme bölümünün şablonu." }, "params": { "1": { "label": { "en": "Git name", "cs": "název Git", "de": "Git-Name", "hu": "Git-név" }, "description": { "en": "Extension name as in the Git repo", "cs": "Název rozšíření stejný jako v repozitáři Git", "de": "Name der Erweiterung, wie im Git-Repository", "fr": "Nom de l’extension dans le dépôt Git", "hu": "Kiterjesztésnév a Git-tárolóban", "id": "Nama ekstensi sebagaimana yang ada di repo Git", "ja": "Git リポジトリ内での拡張機能名。", "pt-br": "Nome da extensão como no repositório Git", "ru": "Название расширения в git репозитории", "sv": "Tilläggsnamn som det står i Git-förvaret", "tr": "Git deposundaki gibi uzantı adı" }, "type": "line", "example": "SemanticMediaWiki" }, "2": { "label": { "en": "directory name", "cs": "název adresáře", "de": "Verzeichnisname", "hu": "könyvtárnév" }, "description": { "en": "Extension directory as in a MediaWiki install", "cs": "Adresář rozšíření jako v instalaci MediaWiki", "de": "Verzeichnis der Erweiterung, wie bei der MediaWiki-Installation", "fr": "Répertoire de l'extension dans une installation de MediaWiki", "hu": "A kiterjesztés könyvtárának neve telepítés után", "id": "Direktori ekstensi sebagaimana yang ada di instalasi MediaWiki", "ja": "MediaWiki インストールでの拡張機能のディレクトリ名。", "pt-br": "Diretório de extensão como em uma instalação do MediaWiki", "ru": "Каталог расширения в MediaWiki", "sv": "Tilläggskatalog som det står i en MediaWiki-installation", "tr": "Bir MediaWiki kurulumunda olduğu gibi uzantı dizini" }, "type": "line", "example": "SemanticMediaWiki" } } } </templatedata>
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