MediaWiki Packagist/ru
Appearance
From mediawiki.org
This page is a translated version of the page MediaWiki Packagist and the translation is 33% complete.
Languages:
Статус релиза: стабильная |
|
|---|---|
| Реализация | Plugin for third party software |
| Описание | Allows you to download MediaWiki extensions using Composer |
| Автор(ы) | Pierre Rudloff (Rudloff talk ) |
| Последняя версия | 1.0.0 |
| Лицензия | GPL-3.0 |
| Скачать | https://mwpackagist.netlib.re/ |
MediaWiki Packagist mirrors the MediaWiki extension and skin directories as a Composer repository.
Как я могу этим пользоваться?
- 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/orskins/
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" } }
Доступные расширения
Вы можете найти список всех доступных расширений (и их версии): https://mwpackagist.netlib.re/repo/
Участие
You can get the code and report issues on GitHub.