Closed AID-PMBD closed 3 years ago
I have a similar issue https://github.com/SemanticMediaWiki/semantic-mediawiki.org/issues/87 There is indeed something it the water. Did not dig into it though.
Are there alternative instruction for installation? I guess just downloading the extension files into the extension directory won't work.
No, I am afraid not.
There are no tags (releases) yet. Try to use dev-master
.
Your composer.local.json's require section should look like this:
{
"require": {
"mediawiki/semantic-approved-revs": "dev-master",
}
}
Ah, I did not realize that there is no tag yet. So my issue is different since dev-master cannot be installed.
Thank you, this worked well for me.
Setup and configuration
Issue
When trying to install the extension via composer, as specified in the documentation a error message is shown and the Installation doesn't take place.
composer.local.json entry:
"mediawiki/semantic-approved-revs": "~1.0"
Composer install command:
php composer.phar update --no-dev --prefer-source
Error Message:
Your requirements could not be resolved to an installable set of packages.
Problem 1 - The requested package mediawiki/semantic-approved-revs[dev-master, 0.1.x-dev] could not be found, it looks like its name is invalid, "[, ]" is not allowed in package names.
Potential causes: - A typo in the package name - The package is not available in a stable-enough version according to your minimum-stability setting see https://getcomposer.org/doc/04-schema.md#minimum-stability for more details. - It's a private package and you forgot to add a custom repository to find it