MediaWiki Packagist
![]() 发布状态: 稳定版 |
|
---|---|
实现 | Plugin for third party software |
描述 | 允许您使用Composer下载MediaWiki扩展 |
作者 | Pierre Rudloff (Rudlofftalk) |
最新版本 | 1.0.0 |
许可 | GPL-3.0 |
下载 | https://mwpackagist.netlib.re/ |
MediaWiki Packagist mirrors the MediaWiki extension and skin directories as a Composer repository.
How do I use it?
- Add the repository to your composer.json
- Add the desired extensions and skins to your requirements using mediawiki as the vendor name.
- Run composer update
- 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): https://mwpackagist.netlib.re/repo/
贡献
You can get the code and report issues on GitHub.