Page MenuHomePhabricator

Wikibase CI broken: Use of MediaWiki\Output\OutputPage::setLanguageLinks was deprecated in MediaWiki 1.43. [called from ArticlePlaceholder]
Closed, ResolvedPublic

Description

https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php81/7461/console

1) ArticlePlaceholder\Tests\AboutTopicRendererTest::testTitle
Use of MediaWiki\Output\OutputPage::setLanguageLinks was deprecated in MediaWiki 1.43. [Called from ArticlePlaceholder\AboutTopicRenderer::showLanguageLinks in /workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php at line 281]

/workspace/src/includes/debug/MWDebug.php:386
/workspace/src/includes/debug/MWDebug.php:357
/workspace/src/includes/debug/MWDebug.php:238
/workspace/src/includes/GlobalFunctions.php:782
/workspace/src/includes/Output/OutputPage.php:1608
/workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php:281
/workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php:149
/workspace/src/extensions/ArticlePlaceholder/tests/phpunit/includes/AboutTopicRendererTest.php:96
/workspace/src/extensions/ArticlePlaceholder/tests/phpunit/includes/AboutTopicRendererTest.php:109

2) ArticlePlaceholder\Tests\AboutTopicRendererTest::testLanguageLinks
Use of MediaWiki\Output\OutputPage::setLanguageLinks was deprecated in MediaWiki 1.43. [Called from ArticlePlaceholder\AboutTopicRenderer::showLanguageLinks in /workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php at line 281]

/workspace/src/includes/debug/MWDebug.php:386
/workspace/src/includes/debug/MWDebug.php:357
/workspace/src/includes/debug/MWDebug.php:238
/workspace/src/includes/GlobalFunctions.php:782
/workspace/src/includes/Output/OutputPage.php:1608
/workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php:281
/workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php:149
/workspace/src/extensions/ArticlePlaceholder/tests/phpunit/includes/AboutTopicRendererTest.php:96
/workspace/src/extensions/ArticlePlaceholder/tests/phpunit/includes/AboutTopicRendererTest.php:118

3) ArticlePlaceholder\Tests\AboutTopicRendererTest::testTemplateUsed
Use of MediaWiki\Output\OutputPage::setLanguageLinks was deprecated in MediaWiki 1.43. [Called from ArticlePlaceholder\AboutTopicRenderer::showLanguageLinks in /workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php at line 281]

/workspace/src/includes/debug/MWDebug.php:386
/workspace/src/includes/debug/MWDebug.php:357
/workspace/src/includes/debug/MWDebug.php:238
/workspace/src/includes/GlobalFunctions.php:782
/workspace/src/includes/Output/OutputPage.php:1608
/workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php:281
/workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php:149
/workspace/src/extensions/ArticlePlaceholder/tests/phpunit/includes/AboutTopicRendererTest.php:96
/workspace/src/extensions/ArticlePlaceholder/tests/phpunit/includes/AboutTopicRendererTest.php:126

4) ArticlePlaceholder\Tests\AboutTopicRendererTest::testCreateArticleButton
Use of MediaWiki\Output\OutputPage::setLanguageLinks was deprecated in MediaWiki 1.43. [Called from ArticlePlaceholder\AboutTopicRenderer::showLanguageLinks in /workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php at line 281]

/workspace/src/includes/debug/MWDebug.php:386
/workspace/src/includes/debug/MWDebug.php:357
/workspace/src/includes/debug/MWDebug.php:238
/workspace/src/includes/GlobalFunctions.php:782
/workspace/src/includes/Output/OutputPage.php:1608
/workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php:281
/workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php:149
/workspace/src/extensions/ArticlePlaceholder/tests/phpunit/includes/AboutTopicRendererTest.php:96
/workspace/src/extensions/ArticlePlaceholder/tests/phpunit/includes/AboutTopicRendererTest.php:134

5) ArticlePlaceholder\Tests\AboutTopicRendererTest::testCreateArticleButton_ifLabelIsNotAValidTitle
Use of MediaWiki\Output\OutputPage::setLanguageLinks was deprecated in MediaWiki 1.43. [Called from ArticlePlaceholder\AboutTopicRenderer::showLanguageLinks in /workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php at line 281]

/workspace/src/includes/debug/MWDebug.php:386
/workspace/src/includes/debug/MWDebug.php:357
/workspace/src/includes/debug/MWDebug.php:238
/workspace/src/includes/GlobalFunctions.php:782
/workspace/src/includes/Output/OutputPage.php:1608
/workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php:281
/workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php:149
/workspace/src/extensions/ArticlePlaceholder/tests/phpunit/includes/AboutTopicRendererTest.php:96
/workspace/src/extensions/ArticlePlaceholder/tests/phpunit/includes/AboutTopicRendererTest.php:142

