Gerrit/Tutorial/tl;dr

This is a very short guide to using Git and Gerrit for MediaWiki development. To quickly get a fully configured virtual machine with MediaWiki and the latest source code, see MediaWiki-Vagrant. For more details, see Gerrit/Tutorial.

First steps: Get the code:
 * Install and configure Git
 * Create an SSH key
 * Create a developer account
 * Log in and add your public key to gerrit and to wikitech.
 * Install git-review


 * or

Write and send new code:

Go to Gerrit, click your change and write a reviewer name in the input box near the "Add Reviewer" button. If you don't know who to invite, try the maintainer for the component you've edited, or ask on IRC.

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

To test or otherwise work with other people's code, just follow the same steps to amend a change described above, using the corresponding.

For more complex tasks and workflows, see Gerrit/Advanced usage.