Extension:Distribution

This extension is the realization of a deployment repository for MediaWiki, and will work together with the Deployment extension, which will use this API to enable package based installation and updating of MediaWiki installations. You can read more about the deployment effort on the deployment page.

Development plans
See /plans.

Database schema

 * distribution_units: This table stores non-version specific info of ‘release units’ . Currently these unit’s are extensions only – the reason I went for a more general name is to allow for adding other things such as skins and content packages later on. The info here consist of a name, a URL, a description and a pointer to the “current version”.
 * distribution_unit_versions: Entries in this table contain info about a specific version of a ‘release unit’. The info here consists of a version number, release status (beta, rc, stable, deprecated, …), release data, authors, description and some installation data.
 * distribution_mwreleases: This table contains MediaWiki releases. It has been merged in from MWReleases.
 * distribution_packages: This table is not in use yet, and needs some more work. The goal is to be able to install a “package” onto your wiki which can contain multiple ‘distribution units’. This would basically be the same as Semantic Bundle is doing now, but a lot easier to set up and maintain.

ApiQueryExtensions
Returns a list of extensions matching certain search criteria, which can include keywords, tags and authors. Only extensions with a version that has a release state acceptable for your installation are returned.

ApiMWReleases
Gets the current MediaWiki releases. This has been merged in from MWReleases.

ApiUpdates
This API module returns update information for the extensions you give it, and does the same for MediaWiki itself if a core version number is provided. The only info that’s returned is a version number for each unit or core, if there is an update. Otherwise nothing will be returned for that unit or core.