Difference between revisions 2075782 and 2093442 on mediawikiwiki

<languages/>
: "Јер mediawiki верзија 1.19beta2, 1.18.2, 1.17.3, језгра mediawiki и додатака користе [[$Special:MyLanguage/Gerrit|у гит]] за контролу верзије. За старије верзије, погледајте [[$SVN|са субверзија]]"

(contracted; show full)Ако имате [[Special:MyLanguage/Developer access|Девелопер приступ]] (који је лако да затражи), уместо клонирање анонимно са https, морате да клона са својим путем SSH "<КОРИСНИК>" тако да можете да замислите промене за коментар:

{{#tag:source|
git clone ssh://<Корисничко име>@gerrit.wikimedia.org:29418/mediawiki/core.git
}}

* {{git file|action=tree|project=mediawiki/core|branch=master|text=Погледајте најновији изворни код}}



{{anchor|Fetch external libraries}}
==== Узорак спољних библиотека ====

Почевши са mediawiki 1.25, неким страним библиотекама да mediawiki захтева више у то "језгро" гит гит.
Ми користимо [http://getcomposer.org/ композитор], да их управљају.
Да бисте инсталирали ове библиотеке је потребно, имате избор:

(contracted; show full)git pull
git submodule update --init --recursive
</source>

To track a specific branch:

{{#tag:source|
git submodule foreach 'git checkout -b {{MW stable release git}} origin/{{MW stable release git}} 
||{{!}}{{!}} :'
|lang=bash}}

If you only need a read-only checkout (for instance to grep or analyse all MediaWiki code), you can use the [[wikitech:Help:Shared_storage#/shared/mediawiki/|shared MediaWiki checkout on Labs]], without downloading anything on your machines.

=== Remove an extension ===

Just remove the extension folder and remove the "<code>require_once &hellip;</code>" from <code>LocalSettings.php</code>.

== Using Git to download MediaWiki skins ==

: [https://gerrit.wikimedia.org/r/#/admin/projects/?filter=mediawiki%252Fskins%252F List of skins in git]

MediaWiki 1.24 and later don't include skins in the Git download.

Follow the exact same procedure as for extensions (described in the previous section), but using <code>skins</code> rather than <code>extensions</code> in all URLs and paths.

Detailed installation instructions are available on each skin's page here on MediaWiki.org, for example see [[Special:MyLanguage/Skin:Vector#Installation|Skin:Vector#Installation]]. Instructions for all other skins are analogous.

== See also ==

* [[Special:MyLanguage/Migrating from SVN to Git|Migrating from SVN to Git]]
* [[Special:MyLanguage/Nightlies|Nightlies]], an alternate to downloading from Git

== References ==
<references />

[[Category:MediaWiki development{{translation}}]]
[[Category:MediaWiki Introduction{{translation}}]]
[[Category:Installation{{translation}}]]
[[Category:Git{{translation}}]]