Page MenuHomePhabricator

Another Wikidata issue with addWiki: Cannot spawn child: PopulateSitesTable
Closed, ResolvedPublic

Description

Cannot spawn child: PopulateSitesTable

Fatal error: Class 'PopulateSitesTable' not found in /srv/mediawiki-staging/php-1.27.0-wmf.9/maintenance/Maintenance.php on line 510

Event Timeline

Krenair raised the priority of this task from to High.
Krenair updated the task description. (Show Details)
Krenair added a subscriber: Krenair.

@demon, you added this code in https://gerrit.wikimedia.org/r/#/c/208168/... Perhaps we need to autoload this class?

It actually looks like it's autoloaded, the autoload.classmap in composer.json includes "repo/maintenance/".

I bet we actually need to swap WikimediaMaintenance to use Wikibase\PopulateSitesTable instead.

Change 268464 had a related patch set uploaded (by Alex Monk):
Try to fix addWiki.php: Manually AutoLoad PopulateSitesTable

https://gerrit.wikimedia.org/r/268464

Change 268464 merged by jenkins-bot:
addWiki: Add Wikibase namespace to PopulateSitesTable call

https://gerrit.wikimedia.org/r/268464

Change 268585 had a related patch set uploaded (by Aude):
Add path argument to runChild for populateSitesTable

https://gerrit.wikimedia.org/r/268585

Change 268585 merged by jenkins-bot:
Add path argument to runChild for populateSitesTable

https://gerrit.wikimedia.org/r/268585

Krenair added a subscriber: aude.

That should do it. Thanks @aude

Krenair set Security to None.