MediaWiki Packagist

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page MediaWiki Packagist and the translation is 28% complete.

Other languages:
English • ‎dansk • ‎español • ‎polski • ‎português • ‎русский • ‎فارسی • ‎ไทย • ‎中文 • ‎日本語 • ‎한국어
MediaWiki ツールのマニュアル
Crystal Clear action run.png
MediaWiki Packagist
リリースの状態: 安定
実装 Plugin for third party software
説明 Allows you to download MediaWiki extensions using Composer
作者 Pierre Rudloff (Rudlofftalk)
最新バージョン 0.1.4
ライセンス GPL-3.0
ダウンロード https://mwpackagist.netlib.re/

MediaWiki Packagist mirrors the MediaWiki extension and skin directories as a Composer repository.

使用するには

  1. Add the repository to your composer.json
  2. Add the desired extensions and skins to your requirements using mediawiki as the vendor name.
  3.  Run composer update
  4.  Packages are installed to extensions/ or skins/

If you need a base setup to install the MediaWiki core with Composer, you can clone this repository.

バージョン

MediaWiki extensions usually provide a branch for each of the maintained MediaWiki version. We convert these branches into a semantic version number. So you need to use your current MediaWiki version (e.g. 1.26) as version constraint for your extensions in your composer.json.

composer.json の例

{
	"name": "acme/mediawiki-example",
	"description": "My MediaWiki site",
	"license": "proprietary",
	"repositories": [{
		"type": "composer",
		"url": "https://mwpackagist.netlib.re/"
	}],
	"require": {
		"mediawiki/AJAXPoll": "~1.26.0",
		"mediawiki/BlueSky": "~1.26.0"
	}
}

利用できる拡張機能

You can find the list of all the available extensions (and their versions) in MediaWiki's extension distributor.

Contributing

You can get the code and report issues on GitHub.