Page MenuHomePhabricator

FlaggedRevs CI is broken
Closed, ResolvedPublic

Description

https://gerrit.wikimedia.org/r/c/mediawiki/extensions/FlaggedRevs/+/1061135

57 x ParserOutput::addJsConfigVars was deprecated in MediaWiki 1.38 . Example:

04:03:08 57) MediaWiki\Extension\DiscussionTools\Tests\CommentFormatterTest::testAddDiscussionToolsInternal with data set #56 ('Heading with inline styles (parsoid)', 'Talk:Heading_with_styles', 'cases/heading-style-parsoid/h...d.html', 'cases/heading-style-parsoid/h...y.html', '../data/enwiki-config.json', '../data/enwiki-data.json', false, false)
04:03:08 Use of MediaWiki\Parser\ParserOutput::addJsConfigVars was deprecated in MediaWiki 1.38. [Called from MediaWiki\Extension\DiscussionTools\CommentFormatter::addDiscussionToolsInternal in /workspace/src/extensions/DiscussionTools/includes/CommentFormatter.php at line 420]

Event Timeline

Change #1061139 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/FlaggedRevs@master] FlaggablePageView: Switch from deprecated addJsConfigVars to new setJsConfigVar

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

Change #1061139 abandoned by Jforrester:

[mediawiki/extensions/FlaggedRevs@master] FlaggablePageView: Switch from deprecated addJsConfigVars to new setJsConfigVar

Reason:

Oops, wrong repo, this was right.

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

Change #1061140 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/DiscussionTools@master] CommentFormatter: Switch from deprecated addJsConfigVars to new setJsConfigVar

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

Change #1061140 merged by jenkins-bot:

[mediawiki/extensions/DiscussionTools@master] CommentFormatter: Switch from deprecated addJsConfigVars to new setJsConfigVar

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