jenkins-bot has submitted this change and it was merged. Change subject: Add path argument to runChild for populateSitesTable ......................................................................
Add path argument to runChild for populateSitesTable might not be super elegant but runChild supports this and think it works. tried it out with https://phabricator.wikimedia.org/P2571 Bug: T122513 Change-Id: I3affd6b0a8bc0820743de1d7537e9040fdf6fdca --- M addWiki.php 1 file changed, 5 insertions(+), 1 deletion(-) Approvals: Alex Monk: Looks good to me, approved jenkins-bot: Verified diff --git a/addWiki.php b/addWiki.php index a639bef..7dc3966 100644 --- a/addWiki.php +++ b/addWiki.php @@ -195,7 +195,11 @@ $searchIndex->execute(); # Populate sites table - $sitesPopulation = $this->runChild( 'Wikibase\PopulateSitesTable' ); + $sitesPopulation = $this->runChild( + 'Wikibase\PopulateSitesTable', + __DIR__ . '/../Wikidata/extensions/Wikibase/lib/maintenance/populateSitesTable.php' + ); + $sitesPopulation->mOptions[ 'site-group' ] = $site; $sitesPopulation->mOptions[ 'force-protocol' ] = 'https'; $sitesPopulation->execute(); -- To view, visit https://gerrit.wikimedia.org/r/268585 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3affd6b0a8bc0820743de1d7537e9040fdf6fdca Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/WikimediaMaintenance Gerrit-Branch: master Gerrit-Owner: Aude <[email protected]> Gerrit-Reviewer: Addshore <[email protected]> Gerrit-Reviewer: Alex Monk <[email protected]> Gerrit-Reviewer: Chad <[email protected]> Gerrit-Reviewer: JanZerebecki <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
