Page MenuHomePhabricator

Problem with the documentation of mediawiki-extensions-WikibaseQualityConstraints
Closed, InvalidPublicBUG REPORT

Description

In the current readme (https://github.com/wikimedia/mediawiki-extensions-WikibaseQualityConstraints) there is written:

Run php maintenance/run.php extensions/WikibaseQualityConstraints/maintenance/ImportConstraintStatements.php.

This is not working for me. In the history i found:

Run php maintenance/runScript.php extensions/WikibaseQualityConstraints/maintenance/ImportConstraintStatements.php

which is working for me. Maybe already preparing for a new Mediwiki version?

We are using 1.38.5.

Maybe two instructions have to be indicated based on the version?

Event Timeline

Maybe two instructions have to be indicated based on the version?

If you’re using an older version of MediaWiki, you should use the corresponding branch of WikibaseQualityConstraints as well (REL1_38 in this case). The master branch only works with latest MediaWiki, and in this case assumes the existence of the run.php maintenance script runner that was introduced for T99268 during the MediaWiki 1.40 development cycle. (I think there are also other things that will break if you try to use the current master branch with MediaWiki 1.38.)

ok, sorry, did not know this .... We cloned the extension for the right release from here:

https://www.mediawiki.org/wiki/Extension:WikibaseQualityConstraints

so this is ok. I think I landed there because in the extention page:

https://www.mediawiki.org/wiki/Extension:WikibaseQualityConstraints

has no documentation (just to explain why I made this error)

Merci
D063520