Hello!
I am trying to install with composer, but the problem is that this extension requires composer/installers 1.*,>=1.0.1. Version 1 is deprecated, and many other extensions do not support this anymore, for example external-data:
Problem 1 - composer/installers v1.0.22 requires composer-plugin-api 1.0.0 -> found composer-plugin-api[2.3.0] but it does not match the constraint. - composer/installers[v1.0.23, ..., v1.8.0] require composer-plugin-api ^1.0 -> found composer-plugin-api[2.3.0] but it does not match the constraint. - Root composer.json requires mediawiki/external-data dev-REL1_39 -> satisfiable by mediawiki/external-data[dev-REL1_39]. - mediawiki/page-forms[5.6, ..., 5.6.1] require composer/installers 1.*,>=1.0.1 -> satisfiable by composer/installers[v1.0.1, ..., v1.12.0]. - You can only install one version of a package, so only one of these can be installed: composer/installers[v1.0.0, ..., v1.12.0, v2.2.0]. - mediawiki/external-data dev-REL1_39 requires composer/installers ~2.1 -> satisfiable by composer/installers[v2.1.0, v2.1.1, v2.2.0]. - Root composer.json requires mediawiki/page-forms 5.6.* -> satisfiable by mediawiki/page-forms[5.6, 5.6.1].
I think in composer.json you should change the requirements to:
"require": {
"php": ">=5.5.9",
"composer/installers": "^2.2.0|1.*,>=1.0.1"
},It is working fine for me, here is a fork with the changed requirements: https://github.com/markus-96/mediawiki-extensions-PageForms/commit/672fbe462902fea7924510e8fba50044d10172ae
for testing, you may add this to your composer.json:
{
"require": {
...
"mediawiki/page-forms": "dev-master as 5.6.*",
...
},
"repositories": [
{
"type": "git",
"url": "https://github.com/markus-96/mediawiki-extensions-PageForms.git"
}
]
}