[Wikidata-bugs] [Maniphest] [Commented On] T201615: Wikibase on Vagrant: Class 'Wikibase\DataModel\Entity\ItemId' not found

2018-10-09 Thread gerritbot
gerritbot added a comment. Change 463585 merged by jenkins-bot: [mediawiki/vagrant@master] Add composer include file for Wikibase https://gerrit.wikimedia.org/r/463585TASK DETAILhttps://phabricator.wikimedia.org/T201615EMAIL

[Wikidata-bugs] [Maniphest] [Commented On] T201615: Wikibase on Vagrant: Class 'Wikibase\DataModel\Entity\ItemId' not found

2018-09-28 Thread gerritbot
gerritbot added a comment. Change 463585 had a related patch set uploaded (by Smalyshev; owner: Smalyshev): [mediawiki/vagrant@master] Add composer include file for Wikibase https://gerrit.wikimedia.org/r/463585TASK DETAILhttps://phabricator.wikimedia.org/T201615EMAIL

[Wikidata-bugs] [Maniphest] [Commented On] T201615: Wikibase on Vagrant: Class 'Wikibase\DataModel\Entity\ItemId' not found

2018-08-24 Thread WMDE-leszek
WMDE-leszek added a comment. At WMDE we're realistically going to work on making Wikibase use extension.json earliest in September. This should fix the vagrant role, and other issues that have been pointed out above. As there is a workaround in place, and the impact of this issue does not seem

[Wikidata-bugs] [Maniphest] [Commented On] T201615: Wikibase on Vagrant: Class 'Wikibase\DataModel\Entity\ItemId' not found

2018-08-22 Thread Jdlrobson
Jdlrobson added a comment. I also just hit this issue and it broke our staging environment. I've applied the local json fix for the time being from @Smalyshev to restore it.TASK DETAILhttps://phabricator.wikimedia.org/T201615EMAIL

[Wikidata-bugs] [Maniphest] [Commented On] T201615: Wikibase on Vagrant: Class 'Wikibase\DataModel\Entity\ItemId' not found

2018-08-20 Thread Smalyshev
Smalyshev added a comment. I think if we want to support this pattern (working only via parent composer) there should be some class or option in Vagrant that does it. But if enabling local composer on Wikibase is not too much trouble, I think this should be an option too, at least for now.TASK

[Wikidata-bugs] [Maniphest] [Commented On] T201615: Wikibase on Vagrant: Class 'Wikibase\DataModel\Entity\ItemId' not found

2018-08-20 Thread Tgr
Tgr added a comment. Handling this in Vagrant is not hard, but Vagrant is not the only one using separate composer install commands per extension; some wikifarms do that due to composer being unwieldy with lots of dependencies. So it would be better if Wikibase supported that pattern, or

[Wikidata-bugs] [Maniphest] [Commented On] T201615: Wikibase on Vagrant: Class 'Wikibase\DataModel\Entity\ItemId' not found

2018-08-16 Thread WMDE-leszek
WMDE-leszek added a comment. Apologies for late response. If it is possible to fairly easy adjust mw vagrant and wikibase role, so that composer.local.json is utilized, that would be a preferred way from my perspective. That said, I have to admit that WMDE we've move away from vagrant, and would

[Wikidata-bugs] [Maniphest] [Commented On] T201615: Wikibase on Vagrant: Class 'Wikibase\DataModel\Entity\ItemId' not found

2018-08-13 Thread Tgr
Tgr added a comment. Vagrant throws this every time it tries to do something with MediaWiki (that is, run some maintenance script) so the full log is not super useful. As I said, this is caused by extensions/Wikibase/vendor/autoload.php not being loaded. The way Vagrant is set up (and many

[Wikidata-bugs] [Maniphest] [Commented On] T201615: Wikibase on Vagrant: Class 'Wikibase\DataModel\Entity\ItemId' not found

2018-08-13 Thread WMDE-leszek
WMDE-leszek added a comment. I tried to figure out what could have happened wrong here, but I am actually not sure. both wikibase_repo and wikidata roles include mediawiki::extension { 'Wikibase': composer => true, needs_update => true, } Unless I understand it wrong, "composer =>

[Wikidata-bugs] [Maniphest] [Commented On] T201615: Wikibase on Vagrant: Class 'Wikibase\DataModel\Entity\ItemId' not found

2018-08-09 Thread WMDE-leszek
WMDE-leszek added a comment. this is likely related to recent change in Wikibase. using compser merge plugin and composer.local.json would be a way to go now. Will try to follow up on this bug soon (it's end of work day for me now).TASK DETAILhttps://phabricator.wikimedia.org/T201615EMAIL