Page MenuHomePhabricator

SemanticMediaWiki role fails
Closed, ResolvedPublic

Description

I have a working vagrant box. Then when I add the role:

vagrant roles enable semanticmediawiki
vagrant provision

It spins for a while on composer, and then I get

==> default: Notice: /Stage[main]/Mediawiki/Exec[update_all_databases]/returns: PHP Fatal error:  Cannot override final method Job::getTitle() in /vagrant/mediawiki/extensions/SemanticMediaWiki/src/MediaWiki/Job.php on line 20

I'm trying to use your nice vagrant environment to experiment with some SMW stuff, and it's inspired me to join the project. So I'll see if I can make any progress on a fix here.

The semanticmediawiki.pp role itself looks very simple, so I'm guessing it's some kind of lifecycle thing where the enableSemantics call has to happen before the Exec['update_all_databases'] runs. Again, very new but familiar with puppet, so I'll take a stab at this unless it's an obvious fix for one of you experts.

Event Timeline

dgfitch created this task.Apr 30 2019, 8:36 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 30 2019, 8:36 PM
Kghbln added a subscriber: Kghbln.Apr 30 2019, 9:19 PM

A change in MediaWiki core recently caused things to break. See this SMW issue on GitHub for further information and context.

Kghbln closed this task as Resolved.May 16 2019, 7:53 AM
Kghbln removed dgfitch as the assignee of this task.

I believe this is resolved now, so things should work again with the upcoming SMW 3.1.0 and MediaWiki 1.33.0 releases.