Difference between revisions 2818486 and 2869848 on mediawikiwiki<languages /> : "Јер mediawiki верзија 1.19beta2, 1.18.2, 1.17.3, језгра mediawiki и додатака користе [[$Special:MyLanguage/Gerrit|у гит]] за контролу верзије. За старије верзије, погледајте [[$SVN|са субверзија]]" (contracted; show full) Да бисте инсталирали ове неопходне библиотеке, имате избор: <div class="mw-translate-fuzzy"> * [https://getcomposer.org/doc/00-intro.md#globally преузмите и инсталирајте композитор], пребаците на ваш главни директоријум и покрените <code>composer update --no-dev</code>. </div> * Or, if you don't want to use Composer or if you want to use the exact same set of vendor libraries as used on the WMF production cluster, you can instead <code>git clone https://gerrit.wikimedia.org/r/p/mediawiki/vendor.git</code> to create a <code>vendor/</code> directory inside the core folder of your MediaWiki installation. Note that if any of your extensions have their own Composer requirements, then '''you can not use this option'''. <div class="mw-translate-fuzzy"> (contracted; show full) : ''<EXT> should be replaced with the name of the extension you want to download, without spaces. For [[Special:MyLanguage/Extension:TitleKey|Extension:TitleKey]], it would be TitleKey. (case sensitive!)'' Download and clone an extension from Git: {{#tag:syntaxhighlight| cd /path/to/extensions git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/<EXT> .git --branch {{MW stable branch git}} |lang=bash}} [[Special:MyLanguage/Developer account|Developers]] clone with: {{#tag:syntaxhighlight| git clone ssh://<USERNAME>@gerrit.wikimedia.org:29418/mediawiki/extensions/<EXT>.git --branch {{MW stable branch git}} |lang=bash}} You can view extension source code in [https://gerrit.wikimedia.org/r/plugins/gitiles/ Gerrit's gitiles] application, and at the URL: <pre style="white-space: pre-wrap;"> https://gerrit.wikimedia.org/g/mediawiki/extensions/<EXT>/+/refs/heads/master </pre> === Download all extensions === If you prefer to have ''all'' MediaWiki extensions that are at gerrit.wikimedia.org checked out to your machine, enter the following: {{#tag:syntaxhighlight| git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions.git --branch {{MW stable branch git}} cd extensions git submodule update --init --recursive |lang=bash}} Thereafter, to update all extensions to their latest versions of that branch, just enter: <syntaxhighlight lang="bash"> (contracted; show full) * [[Special:MyLanguage/Migrating from SVN to Git|Migrating from SVN to Git]] * [[Special:MyLanguage/Nightlies|Nightlies]], an alternate to downloading from Git * [[Special:MyLanguage/Intranet/Intranet Installation|Intranet/Intranet Installation]], part of a fully worked series of articles that uses Git for Mediawiki deployment [[Category:MediaWiki development{{#translation:}}]] [[Category:MediaWiki Introduction{{#translation:}}]] [[Category:Installation{{#translation:}}]] [[Category:Git{{#translation:}}]] All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://mediawiki.org/w/index.php?diff=prev&oldid=2869848.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|