6) ArticlePlaceholder\Tests\AboutTopicRendererTest::testNoCreateArticleButton_ifUserNotAllowedToCreatePage
Use of MediaWiki\Output\OutputPage::setLanguageLinks was deprecated in MediaWiki 1.43. [Called from ArticlePlaceholder\AboutTopicRenderer::showLanguageLinks in /workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php at line 281]

/workspace/src/includes/debug/MWDebug.php:386
/workspace/src/includes/debug/MWDebug.php:357
/workspace/src/includes/debug/MWDebug.php:238
/workspace/src/includes/GlobalFunctions.php:782
/workspace/src/includes/Output/OutputPage.php:1608
/workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php:281
/workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php:149
/workspace/src/extensions/ArticlePlaceholder/tests/phpunit/includes/AboutTopicRendererTest.php:96
/workspace/src/extensions/ArticlePlaceholder/tests/phpunit/includes/AboutTopicRendererTest.php:151

7) ArticlePlaceholder\Tests\AboutTopicRendererTest::testOtherProjectsLinks
Use of MediaWiki\Output\OutputPage::setLanguageLinks was deprecated in MediaWiki 1.43. [Called from ArticlePlaceholder\AboutTopicRenderer::showLanguageLinks in /workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php at line 281]

/workspace/src/includes/debug/MWDebug.php:386
/workspace/src/includes/debug/MWDebug.php:357
/workspace/src/includes/debug/MWDebug.php:238
/workspace/src/includes/GlobalFunctions.php:782
/workspace/src/includes/Output/OutputPage.php:1608
/workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php:281
/workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php:149
/workspace/src/extensions/ArticlePlaceholder/tests/phpunit/includes/AboutTopicRendererTest.php:96
/workspace/src/extensions/ArticlePlaceholder/tests/phpunit/includes/AboutTopicRendererTest.php:159

8) ArticlePlaceholder\Tests\AboutTopicRendererTest::testMetaTags
Use of MediaWiki\Output\OutputPage::setLanguageLinks was deprecated in MediaWiki 1.43. [Called from ArticlePlaceholder\AboutTopicRenderer::showLanguageLinks in /workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php at line 281]

/workspace/src/includes/debug/MWDebug.php:386
/workspace/src/includes/debug/MWDebug.php:357
/workspace/src/includes/debug/MWDebug.php:238
/workspace/src/includes/GlobalFunctions.php:782
/workspace/src/includes/Output/OutputPage.php:1608
/workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php:281
/workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php:149
/workspace/src/extensions/ArticlePlaceholder/tests/phpunit/includes/AboutTopicRendererTest.php:96
/workspace/src/extensions/ArticlePlaceholder/tests/phpunit/includes/AboutTopicRendererTest.php:168

9) ArticlePlaceholder\Tests\Specials\SpecialAboutTopicIntegrationTest::testExecution
Use of MediaWiki\Output\OutputPage::setLanguageLinks was deprecated in MediaWiki 1.43. [Called from ArticlePlaceholder\AboutTopicRenderer::showLanguageLinks in /workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php at line 281]

/workspace/src/includes/debug/MWDebug.php:386
/workspace/src/includes/debug/MWDebug.php:357
/workspace/src/includes/debug/MWDebug.php:238
/workspace/src/includes/GlobalFunctions.php:782
/workspace/src/includes/Output/OutputPage.php:1608
/workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php:281
/workspace/src/extensions/ArticlePlaceholder/includes/AboutTopicRenderer.php:149
/workspace/src/extensions/ArticlePlaceholder/includes/Specials/SpecialAboutTopic.php:167
/workspace/src/extensions/ArticlePlaceholder/includes/Specials/SpecialAboutTopic.php:131
/workspace/src/tests/phpunit/includes/specials/SpecialPageExecutor.php:124
/workspace/src/tests/phpunit/includes/specials/SpecialPageExecutor.php:53
/workspace/src/tests/phpunit/includes/specials/SpecialPageTestBase.php:76
/workspace/src/extensions/ArticlePlaceholder/tests/phpunit/includes/specials/SpecialAboutTopicIntegrationTest.php:127

Presumably caused by https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1149760.

Event Timeline

Change #1154034 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/ArticlePlaceholder@master] Replace setLanguageLinks() with addLanguageLinks()

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

Change #1154036 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/Cognate@master] Replace getLanguageLinks() + setLanguageLinks() with addLanguageLink()

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

The failed build quibble-daily-Cognate-vendor-mysql-php74 #426 may or may not be related too. (I can definitely see the deprecation warnings in the mw-error.log, but I wouldn’t normally expect that to result in “No valid JSON response” errors as seen in the console, so maybe it’s something else.)

Change #1154034 merged by jenkins-bot:

[mediawiki/extensions/ArticlePlaceholder@master] Replace setLanguageLinks() with addLanguageLinks()

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

Sorry for the disruption, I thought I searched before merging but clearly I failed.

Change #1154036 merged by jenkins-bot:

[mediawiki/extensions/Cognate@master] Replace getLanguageLinks() + setLanguageLinks() with addLanguageLink()

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