Gerrit

Code review is at the heart of our development process. Any software contribution to 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 Gerrit users can review contributions but only maintainers have the special rights to approve or reject them.
Getting started[edit | edit source]
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 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 or its shorter version.
Your help reviewing changes is welcome! Learn how.
Tutorials & guidelines[edit | edit source]
Other useful documentation written for MediaWiki & Wikimedia developers:
- Setting up Vagrant virtual machine development environment.
- Commit message guidelines
- Code review guide
- Gerrit interface navigation
- Gerrit's documentation
- Searching in Gerrit
- Advanced usage
Special cases[edit | edit source]
See also[edit | edit source]
- List of the public Gerrit projects
- Technical information about Wikimedia's Gerrit installation
- Report bugs/other issues with Git or Gerrit
- bug 35497 - Implement a way to bring GitHub pull requests into Gerrit.
- G2G, a set of scripts that make Gerrit / GitHub interoperability possible.
- sync-gerrit.bash script to move GitHub pull requests to Gerrit Changeset manually (discussion).
- Gerrit Patch Uploader
- grrrit-wm
- Gerrit Notification Bot