I'm not sure is it a bug or I'm doing something wrong but after the command composer require mediawiki/semantic-media-wiki "~2.5" --update-no-dev
when I'm running php $IP/maintenance/updae.php
this message appears:
mediawiki/semantic-media-wiki: 2.5.0 installed, ~2.5 required. Error: your composer.lock file is not up to date. Run "composer update" to install newer dependencies
This problem was solved when I changed 'semantic-media-wiki' directive in composer.json
from:
"mediawiki/semantic-media-wiki": "~2.5"
to:
"mediawiki/semantic-media-wiki": "2.5.0"
It it the right solution?