- This article is now published.
New book dives into the architecture of MediaWiki, git, puppet and other open-source applicationsEdit
The Architecture of Open-Source Applications is a collection of technical essays detailing the architecture of twenty-four major open-source applications. This is the second volume of a series that aims to help developers understand how great and large programs are constructed, and the decisions (or accidents) that led to the way they now work. The series draws inspiration from books used by architects that feature case studies of the great buildings of history.
This volume contains a chapter detailing the inner workings of MediaWiki, the wiki software that powers all Wikimedia sites, including Wikipedia.
The writing of the chapter was coordinated by myself and Sumana Harihareswara. While I put together the majority of the content, it wouldn't have been possible without the initial knowledge-sharing effort made by many Wikimedia engineers and volunteer MediaWiki developers, who also reviewed and improved the several revisions the text underwent.
The chapter on MediaWiki is available on the book's website, along with the other chapters from both volumes. Its content was integrated into the documentation on mediawiki.org (at MediaWiki history and Manual:MediaWiki architecture) when it was completed in November 2011.
Greg Wilson and Amy Brown, the book's editors, contacted the Wikimedia Foundation in August 2011 to offer to feature MediaWiki in the second volume. We chose a very collaborative approach to writing the chapter to ensure that the content was accurate and thorough, and also to split the workload among subject matter experts.
All of the book's content is released under the Creative Commons Attribution license, similar to the license used on Wikimedia sites. It is freely available for reading online at http://www.aosabook.org, and you can also order a print from lulu.com. E-book and PDF versions will be available for purchase shortly. All royalties from purchases are donated to Amnesty International.
This is the second book published this year that contains a chapter written by Wikimedia staff, after the publication of Open Advice, a collection of essays, stories and lessons learned by members of the Free Software community.
I hope the chapter on MediaWiki, and also the rest of the book, will prove useful and interesting to the Wikimedia community and other developers. If you enjoyed it, learned from it, or would like to see more publications of this type, let us know!
Technical communications manager