Developer hub

This is a high-level overview of MediaWiki development, including links to the key documents, resources and tools available to MediaWiki developers. It is written for skilled LAMP developers who have experience using MediaWiki.


 * If you want to use Wikimedia web APIs, visit  (work in progress).
 * If you want to contribute to developing Wikimedia software, see .
 * For an introductory guide to developing MediaWiki and MediaWiki extensions, read .
 * If you want to collaborate with other third-party MediaWiki users, the  (MWStake) is a MediaWiki 2>Special:MyLanguage/Groups|user group consisting of MediaWiki developers, system administrators, users, consultants, and hosting providers.

Overview
MediaWiki is the software that powers Wikipedia, its sister projects and thousands of wikis all over the world.

MediaWiki is written in the [https://php.net PHP] programming language. It uses jQuery as the client JavaScript library.

MediaWiki is primarily written for the LAMP platform and runs on most operating systems. MediaWiki primarily uses the MySQL and MariaDB database servers.

Development happens in an open source style, is largely coordinated online, and supported by the Wikimedia Foundation, though volunteer community developers play a huge part as well.


 * Development discussion happens on various 1>Special:MyLanguage/Mailing lists|mailing lists and 2>Special:MyLanguage/MediaWiki on IRC|IRC channels. The main developer list is wikitech-l. The main developer IRC channels are #mediawiki</> and <tvar|3>#wikimedia-dev</>.


 * Source code is managed using the Git version control system.


 * Code review for most projects is performed on <tvar|2></>. 1>Gerrit/Tutorial</>|Follow this tutorial to set up Git and Gerrit in order to submit patches.


 * Bug reports and tasks for most projects are managed on <tvar|1></>.


 * Developers extending or interfacing with MediaWiki (instead of working on the core code) have several convenient extension points, including the 2>Special:MyLanguage/API:Main page</>|API, the 1>Special:MyLanguage/Manual:Hooks</>|Hooks system and 3>Special:MyLanguage/Manual:Skins</>|Skins – see the 4>#Extending MediaWiki</>|#Extending MediaWiki section of this page for an overview.

Extending MediaWiki
MediaWiki has been designed to allow for modification without changing the "core code". This makes it easy to update to a new version of MediaWiki without having to manually merge in old extension code changes. There are six main extension points that allow developers to change or extend what MediaWiki can do. The extension points are:


 * 1>Special:MyLanguage/API:Action API</>|API – access the data and metadata of MediaWiki instances through its web API.
 *  – every time a given event happens, do something.
 *  – create a new command like: <tvar|1> </>.
 *  – change the look and feel of MediaWiki.
 *  – add a new special page.
 *  – create a new tag like: <tvar|1> </>.
 *  – add a parser hook to modify the content of wikitext.