3use Composer\Package\Link;
4use Composer\Package\Package;
5use Composer\Semver\Constraint\Constraint;
22 $this->
package = $package;
32 $this->package->setProvides( [
$link ] );
40 self::MEDIAWIKI_PACKAGE_NAME,
43 $version->getPrettyString()
50 $mvVersion = $this->versionFetcher->fetchVersion();
51 $mvVersion = $this->versionNormalizer->normalizeSuffix( $mvVersion );
53 $version =
new Constraint(
55 $this->versionNormalizer->normalizeLevelCount( $mvVersion )
57 $version->setPrettyString( $mvVersion );
const MEDIAWIKI_PACKAGE_NAME
__construct(Package $package, ComposerVersionNormalizer $versionNormalizer, MediaWikiVersionFetcher $versionFetcher)
setLinkAsProvides(Link $link)
getMediaWikiVersionConstraint()
usually copyright or history_copyright This message must be in HTML not wikitext & $link