Gerrit/Tutorial/tl;dr


 *  This is a very short (tl;dr) how-to guide to using Git and Gerrit for MediaWiki development. For a tutorial which includes explanations, see . 

First steps:


 * [https://help.github.com/articles/set-up-git Install and configure Git]. [https://help.github.com/articles/generating-ssh-keys Create an SSH key] (steps 1-3, the rest is for GitHub instead of Gerrit).  1>wikitech:Special:CreateAccount|Create a Wikimedia developer account.


 * Log in and add your public key [https://gerrit.wikimedia.org/r/#/settings/ssh-keys to gerrit]


 * Also add your public key to LDAP using any of:
 * the wikitech NovaKey page


 * toolsadmin interface

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

Write and send new code:

1>Special:MyLanguage/Gerrit/Code review/Getting reviews|Add potential change reviewers:


 * In 1>gerrit:|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 1>Special:MyLanguage/Developers/Maintainers|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 1>Special:MyLanguage/Gerrit/Code review|review other people's code, just follow the same steps to amend a change described above, using the corresponding.