Page MenuHomePhabricator

Warnings about sites existing or not during update.php
Closed, DuplicatePublic

Description

Seen in Jenkins when running extension tests. Tests continue; the warning seems ugly but fixable though. This might be a configuration issue in CI as well, not necessarily a "bug"

19:52:43 Updated 0  workflows
19:52:43 
19:52:43 Warnings: 0
19:52:43 Array
19:52:43 (
19:52:43 )
19:52:43 
19:52:43 
19:52:43 Failed: 0
19:52:43 Array
19:52:43 (
19:52:43 )
19:52:44 PHP Notice:  Cannot find site mywiki in sites table [Called from Wikibase\Client\WikibaseClient::newSiteGroup in /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/extensions/Wikidata/extensions/Wikibase/client/includes/WikibaseClient.php at line 711] in /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/includes/debug/MWDebug.php on line 311
19:52:44 PHP Stack trace:
19:52:44 PHP   1. {main}() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/maintenance/update.php:0
19:52:44 PHP   2. require_once() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/maintenance/update.php:216
19:52:44 PHP   3. UpdateMediaWiki->execute() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/maintenance/doMaintenance.php:110
19:52:44 PHP   4. LoggedUpdateMaintenance->execute() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/maintenance/update.php:183
19:52:44 PHP   5. FlowCreateTemplates->doDBUpdates() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/maintenance/Maintenance.php:1527
19:52:44 PHP   6. FlowCreateTemplates->create() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/extensions/Flow/maintenance/FlowCreateTemplates.php:84
19:52:44 PHP   7. WikiPage->doEditContent() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/extensions/Flow/maintenance/FlowCreateTemplates.php:113
19:52:44 PHP   8. WikiPage->prepareContentForEdit() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/includes/page/WikiPage.php:1655
19:52:44 PHP   9. AbstractContent->getParserOutput() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/includes/page/WikiPage.php:2136
19:52:44 PHP  10. Hooks::run() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/includes/content/AbstractContent.php:501
19:52:44 PHP  11. call_user_func_array() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/includes/Hooks.php:195
19:52:44 PHP  12. Wikibase\Client\Hooks\ParserOutputUpdateHookHandlers::onContentAlterParserOutput() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/includes/Hooks.php:195
19:52:44 PHP  13. Wikibase\Client\Hooks\ParserOutputUpdateHookHandlers::newFromGlobalState() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/extensions/Wikidata/extensions/Wikibase/client/includes/Hooks/ParserOutputUpdateHookHandlers.php:87
19:52:44 PHP  14. Wikibase\Client\WikibaseClient->getLangLinkHandler() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/extensions/Wikidata/extensions/Wikibase/client/includes/Hooks/ParserOutputUpdateHookHandlers.php:66
19:52:44 PHP  15. Wikibase\Client\WikibaseClient->getLangLinkSiteGroup() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/extensions/Wikidata/extensions/Wikibase/client/includes/WikibaseClient.php:824
19:52:44 PHP  16. Wikibase\Client\WikibaseClient->getSiteGroup() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/extensions/Wikidata/extensions/Wikibase/client/includes/WikibaseClient.php:690
19:52:44 PHP  17. Wikibase\Client\WikibaseClient->newSiteGroup() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/extensions/Wikidata/extensions/Wikibase/client/includes/WikibaseClient.php:729
19:52:44 PHP  18. wfWarn() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/extensions/Wikidata/extensions/Wikibase/client/includes/WikibaseClient.php:711
19:52:44 PHP  19. MWDebug::warning() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/includes/GlobalFunctions.php:1141
19:52:44 PHP  20. MWDebug::sendMessage() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/includes/debug/MWDebug.php:166
19:52:44 PHP  21. trigger_error() /mnt/jenkins-workspace/workspace/mediawiki-extensions-php55/src/includes/debug/MWDebug.php:311
19:52:44