Template:WikimediaGitCheckout

From Bonkipedia
Revision as of 23:27, 29 October 2022 by [[mw:]]>Shirayuki (to change the style of cd)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


The extension can be retrieved directly from Git [?]:

  • Browse code
  • Some extensions have tags for stable releases.
  • 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).

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 documentation

Template for the download section of extensions that are in the WMF Git repo.

Template parameters

ParameterDescriptionTypeStatus
Git name1

Extension name as in the Git repo

Example
SemanticMediaWiki
Lineoptional
directory name2

Extension directory as in a MediaWiki install

Example
SemanticMediaWiki
Lineoptional

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> 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> 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> 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> 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