Gerrit



Code review is at the heart of our development process. Any software contribution to whatis>Special:MyLanguage/Manual:What is MediaWiki?|MediaWiki or any other Wikimedia hosted project is reviewed and approved at gerrit.wikimedia.org before being merged to our Git repositories. The tool we use to handle code reviews is Gerrit.

All dev-access>Special:MyLanguage/Developer access|Gerrit users can review contributions but only maintainers>Developers/Maintainers|maintainers have the plus2>Gerrit/+2|special rights to approve or reject them.

Getting started
To quickly get a functioning pre-configured development installation of MediaWiki, including a virtual machine, MediaWiki source code, as well as all prerequisites and (optionally) various extensions, see MediaWiki-Vagrant. This is the recommended way of getting started with MediaWiki development.

To simply browse & fork our code you can use the [https://github.com/wikimedia GitHub mirror].

To make an anonymous git clone of core MediaWiki you can clone from https://gerrit.wikimedia.org/r/p/mediawiki/core.git or https://git.wikimedia.org/git/mediawiki/core.git

To submit your first patch check the tutorial>Gerrit/Tutorial|tutorial or its getting-started>Gerrit/Getting started|shorter version.

Your help reviewing changes is welcome! tutorial>Gerrit/Tutorial#How we review code|Learn how.

Tutorials & guidelines
Other useful documentation written for MediaWiki & Wikimedia developers:


 * Setting up Vagrant virtual machine development environment.
 * Commit message guidelines
 * Code review guide
 * Gerrit interface navigation
 * [https://gerrit.wikimedia.org/r/Documentation/index.html Gerrit's documentation]
 * [https://gerrit.wikimedia.org/r/Documentation/user-search.html</> Searching in Gerrit]
 * Advanced usage

Special cases

 * Requesting new repositories
 * Project owners
 * Reviewers with merging rights