Gerrit/Tutorial/tl;dr

This is a very short guide to using Git and Gerrit for MediaWiki development. For a more thorough guide, see Gerrit/Tutorial.

First steps: Get the code:
 * Install and configure Git; Create an SSH key (steps 1-3, the rest is for GitHub instead of Gerrit); Create a developer account
 * Log in and add your public key to gerrit and to wikitech.
 * Install and set up git-review
 * For MediaWiki core:
 * Or, for an extension:
 * Or, for a skin:

Write and send new code:

Add potential change reviewers:
 * In Gerrit, click your change to open it. 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 IRC.

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.