Gerrit/Tutorial/tl;dr/ru


 *  This is a very short (tl;dr) how-to guide to using Git and Gerrit for MediaWiki development.  За руководством, которое включает в себя пояснения, обратитесь к .

Первые шаги:
 * Установите и настройте Git. Создайте SSH-ключ (для Gerrit'а достаточно 1–3 шагов). Создайте учётную запись разработчика Викимедиа.
 * Log in and add your public key to gerrit.
 * Also add your public key to LDAP using the toolsadmin interface or Special:NovaKey on wikitech.

Get the code:
 * For MediaWiki core:
 * Or, for an extension:
 * Or, for a skin:

Write and send new code:


 * If you receive errors with the "-R" switch you may be using out of date "gerrit-tools" instead of "git-review"
 * If you receive errors with the "-R" switch you may be using out of date "gerrit-tools" instead of "git-review"
 * If you receive errors with the "-R" switch you may be using out of date "gerrit-tools" instead of "git-review"
 * If you receive errors with the "-R" switch you may be using out of date "gerrit-tools" instead of "git-review"
 * If you receive errors with the "-R" switch you may be using out of date "gerrit-tools" instead of "git-review"
 * If you receive errors with the "-R" switch you may be using out of date "gerrit-tools" instead of "git-review"
 * If you receive errors with the "-R" switch you may be using out of date "gerrit-tools" instead of "git-review"
 * If you receive errors with the "-R" switch you may be using out of date "gerrit-tools" instead of "git-review"

Add potential change reviewers:


 * On Gerrit, click your change. Under "Reviewers", click the "Add Reviewer" button. Write a reviewer name in the input box. If you don't know who to invite for reviewing, try the maintainer for the component you've edited, or ask on.

If the reviewer asks you to make a change, make it and amend your commit:



To review other people's code, just follow the same steps to amend a change described above, using the corresponding.